Changeset 9552 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 02/23/10 10:43:20 (15 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MAGIC.cc
r9518 r9552 40 40 bool MARS::CheckRootVer() 41 41 { 42 if (strcmp(gROOT->GetVersion(), "5.22/00")>0 )42 if (strcmp(gROOT->GetVersion(), "5.22/00")>0 && strcmp(gROOT->GetVersion(), "5.26/00")<0) 43 43 { 44 44 cout << "WARNING - Especially root 5.24/00 has a severe bug in projection 2D histograms" << endl; -
trunk/MagicSoft/Mars/mbase/MGMap.cc
r9195 r9552 158 158 void MGMap::Delete(Option_t *) 159 159 { 160 #if ROOT_VERSION_CODE < ROOT_VERSION(5,26,00) 160 161 Long_t key, val; 162 #else 163 Long64_t key, val; 164 #endif 165 161 166 TExMapIter map(this); 162 167 while (map.Next(key, val)) … … 424 429 void MGMap::Paint(Option_t *) 425 430 { 431 #if ROOT_VERSION_CODE < ROOT_VERSION(5,26,00) 426 432 Long_t key, val; 433 #else 434 Long64_t key, val; 435 #endif 436 427 437 TExMapIter map(this); 428 438 while (map.Next(key, val)) … … 441 451 scale /= TMath::Hypot((float)w, (float)h)/2; 442 452 453 #if ROOT_VERSION_CODE < ROOT_VERSION(5,26,00) 443 454 Long_t key, val; 455 #else 456 Long64_t key, val; 457 #endif 458 444 459 TExMapIter map(this); 445 460 while (map.Next(key, val)) … … 458 473 TObject *MGMap::PickObject(Int_t px, Int_t py, TString &str) const 459 474 { 475 #if ROOT_VERSION_CODE < ROOT_VERSION(5,26,00) 460 476 Long_t key, val; 477 #else 478 Long64_t key, val; 479 #endif 480 461 481 TExMapIter map(this); 462 482 while (map.Next(key, val)) … … 500 520 Int_t min = INT_MAX; 501 521 522 #if ROOT_VERSION_CODE < ROOT_VERSION(5,26,00) 502 523 Long_t key, val; 524 #else 525 Long64_t key, val; 526 #endif 527 503 528 TExMapIter map(this); 504 529 while (map.Next(key, val)) -
trunk/MagicSoft/Mars/mbase/MObjLookup.cc
r8930 r9552 44 44 TExMapIter iter(&fMap); 45 45 46 Long_t key; 47 Long_t value; 46 #if ROOT_VERSION_CODE < ROOT_VERSION(5,26,00) 47 Long_t key, value; 48 #else 49 Long64_t key, value; 50 #endif 48 51 49 52 while (iter.Next(key, value))
Note:
See TracChangeset
for help on using the changeset viewer.