Ignore:
Timestamp:
07/29/06 11:27:20 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhflux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc

    r7817 r7818  
    10231023//
    10241024//    MHEffectiveOnTime.FistBin:   3
    1025 //    MHEffectiveOnTime.NuMEvents: 12000
     1025//    MHEffectiveOnTime.NumEvents: 12000
    10261026//
    10271027Int_t MHEffectiveOnTime::ReadEnv(const TEnv &env, TString prefix, Bool_t print)
  • trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.h

    r7533 r7818  
    4343    TH1D fHTimeEffOn;    // Effective On time versus Time
    4444    TH1D fHTimeProb;     // Chisq prob fit of Effective On time versus Time
    45     //TH1D fHTimeNDF;      // NDF vs Time
    4645    TH1D fHTimeLambda;   // Slope (rate) vs Time
    4746
    4847    Bool_t fIsFinalized; // Flag telling you whether fHThetaEffOn is the final result
    4948
    50     Int_t fNumEvents;    // Number of events to be used for a bin in time
    51 
    52     //const TString fNameProjDeltaT; //! This should make sure, that gROOT doen't confuse the projection with something else
    53     //const TString fNameProjTheta;  //! This should make sure, that gROOT doen't confuse the projection with something else
     49    UInt_t fNumEvents;   // Number of events to be used for a bin in time
     50    UInt_t fFirstBin;    // For bin for fit
    5451
    5552    Bool_t FitH(TH1D *h, Double_t *res, Bool_t paint=kFALSE) const;
     
    6360    void PrintStatistics();
    6461
     62    Bool_t SetupFill(const MParList *pList);
     63    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
     64    Bool_t Finalize();
     65
     66    Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
     67
    6568public:
    6669    MHEffectiveOnTime(const char *name=NULL, const char *title=NULL);
    6770
    6871    void SetNumEvents(Int_t i) { fNumEvents=i; }
    69 
    70     Bool_t SetupFill(const MParList *pList);
    71     Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    72     Bool_t Finalize();
     72    void SetFirstBin(Int_t i)  { fFirstBin=i;  }
    7373
    7474    const TH1D &GetHEffOnTheta() const { return fHThetaEffOn; }
    7575    const TH1D &GetHEffOnTime() const { return fHTimeEffOn; }
    7676
     77    const TH2D &GetH2DeltaT() const { return fH2DeltaT; }
     78
    7779    void Draw(Option_t *option="");
    7880    void Paint(Option_t *opt="");
    7981
    80     ClassDef(MHEffectiveOnTime, 1) // Histogram to determin effective On-Time vs Time and Zenith Angle
     82    ClassDef(MHEffectiveOnTime, 2) // Histogram to determin effective On-Time vs Time and Zenith Angle
    8183};
    8284
Note: See TracChangeset for help on using the changeset viewer.