Changeset 9347 for trunk/MagicSoft/Mars/msim/MHPhotonEvent.h
- Timestamp:
- 02/18/09 12:07:41 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msim/MHPhotonEvent.h
r9308 r9347 28 28 Bool_t fPermanentReset; 29 29 30 // MHPhotonEvent 30 31 void Init(const char *name, const char *title); 32 void SetBinningXY(Int_t num, Double_t max); 31 33 34 // MParContainer 35 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 36 37 // MH 32 38 Bool_t SetupFill(const MParList *pList); 39 Bool_t ReInit(MParList *pList); 33 40 Int_t Fill(const MParContainer *par, const Stat_t weight=1); 34 41 //Bool_t Finalize(); 35 42 36 43 public: 37 MHPhotonEvent(Double_t max =0, const char *name=0, const char *title=0);38 MHPhotonEvent(Int_t type ,const char *name=0, const char *title=0);44 MHPhotonEvent(Double_t max, const char *name=0, const char *title=0); 45 MHPhotonEvent(Int_t type=3, const char *name=0, const char *title=0); 39 46 47 void PermanentReset(Bool_t b=kTRUE) { fPermanentReset=b; } 48 49 // TObject 40 50 void Draw(Option_t *o=""); 41 51 void Paint(Option_t *o=""); 52 53 void Clear(Option_t *o="") 54 { 55 fHistXY.Reset(); 56 fHistUV.Reset(); 57 fHistT.Reset(); 58 fHistWL.Reset(); 59 fHistH.Reset(); 60 } 42 61 43 62 ClassDef(MHPhotonEvent, 2) // Histogram to display the information of MPhotonEvents
Note:
See TracChangeset
for help on using the changeset viewer.