Ignore:
Timestamp:
02/28/04 04:19:05 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.h

    r3283 r3352  
    1414
    1515class MRawEvtData;
     16class MGeomCam;
    1617class MCalibrationChargeCam;
     18class MCalibrationChargePix;
    1719class MHCalibrationChargeHiGainPix;
    1820class MHCalibrationChargeLoGainPix;
     
    2123private:
    2224
    23   static const Float_t fgNumHiGainSaturationLimit; // The default number of fNumHiGainSaturationLimit
    24   static const Float_t fgNumLoGainSaturationLimit; // The default number of fNumLoGainSaturationLimit
     25  static const Float_t fgNumHiGainSaturationLimit;   // The default number of fNumHiGainSaturationLimit
     26  static const Float_t fgNumLoGainSaturationLimit;   // The default number of fNumLoGainSaturationLimit
    2527
    2628  Float_t fNumHiGainSaturationLimit;      // The rel. number of saturated higain FADC slices in the whole run upon which the pixel is called saturated
    2729  Float_t fNumLoGainSaturationLimit;      // The rel. number of saturated logain FADC slices in the whole run upon which the pixel is called saturated
    2830 
    29   TObjArray *fHiGainArray;                //-> Array of MHCalibrationChargePix with hists
    30   TObjArray *fLoGainArray;                //-> Array of MHCalibrationChargePix with hists
    31  
    32   MCalibrationChargeCam  *fCam;           //!  Class holding the results
    33   MRawEvtData            *fRawEvt;        //!  Raw event data (time slices)
     31  TObjArray *fHiGainArray;                           //-> Array of MHCalibrationChargePix with hists
     32  TObjArray *fLoGainArray;                           //-> Array of MHCalibrationChargePix with hists
     33  MHCalibrationChargeHiGainPix *fAverageHiGainInnerPix;   //-> One MHCalibrationChargeHiGainPix with the average of all inner pixels
     34  MHCalibrationChargeLoGainPix *fAverageLoGainInnerPix;   //-> One MHCalibrationChargeLoGainPix with the average of all inner pixels
     35  MHCalibrationChargeHiGainPix *fAverageHiGainOuterPix;   //-> One MHCalibrationChargeHiGainPix with the average of all outer pixels
     36  MHCalibrationChargeLoGainPix *fAverageLoGainOuterPix;   //-> One MHCalibrationChargeLoGainPix with the average of all outer pixels
    3437
     38  MCalibrationChargeCam  *fCam;                      //!  Class holding the results
     39  MRawEvtData            *fRawEvt;                   //!  Raw event data (time slices)
     40  MGeomCam               *fGeom;                     //!  MAGIC geometry
     41
     42  void FinalizeHiGainHists(MHCalibrationChargeHiGainPix &hist, MCalibrationChargePix &pix);
     43  void FinalizeLoGainHists(MHCalibrationChargeLoGainPix &hist, MCalibrationChargePix &pix);
    3544
    3645public:
     
    4251  void SetNumLoGainSaturationLimit( const Float_t lim=fgNumLoGainSaturationLimit) { fNumLoGainSaturationLimit = lim; }
    4352
    44   Float_t GetNumHiGainSaturationLimit()                             const  { return fNumHiGainSaturationLimit; }
    45   Float_t GetNumLoGainSaturationLimit()                             const  { return fNumLoGainSaturationLimit; }
     53  Float_t GetNumHiGainSaturationLimit()                       const  { return fNumHiGainSaturationLimit; }
     54  Float_t GetNumLoGainSaturationLimit()                       const  { return fNumLoGainSaturationLimit; }
    4655
    47  
    48   MHCalibrationChargeHiGainPix &operator[](UInt_t i);
    49   const MHCalibrationChargeHiGainPix &operator[](UInt_t i) const;
     56        MHCalibrationChargeHiGainPix &operator[](UInt_t i);
     57  const MHCalibrationChargeHiGainPix &operator[](UInt_t i)    const;
    5058
    51   MHCalibrationChargeLoGainPix &operator()(UInt_t i);
    52   const MHCalibrationChargeLoGainPix &operator()(UInt_t i) const;
     59        MHCalibrationChargeLoGainPix &operator()(UInt_t i);
     60  const MHCalibrationChargeLoGainPix &operator()(UInt_t i)    const;
     61
     62        MHCalibrationChargeHiGainPix  &GetAverageHiGainInnerPix()        { return *fAverageHiGainInnerPix; }
     63  const MHCalibrationChargeHiGainPix  &GetAverageHiGainInnerPix()  const { return *fAverageHiGainInnerPix; }
     64
     65        MHCalibrationChargeLoGainPix  &GetAverageLoGainInnerPix()        { return *fAverageLoGainInnerPix; }
     66  const MHCalibrationChargeLoGainPix  &GetAverageLoGainInnerPix()  const { return *fAverageLoGainInnerPix; }
     67
     68        MHCalibrationChargeHiGainPix  &GetAverageHiGainOuterPix()        { return *fAverageHiGainOuterPix; }
     69  const MHCalibrationChargeHiGainPix  &GetAverageHiGainOuterPix()  const { return *fAverageHiGainOuterPix; }
     70
     71        MHCalibrationChargeLoGainPix  &GetAverageLoGainOuterPix()        { return *fAverageLoGainOuterPix; }
     72  const MHCalibrationChargeLoGainPix  &GetAverageLoGainOuterPix()  const { return *fAverageLoGainOuterPix; }
    5373
    5474  Bool_t SetupFill(const MParList *pList);
     
    5878 
    5979  TObject *Clone(const char *) const;
     80
     81  // Draw
     82  void Draw(const Option_t *opt);
    6083
    6184  Bool_t GetPixelContent ( Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
Note: See TracChangeset for help on using the changeset viewer.