Changeset 5415
- Timestamp:
- 11/17/04 09:38:19 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5414 r5415 35 35 Next will follow an interleaved pedestal event and finally an 36 36 interleaved data event. 37 38 * mhcalib/MHCalibrationChargeCam.cc 39 - adapt the histogram ranges slightly because I have found high 40 intensity calibration events creating non desired overflows. 37 41 38 42 -
trunk/MagicSoft/Mars/mcalib/MCalibColorSet.cc
r5056 r5415 123 123 } 124 124 125 // 126 // Consider the case that a pedestal run is interleaved in the calibration run sequence ... prepare 127 // to skip this run. 128 // 129 const UShort_t runtype = header->GetRunType(); 130 131 if (runtype == 1) 132 { 133 *fLog << warn << "New run is a pedestal run... need intensity calibration to treat this case!" << endl; 134 fPattern = 0; 135 fIsValid = kTRUE; 136 return kTRUE; 137 } 138 125 139 enum { kNONE, kGREEN, kBLUE, kUV, kCT1 }; 126 140 … … 192 206 case 22246: 193 207 case 22253: 208 case 25792: 209 case 35415: 210 // case 31756: 194 211 color = kBLUE; 195 212 break; … … 387 404 388 405 if (fIsValid) 389 fHeader->SetCalibrationPattern(fPattern); 406 { 407 if (fPattern == 0) 408 { 409 *fLog << err << "CONTINUE " << endl; 410 return kCONTINUE; 411 } 412 fHeader->SetCalibrationPattern(fPattern); 413 } 414 390 415 return kTRUE; 391 416 } -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc
r5156 r5415 155 155 using namespace std; 156 156 157 const Int_t MHCalibrationChargeCam::fgChargeHiGainNbins = 5 50;157 const Int_t MHCalibrationChargeCam::fgChargeHiGainNbins = 500; 158 158 const Axis_t MHCalibrationChargeCam::fgChargeHiGainFirst = -100.5; 159 const Axis_t MHCalibrationChargeCam::fgChargeHiGainLast = 999.5;160 const Int_t MHCalibrationChargeCam::fgChargeLoGainNbins = 525;161 const Axis_t MHCalibrationChargeCam::fgChargeLoGainFirst = - 150.5;162 const Axis_t MHCalibrationChargeCam::fgChargeLoGainLast = 899.5;159 const Axis_t MHCalibrationChargeCam::fgChargeHiGainLast = 1899.5; 160 const Int_t MHCalibrationChargeCam::fgChargeLoGainNbins = 620; 161 const Axis_t MHCalibrationChargeCam::fgChargeLoGainFirst = -350.5; 162 const Axis_t MHCalibrationChargeCam::fgChargeLoGainLast = 2049.5; 163 163 const TString MHCalibrationChargeCam::gsHistName = "Charge"; 164 164 const TString MHCalibrationChargeCam::gsHistTitle = "Signals"; … … 1082 1082 MBadPixelsPix::kLoGainOscillating); 1083 1083 1084 1084 1085 return kTRUE; 1085 1086 } … … 1109 1110 { 1110 1111 *fLog << warn 1111 << Form("%s%3.1f%s%2.1f%s% s","Mean ArrivalTime=",mean," < ",fTimeLowerLimit,1112 " slices from lower edge in pixel ",hist.GetName()) << endl;1112 << Form("%s%3.1f%s%2.1f%s%2.0f%s%s","Mean ArrivalTime: ",mean," < ",fTimeLowerLimit, 1113 " slices from lower edge: ",lowerlimit," in pixel ",hist.GetName()) << endl; 1113 1114 bad.SetUncalibrated( MBadPixelsPix::kMeanTimeInFirstBin ); 1114 1115 } … … 1117 1118 { 1118 1119 *fLog << warn 1119 << Form("%s%3.1f%s%2.1f%s% s","Mean ArrivalTime=",mean," > ",fTimeUpperLimit,1120 " slices from upper edge in pixel ",hist.GetName()) << endl;1120 << Form("%s%3.1f%s%2.1f%s%2.0f%s%s","Mean ArrivalTime: ",mean," > ",fTimeUpperLimit, 1121 " slices from upper edge: ",upperlimit," in pixel ",hist.GetName()) << endl; 1121 1122 bad.SetUncalibrated( MBadPixelsPix::kMeanTimeInLast2Bins ); 1122 1123 }
Note:
See TracChangeset
for help on using the changeset viewer.