Changeset 4907 for trunk/MagicSoft


Ignore:
Timestamp:
09/09/04 17:52:51 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4906 r4907  
    120120     mjobs/MJCalibrateSignal.[h,cc]:
    121121     - added option to process monte carlo files
     122
     123   * mhist/MHEffectiveOnTime.[h,cc]:
     124     - added a histogram taking the on-time vs time
     125     - fixed handling of Draw/Project/Paint
    122126
    123127
  • trunk/MagicSoft/Mars/mhist/MHEffectiveOnTime.h

    r4889 r4907  
    3333    MParameterDerr *fParam;      //!
    3434
    35     TH2D fHTimeDiff;
    36     TH1D fHEffOn;
     35    TH2D fHDeltaT;
     36    TH1D fHEffOnTheta;
     37    TH1D fHEffOnTime;
    3738    TH1D fHChi2;
    3839    TH1D fHProb;
     
    4445    Int_t fInterval;
    4546
     47    const TString fNameProjDeltaT;  //! This should make sure, that gROOT doen't confuse the projection with something else
     48    const TString fNameProjTheta;   //! This should make sure, that gROOT doen't confuse the projection with something else
     49
    4650    Bool_t FitH(TH1D *h, Double_t *res) const;
    4751    void FitThetaBins();
     52    void FillTimeBin(Double_t val, Double_t err);
    4853    void Calc();
    4954
     
    5762    Bool_t Finalize();
    5863
    59     const TH2D *GetHist() { return &fHTimeDiff; }
    60     const TH2D *GetHist() const { return &fHTimeDiff; }
    61 
    62     TH1 *GetHistByName(const TString name) { return &fHTimeDiff; }
     64    const TH2D *GetHist() { return &fHDeltaT; }
     65    const TH2D *GetHist() const { return &fHDeltaT; }
    6366
    6467    void Draw(Option_t *option="");
Note: See TracChangeset for help on using the changeset viewer.