Changeset 3860 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 04/28/04 10:10:25 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.