Changeset 3358
- Timestamp:
- 02/28/04 21:05:14 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.cc
r3357 r3358 431 431 432 432 (*this)[pixid].FillAbsTime(timehi); 433 (*this)(pixid).FillAbsTime(timelo );433 (*this)(pixid).FillAbsTime(timelo+15.); 434 434 435 435 if (fGeom->GetPixRatio(pixel.GetPixelId()) == 1.) -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.h
r3352 r3358 39 39 MRawEvtData *fRawEvt; //! Raw event data (time slices) 40 40 MGeomCam *fGeom; //! MAGIC geometry 41 42 Int_t fNumInnerPixels; 43 Int_t fNumOuterPixels; 41 44 42 45 void FinalizeHiGainHists(MHCalibrationChargeHiGainPix &hist, MCalibrationChargePix &pix); -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeLoGainPix.cc
r3347 r3358 53 53 const Axis_t MHCalibrationChargeLoGainPix::fgChargeLast = 199.5; 54 54 const Int_t MHCalibrationChargeLoGainPix::fgAbsTimeNbins = 15; 55 const Axis_t MHCalibrationChargeLoGainPix::fgAbsTimeFirst = -0.5;56 const Axis_t MHCalibrationChargeLoGainPix::fgAbsTimeLast = 14.5;55 const Axis_t MHCalibrationChargeLoGainPix::fgAbsTimeFirst = 14.5; 56 const Axis_t MHCalibrationChargeLoGainPix::fgAbsTimeLast = 29.5; 57 57 // -------------------------------------------------------------------------- 58 58 // -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargePix.cc
r3348 r3358 58 58 59 59 const Int_t MHCalibrationChargePix::fgPickupLimit = 5; 60 const Int_t MHCalibrationChargePix::fgPulserFrequency = 200;60 const Int_t MHCalibrationChargePix::fgPulserFrequency = 500; 61 61 // -------------------------------------------------------------------------- 62 62 // … … 173 173 Int_t win = 1; 174 174 175 TVirtualPad *pad = gPad ? gPad : MH::MakeDefCanvas(this,600, 600); 176 177 pad->SetBorderMode(0); 178 179 if (option.Contains("time")) 175 TVirtualPad *oldpad = gPad ? gPad : MH::MakeDefCanvas(this,600, 600); 176 TVirtualPad *pad = NULL; 177 178 if (option.Contains("all")) 180 179 { 181 option.ReplaceAll("events",""); 182 win++; 180 option.ReplaceAll("all",""); 181 oldpad->Divide(2,1); 182 win = 2; 183 oldpad->cd(1); 184 TVirtualPad *newpad = gPad; 185 pad = newpad; 186 pad->Divide(1,2); 187 pad->cd(1); 183 188 } 184 185 pad->Divide(1,win); 186 pad->cd(1); 189 else 190 { 191 pad = oldpad; 192 pad->Divide(1,2); 193 pad->cd(1); 194 } 187 195 188 196 if (!IsEmpty()) 189 gPad->SetLogy();197 gPad->SetLogy(); 190 198 191 199 gPad->SetTicks(); 192 MHGausEvents::Draw(opt); 193 194 if (win > 1) 195 { 196 pad->cd(2); 197 gPad->SetTicks(); 198 fHAbsTime.Draw(opt); 199 } 200 201 fHGausHist.Draw(opt); 202 if (fFGausFit) 203 { 204 fFGausFit->SetLineColor(IsGausFitOK() ? kGreen : kRed); 205 fFGausFit->Draw("same"); 206 } 207 208 pad->cd(2); 209 gPad->SetTicks(); 210 fHAbsTime.Draw(opt); 211 212 if (win < 2) 213 return; 214 215 oldpad->cd(2); 216 MHGausEvents::Draw("fourierevents"); 217 200 218 } 201 219
Note:
See TracChangeset
for help on using the changeset viewer.