Changeset 7818 for trunk/MagicSoft


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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7817 r7818  
    280280
    281281   * mhflux/MHThetaSqN.cc:
    282       - removed the const-qualifier from the static_cast when setting
    283         tghe MParameterD
     282     - removed the const-qualifier from the static_cast when setting
     283       tghe MParameterD
    284284
    285285
  • trunk/MagicSoft/Mars/NEWS

    r7748 r7818  
    33 *** Version  <cvs>
    44
     5   - general: a lot of small changes to make the code compatible with
     6     root 5.12/00 and gcc 4.1
     7
     8   - general: Fixed some warnings thrown if more warnings are switched
     9     on in the compiler
     10
     11   - merpp: didn't recognize files with the extension .raw.gz - fixed.
     12
     13   - star: changed the fit for the ffective on time such that initial
     14       values are calculated automatically now instead of using build
     15       in values. This makes the fit more indepedant of the underlaying
     16       rates. With a test of ~350 sequences in the test database it could
     17       be shown that the new fit gives the same result +/-1sek.
     18       The highest deviation was +5s the lowest -10s. You can now control
     19       the bahaviour with two resource values:
     20          MHEffectiveOnTime.FistBin:   3
     21          MHEffectiveOnTime.NumEvents: 12000
     22       Use FirstBin=1 and NumEvents=120 to fit the effective on time
     23       from the resulting gamma candidates
     24
     25   - ganymed: now pruduces valid error codes if failed
    526
    627
  • 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.