Changeset 17870 for trunk/Mars/fact
- Timestamp:
- 05/16/14 14:53:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/fact/analysis/mc/callisto.C
r17736 r17870 4 4 #include "MLog.h" 5 5 #include "MLogManip.h" 6 7 #if !defined(__CINT__) || defined(__MAKECINT__) 6 8 7 9 #include "TH1F.h" … … 47 49 #include "MWriteAsciiFile.h" 48 50 51 #endif 52 49 53 using namespace std; 50 54 … … 115 119 116 120 // map file to use (get that from La Palma!) 117 const char * map = usemap ? "TestForThomas/FACT/FACTmap111030.txt" : NULL;121 const char *pmap = usemap ? "TestForThomas/FACT/FACTmap111030.txt" : NULL; 118 122 119 123 Bool_t maximum = kTRUE; … … 164 168 // ====================================================== 165 169 166 if ( map && gSystem->AccessPathName(map, kFileExists))170 if (pmap && gSystem->AccessPathName(pmap, kFileExists)) 167 171 { 168 gLog << err << "ERROR - Cannot access mapping file '" << map << "'" << endl;172 gLog << err << "ERROR - Cannot access mapping file '" << pmap << "'" << endl; 169 173 return 1; 170 174 } … … 357 361 358 362 MRawFitsRead read3; 359 read3.LoadMap( map);363 read3.LoadMap(pmap); 360 364 read3.AddFile(pedfile); 361 365 … … 448 452 449 453 MRawFitsRead read4; 450 read4.LoadMap( map);454 read4.LoadMap(pmap); 451 455 read4.AddFile(pedfile); 452 456 … … 533 537 MRawFitsRead read5a; 534 538 MReadMarsFile read5b("Events"); 535 read5a.LoadMap( map);539 read5a.LoadMap(pmap); 536 540 read5a.AddFile(datfile); 537 541 read5b.DisableAutoScheme();
Note:
See TracChangeset
for help on using the changeset viewer.