Changeset 5859 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 01/16/05 17:34:30 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/calibration.C
r5811 r5859 83 83 using namespace std; 84 84 85 static TString outpath = "./"; 86 static TString inpath = "/home/rootdata/Calib/2004_09_22"; 85 static TString outpath = "."; 86 //static TString inpath = "/home/rootdata/Calib/2004_07_06"; 87 //static TString inpath = "/home/rootdata/Calib/2004_09_22"; 88 static TString inpath = "/home/rootdata/Calib/2004_12_18"; 87 89 static TString badfile; 88 90 //static TString badfile = "badpixels_only0_388_559.dat"; … … 134 136 static Bool_t useIntensity = kFALSE; 135 137 // 138 // Tell if you to calibrated interlaced calibration events 139 // 140 static Bool_t useInterlaced = kTRUE; 141 // 136 142 // Tell if you want to store and read the F0 and F1- files 137 143 // 138 static Bool_t useStorage = kTRUE;144 static Bool_t useStorage = kTRUE; 139 145 // 140 146 // Tell which extractor you want to use. The flags are counted according … … 209 215 210 216 MJPedestal pedloop1; 211 pedloop1.SetNoStorage( !useStorage);217 pedloop1.SetNoStorage(); 212 218 pedloop1.SetEnvDebug(debug); 213 219 pedloop1.SetExtractor(extractor); … … 239 245 240 246 pedloop2.SetUseData(); 241 pedloop2.SetNoStorage( !useStorage);247 pedloop2.SetNoStorage(); 242 248 pedloop2.SetEnvDebug(debug); 243 249 pedloop2.SetExtractor(extractor); … … 365 371 calibloop.SetExtractor(extractor); 366 372 calibloop.SetInput(&druns); 367 // calibloop.SetOutputPath(outpath);373 calibloop.SetPathOut(outpath); 368 374 if (useDisplay) 369 375 calibloop.SetDisplay(display); 370 376 calibloop.SetBadPixels(calloop.GetBadPixels()); 371 377 calibloop.SetNoStorage(!useStorage); 378 calibloop.SetInterlaced(useInterlaced); 372 379 373 380 if (!calibloop.ProcessFile(pedloop1.GetPedestalCam(),timeandcharge ? pedloop2.GetPedestalCam() : pedloop1.GetPedestalCam(), calloop.GetCalibrationCam(),calloop.GetQECam(), calloop.GetRelTimeCam()))
Note:
See TracChangeset
for help on using the changeset viewer.