Changeset 4063 for trunk/MagicSoft/Mars/mtemp
- Timestamp:
- 05/13/04 15:51:30 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/library/MCalibrateDC.cc
r4061 r4063 51 51 fTitle = title ? title : "Taks to intercalibrate the DC of all pmts from a continuos light run"; 52 52 53 fFileName = filename; 54 53 55 fStartingMissCalibration.Set(2004,3,8); 54 56 fEndingMissCalibration.Set(2004,4,15); 55 56 fDCMissCalibrationFactor = 30./40.96;57 fFileName = filename;58 57 59 58 Int_t nbins = 120; … … 64 63 fDCCalibration = 1.; 65 64 fDCCalibrationRMS = 0.; 65 66 fDCMissCalibrationFactor = 30./40.95; 66 67 } 67 68 MCalibrateDC::~MCalibrateDC() … … 124 125 MGeomPix& pixel = (*fGeomCam)[pix]; 125 126 if (pixel.GetSector() >=3 && pixel.GetSector() <=5) 126 fDCCalibrationFactor[pix]*=fDCMissCalibrationFactor; 127 (*fCurr)[pix] *= fDCCalibrationFactor[pix]*fDCMissCalibrationFactor; 128 else 129 (*fCurr)[pix] *= fDCCalibrationFactor[pix]; 130 127 131 } 128 132 } 129 130 for (UInt_t pix=1; pix<fNumPixels; pix++)131 (*fCurr)[pix]= (*fCurr)[pix]*fDCCalibrationFactor[pix];133 else 134 for (UInt_t pix=1; pix<fNumPixels; pix++) 135 (*fCurr)[pix] *= fDCCalibrationFactor[pix]; 132 136 133 137 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.