Ignore:
Timestamp:
09/15/04 22:28:41 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhcalib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindCam.cc

    r4986 r5047  
    323323  *fLog << endl;
    324324
     325  MCalibrationBlindCam *blindcam = fIntensBlind ? fIntensBlind->GetCam() : fBlindCam;
     326     
    325327  for (Int_t i=0; i<fHiGainArray->GetSize(); i++)
    326328    {
     
    346348        }
    347349
    348       MCalibrationBlindPix  &pix    = fIntensCam
    349         ? (MCalibrationBlindPix&)(*fIntensCam)[i]
    350         : (MCalibrationBlindPix&)(*fCam)[i];
     350      MCalibrationBlindPix  &pix = (MCalibrationBlindPix&)(*blindcam)[i];
    351351
    352352      FitBlindPixel(hist,pix);
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindCam.h

    r4986 r5047  
    2626  Axis_t fSPheCut;                    // Signal value upon which event considered as single-phe
    2727 
    28   MRawEvtData *fRawEvt;                 //!  Raw event data
     28  MRawEvtData *fRawEvt;               //!  Raw event data
    2929
    3030public:
     
    3232  enum FitFunc_t { kEPoisson4, kEPoisson5,
    3333                   kEPoisson6, kEPoisson7,
    34                    kEPolya, kEMichele }; // Possible fit functions types (see MHCalibrationChargeBlindPix)
     34                   kEPolya, kEMichele };    // Possible fit functions types (see MHCalibrationChargeBlindPix)
    3535 
    36   static const FitFunc_t fgFitFunc = kEPoisson4;    //! Default for fFitFunc
     36  static const FitFunc_t fgFitFunc = kEPoisson4; //! Default for fFitFunc
    3737
    3838private:
    3939
    40   FitFunc_t fFitFunc;                 // The actual fit function type
     40  FitFunc_t fFitFunc;                              // The actual fit function type
    4141 
    4242  Bool_t SetupHists   (const MParList *pList );
     
    5858  // Draw
    5959  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;     }   
    6262 
    6363  ClassDef(MHCalibrationChargeBlindCam, 1)      // Histogram class for Blind Pixel Calibration
Note: See TracChangeset for help on using the changeset viewer.