Changeset 8359
- Timestamp:
- 03/04/07 10:59:17 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mhcalib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindCam.cc
r8339 r8359 285 285 MRawEvtPixelIter pixel(fRawEvt); 286 286 pixel.Jump(blindpixIdx); 287 287 /* 288 288 if (sig > fSPheCut) 289 289 hist.FillSinglePheFADCSlices(pixel); 290 290 else 291 291 hist.FillPedestalFADCSlices(pixel); 292 292 */ 293 293 } 294 294 … … 390 390 } 391 391 392 hist.FinalizeSinglePheSpectrum();392 //hist.FinalizeSinglePheSpectrum(); 393 393 394 394 hist.FitPedestal(); -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindPix.cc
r8019 r8359 122 122 fTitle = title ? title : "Statistics of the FADC sums of Blind Pixel calibration events"; 123 123 124 fASinglePheFADCSlices.ResizeTo(1);125 fAPedestalFADCSlices.ResizeTo(1);124 //fASinglePheFADCSlices.ResizeTo(1); 125 //fAPedestalFADCSlices.ResizeTo(1); 126 126 127 127 SetNumSinglePheLimit(); … … 298 298 return TESTBIT(fFlags,kPedestalFitOK); 299 299 } 300 300 301 /* 301 302 // -------------------------------------------------------------------------- 302 303 // 303 304 // Normalizes fASinglePheFADCSlices and fAPedestalFADCSlices 304 // 305 // 305 306 void MHCalibrationChargeBlindPix::FinalizeSinglePheSpectrum() 306 307 { … … 370 371 fNumPedestals++; 371 372 } 372 373 */ 373 374 374 375 // -------------------------------------------------------------------------- … … 902 903 if (option.Contains("datacheck")) 903 904 return; 904 905 /* 905 906 pad->cd(3); 906 907 907 if (fASinglePheFADCSlices.GetNrows()!=1) 908 908 { … … 956 956 fHPedestalFADCSlices->Draw("same"); 957 957 } 958 958 */ 959 959 if (win < 2) 960 960 return; -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindPix.h
r6680 r8359 33 33 Float_t fNumSinglePheLimit; // Minimum number of single-phe events 34 34 35 TVector fASinglePheFADCSlices; //! Averaged FADC slice entries supposed single-phe events36 TVector fAPedestalFADCSlices; //! Averaged FADC slice entries supposed pedestal events35 // TVector fASinglePheFADCSlices; //! Averaged FADC slice entries supposed single-phe events 36 // TVector fAPedestalFADCSlices; //! Averaged FADC slice entries supposed pedestal events 37 37 38 38 TF1 *fSinglePheFit; // Single Phe Fit (Gaussians convoluted with Poisson) … … 103 103 const Float_t GetSinglePheCut () const { return fSinglePheCut; } 104 104 105 TVector &GetASinglePheFADCSlices() { return fASinglePheFADCSlices; }106 const TVector &GetASinglePheFADCSlices() const { return fASinglePheFADCSlices; }107 108 TVector &GetAPedestalFADCSlices() { return fAPedestalFADCSlices; } 109 const TVector &GetAPedestalFADCSlices() const { return fAPedestalFADCSlices; } 105 // TVector &GetASinglePheFADCSlices() { return fASinglePheFADCSlices; } 106 // const TVector &GetASinglePheFADCSlices() const { return fASinglePheFADCSlices; } 107 108 // TVector &GetAPedestalFADCSlices() { return fAPedestalFADCSlices; } 109 // const TVector &GetAPedestalFADCSlices() const { return fAPedestalFADCSlices; } 110 110 111 111 const Bool_t IsSinglePheFitOK() const; … … 121 121 122 122 // Fill histos 123 void FillSinglePheFADCSlices(const MRawEvtPixelIter &iter);124 void FillPedestalFADCSlices( const MRawEvtPixelIter &iter);125 void FinalizeSinglePheSpectrum();123 // void FillSinglePheFADCSlices(const MRawEvtPixelIter &iter); 124 // void FillPedestalFADCSlices( const MRawEvtPixelIter &iter); 125 // void FinalizeSinglePheSpectrum(); 126 126 127 127 // Draws -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc
r8356 r8359 17 17 ! 18 18 ! Author(s): Markus Gaug 02/2004 <mailto:markus@ifae.es> 19 ! Author(s): Thomas Bretz <mailto:tbretz@astro.uni-wuerzburg.de> 19 20 ! 20 ! Copyright: MAGIC Software Development, 2000-200 421 ! Copyright: MAGIC Software Development, 2000-2007 21 22 ! 22 23 ! … … 544 545 MBadPixelsPix::kRelTimeNotFitted, 545 546 MBadPixelsPix::kRelTimeOscillating); 546 547 547 548 if (IsLoGain()) 548 549 FitLoGainArrays(*relcam,*badcam,
Note:
See TracChangeset
for help on using the changeset viewer.