Changeset 5047 for trunk/MagicSoft/Mars/mhcalib
- Timestamp:
- 09/15/04 22:28:41 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mhcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindCam.cc
r4986 r5047 323 323 *fLog << endl; 324 324 325 MCalibrationBlindCam *blindcam = fIntensBlind ? fIntensBlind->GetCam() : fBlindCam; 326 325 327 for (Int_t i=0; i<fHiGainArray->GetSize(); i++) 326 328 { … … 346 348 } 347 349 348 MCalibrationBlindPix &pix = fIntensCam 349 ? (MCalibrationBlindPix&)(*fIntensCam)[i] 350 : (MCalibrationBlindPix&)(*fCam)[i]; 350 MCalibrationBlindPix &pix = (MCalibrationBlindPix&)(*blindcam)[i]; 351 351 352 352 FitBlindPixel(hist,pix); -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindCam.h
r4986 r5047 26 26 Axis_t fSPheCut; // Signal value upon which event considered as single-phe 27 27 28 MRawEvtData *fRawEvt; 28 MRawEvtData *fRawEvt; //! Raw event data 29 29 30 30 public: … … 32 32 enum FitFunc_t { kEPoisson4, kEPoisson5, 33 33 kEPoisson6, kEPoisson7, 34 kEPolya, kEMichele }; // Possible fit functions types (see MHCalibrationChargeBlindPix)34 kEPolya, kEMichele }; // Possible fit functions types (see MHCalibrationChargeBlindPix) 35 35 36 static const FitFunc_t fgFitFunc = kEPoisson4; 36 static const FitFunc_t fgFitFunc = kEPoisson4; //! Default for fFitFunc 37 37 38 38 private: 39 39 40 FitFunc_t fFitFunc; // The actual fit function type40 FitFunc_t fFitFunc; // The actual fit function type 41 41 42 42 Bool_t SetupHists (const MParList *pList ); … … 58 58 // Draw 59 59 void Draw(Option_t *opt=""); 60 void SetFitFunc( const FitFunc_t func=fgFitFunc ) { fFitFunc = func; }61 void SetSPheCut( const Axis_t a=fgSPheCut ) { fSPheCut = a;}60 void SetFitFunc( const FitFunc_t func=fgFitFunc ) { fFitFunc = func; } 61 void SetSPheCut( const Axis_t a =fgSPheCut ) { fSPheCut = a; } 62 62 63 63 ClassDef(MHCalibrationChargeBlindCam, 1) // Histogram class for Blind Pixel Calibration
Note:
See TracChangeset
for help on using the changeset viewer.