Changeset 7818 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 07/29/06 11:27:20 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc
r7817 r7818 1023 1023 // 1024 1024 // MHEffectiveOnTime.FistBin: 3 1025 // MHEffectiveOnTime.Nu MEvents: 120001025 // MHEffectiveOnTime.NumEvents: 12000 1026 1026 // 1027 1027 Int_t MHEffectiveOnTime::ReadEnv(const TEnv &env, TString prefix, Bool_t print) -
trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.h
r7533 r7818 43 43 TH1D fHTimeEffOn; // Effective On time versus Time 44 44 TH1D fHTimeProb; // Chisq prob fit of Effective On time versus Time 45 //TH1D fHTimeNDF; // NDF vs Time46 45 TH1D fHTimeLambda; // Slope (rate) vs Time 47 46 48 47 Bool_t fIsFinalized; // Flag telling you whether fHThetaEffOn is the final result 49 48 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 54 51 55 52 Bool_t FitH(TH1D *h, Double_t *res, Bool_t paint=kFALSE) const; … … 63 60 void PrintStatistics(); 64 61 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 65 68 public: 66 69 MHEffectiveOnTime(const char *name=NULL, const char *title=NULL); 67 70 68 71 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; } 73 73 74 74 const TH1D &GetHEffOnTheta() const { return fHThetaEffOn; } 75 75 const TH1D &GetHEffOnTime() const { return fHTimeEffOn; } 76 76 77 const TH2D &GetH2DeltaT() const { return fH2DeltaT; } 78 77 79 void Draw(Option_t *option=""); 78 80 void Paint(Option_t *opt=""); 79 81 80 ClassDef(MHEffectiveOnTime, 1) // Histogram to determin effective On-Time vs Time and Zenith Angle82 ClassDef(MHEffectiveOnTime, 2) // Histogram to determin effective On-Time vs Time and Zenith Angle 81 83 }; 82 84
Note:
See TracChangeset
for help on using the changeset viewer.