Ignore:
Timestamp:
09/13/04 13:28:58 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHEffectiveOnTime.h

    r4925 r4975  
    1313#ifndef ROOT_TH2
    1414#include <TH2.h>
     15#endif
     16#ifndef ROOT_TF1
     17#include <TF1.h>
    1518#endif
    1619
     
    3336    TH1D fH1DeltaT;      //! Counts vs Delta T (for a time interval)
    3437
    35     TH1D fHEffOnTheta;   // Effective On time versus Theta
    36     TH1D fHEffOnTime;    // Effective On time versus Time
     38    TH1D fHThetaEffOn;   // Effective On time versus Theta
     39    TH1D fHThetaProb;    // Chisq prob fit of Effective On time versus Theta
     40    TH1D fHThetaNDF;     // NDF vs Theta
     41    TH1D fHThetaLambda;  // Slope (rate) vs Theta
    3742
    38     TH1D fHProbTheta;    // Chisq prob fit of Effective On time versus Theta
    39     TH1D fHProbTime;     // Chisq prob fit of Effective On time versus Time
     43    TH1D fHTimeEffOn;    // Effective On time versus Time
     44    TH1D fHTimeProb;     // Chisq prob fit of Effective On time versus Time
     45    //TH1D fHTimeNDF;      // NDF vs Time
     46    TH1D fHTimeLambda;   // Slope (rate) vs Time
    4047
    41     TH1D fHN0;
    42     TH1D fHLambda;
    43 
    44     Bool_t fIsFinalized; // Flag telling you whether fHEffOnTheta is the final result
     48    Bool_t fIsFinalized; // Flag telling you whether fHThetaEffOn is the final result
    4549
    4650    Int_t fNumEvents;    // Number of events to be used for a bin in time
     
    5256    void FitThetaBins();
    5357    void FitTimeBin();
     58    void PaintProb(TH1 &h) const;
    5459    void PaintText(Double_t val, Double_t error) const;
     60    void DrawRightAxis(const char *title);
     61    void UpdateRightAxis(TH1 &h);
    5562
    5663public:
     
    6370    Bool_t Finalize();
    6471
    65     const TH1D &GetHEffOnTheta() const { return fHEffOnTheta; }
    66     const TH1D &GetHEffOnTime() const { return fHEffOnTime; }
     72    const TH1D &GetHEffOnTheta() const { return fHThetaEffOn; }
     73    const TH1D &GetHEffOnTime() const { return fHTimeEffOn; }
    6774
    6875    void Draw(Option_t *option="");
Note: See TracChangeset for help on using the changeset viewer.