- Timestamp:
- 07/29/06 11:27:20 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7817 r7818 280 280 281 281 * mhflux/MHThetaSqN.cc: 282 283 282 - removed the const-qualifier from the static_cast when setting 283 tghe MParameterD 284 284 285 285 -
trunk/MagicSoft/Mars/NEWS
r7748 r7818 3 3 *** Version <cvs> 4 4 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 5 26 6 27 -
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.