Ignore:
Timestamp:
01/27/04 20:39:14 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2931 r2932  
    44#ifndef MARS_MH
    55#include "MH.h"
     6#endif
     7
     8#ifndef MARS_MFFT
     9#include "MFFT.h"
    610#endif
    711
     
    1216class TProfile;
    1317class TPaveText;
     18class MFFT;
    1419
    1520class MHCalibrationPixel : public MH
     
    2328  TArrayF *fLoGains;             //->
    2429
     30  const Int_t   fChargeNbinsHiGain;
     31  const Int_t   fChargeNbinsLoGain;
     32  const Int_t   fTimeNbins;
     33  const Int_t   fChargevsNbins;
     34
     35  const Axis_t  fTimeFirst;
     36  const Axis_t  fTimeLast;
     37 
     38  TProfile* fHivsLoGain;
     39
     40  Double_t fOffset;
     41  Double_t fSlope;
     42 
    2543protected:
    26 
    27   Int_t fTotalEntries;           // Number of entries
    2844
    2945  TH1F* fHChargeHiGain;          // Summed FADC slices High Gain
     
    3551  TH1I* fHChargevsNLoGain;       // Summed Charge vs. Event Nr.
    3652
     53  TH1F* fHPSD;                   // Power spectrum density of fHBlindPixelChargevsN
     54 
    3755  TF1* fChargeGausFit;
    3856  TF1* fTimeGausFit;
    3957 
    40   TProfile* fHivsLoGain;
    41 
    4258  TPaveText *fFitLegend; 
    4359 
     60  Int_t fTotalEntries;           // Number of entries
     61
    4462  Axis_t  fChargeFirstHiGain;
    4563  Axis_t  fChargeLastHiGain;
    46   Int_t   fChargeNbinsHiGain;
    47 
    4864  Axis_t  fChargeFirstLoGain;
    4965  Axis_t  fChargeLastLoGain;
    50   Int_t   fChargeNbinsLoGain;
    5166
    5267  Double_t fChargeChisquare;
     
    7590  enum   { kUseLoGain, kFitOK };
    7691 
    77   Double_t fOffset;
    78   Double_t fSlope;
    79  
    8092  virtual void DrawLegend();
    8193 
     
    8496  MHCalibrationPixel(const char *name=NULL, const char *title=NULL);
    8597  ~MHCalibrationPixel();
     98
     99  void Clear(Option_t *o="");
     100  void Reset(); 
    86101
    87102  void ChangeHistId(Int_t i);
     
    97112
    98113  // Getters
    99   const TH1F *GetHCharge()                 { return fHChargeHiGain;    }
    100114  const TH1F *GetHCharge() const           { return fHChargeHiGain;    }
    101115
     
    167181  // Others
    168182  virtual void CutAllEdges();
    169   virtual void Reset();
    170183
    171   ClassDef(MHCalibrationPixel, 1)     // Histograms for each calibrated pixel
     184  ClassDef(MHCalibrationPixel, 0)     // Histograms for each calibrated pixel
    172185};
    173186
Note: See TracChangeset for help on using the changeset viewer.