- Timestamp:
- 04/28/04 10:10:25 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3858 r3860 18 18 19 19 -*-*- END OF LINE -*-*- 20 2004/04/28: Markus Gaug 21 22 * macros/calibrate_data.C 23 - fixed a bug in loop 3 taking the default QE Cam instead of the 24 one filled by MJCalibration 25 26 20 27 2004/04/27: Raquel de los Reyes 21 28 -
trunk/MagicSoft/Mars/macros/calibrate_data.C
r3832 r3860 24 24 \* ======================================================================== */ 25 25 26 const TString defpath = "/ mnt/Data/rootdata/CrabNebula/2004_01_27/";26 const TString defpath = "/home/rootdata/Calib/2004_04_16/"; 27 27 const TString defrout = "output_test.root"; 28 28 29 const Int_t defpedr [] = { 12461};30 const Int_t defcalr [] = { 12526,12527,12528,12529};31 const Int_t defdatar[] = { 12517,12518};29 const Int_t defpedr [] = {22265}; 30 const Int_t defcalr [] = {22300}; 31 const Int_t defdatar[] = {22300}; 32 32 33 33 void calibrate_data(const TString inpath=defpath, 34 34 const Int_t psize=1, const Int_t pedruns[]=defpedr, 35 const Int_t csize= 4, const Int_t calruns[]=defcalr,36 const Int_t dsize= 2, const Int_t dataruns[]=defdatar,35 const Int_t csize=1, const Int_t calruns[]=defcalr, 36 const Int_t dsize=1, const Int_t dataruns[]=defdatar, 37 37 const TString resname=defrout) 38 38 … … 118 118 // --------------------------------------------------- 119 119 // 120 MCalibrationQECam qecam;121 120 MJCalibration calloop; 122 121 calloop.SetInput(&cruns); … … 129 128 // Set the corr. cams: 130 129 // 131 calloop.SetQECam(qecam);132 130 calloop.SetBadPixels(badcam); 133 131 // … … 160 158 MCalibrationChargeCam &calcam = calloop.GetCalibrationCam(); 161 159 MCalibrationRelTimeCam &timecam = calloop.GetRelTimeCam(); 160 MCalibrationQECam &qecam = calloop.GetQECam(); 162 161 163 162 badbad.Print();
Note:
See TracChangeset
for help on using the changeset viewer.