Changeset 5050 for trunk/MagicSoft


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

Legend:

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

    r5049 r5050  
    9292  fTitle = title ? title : "Class to fille the blind pixel histograms";
    9393
    94   SetFitFunc();
    9594  SetSPheCut();
    9695
     
    108107  SetOscillations(kFALSE);
    109108  SetSizeCheck   (kFALSE);
     109
     110  SetFitFunc(MHCalibrationChargeBlindPix::kEPoisson4);
    110111}
    111112
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindCam.h

    r5049 r5050  
    2727  static const TString gsHistXTitle;   //! Default Histogram x-axis titles
    2828  static const TString gsHistYTitle;   //! Default Histogram y-axis titles
    29   static const MHCalibrationChargeBlindPix::FitFunc_t fgFitFunc
    30     = MHCalibrationChargeBlindPix::kEPoisson4; //! Default for fFitFunc
    31  
     29
    3230  Axis_t fSPheCut;                    // Signal value upon which event considered as single-phe
    3331 
    3432  MRawEvtData *fRawEvt;               //!  Raw event data
    3533
    36   MHCalibrationChargeBlindPix::FitFunc_t fFitFunc;                              // The actual fit function type
     34  MHCalibrationChargeBlindPix::FitFunc_t fFitFunc; // The actual fit function type
    3735 
    3836  Bool_t SetupHists   (const MParList *pList );
     
    5452  // Draw
    5553  void  Draw(Option_t *opt="");
    56   void  SetFitFunc( const MHCalibrationChargeBlindPix::FitFunc_t func=fgFitFunc )  { fFitFunc = func;  }
     54  void  SetFitFunc( const MHCalibrationChargeBlindPix::FitFunc_t func )  { fFitFunc = func;  }
    5755  void  SetSPheCut( const Axis_t    a   =fgSPheCut )  { fSPheCut = a;     }   
    5856 
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindPix.h

    r5049 r5050  
    6464  enum FitFunc_t { kEPoisson4, kEPoisson5,
    6565                   kEPoisson6, kEPoisson7,
    66                    kEPolya, kEMichele };    // Possible fit functions types (see MHCalibrationChargeBlindPix)
     66                   kEPolya, kEMichele };    // Possible fit functions types
    6767
    6868private: 
Note: See TracChangeset for help on using the changeset viewer.