Changeset 2031 for trunk/MagicSoft/Mars/mmontecarlo/MMcEnergyEst.h
- Timestamp:
- 04/28/03 16:51:29 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmontecarlo/MMcEnergyEst.h
r1964 r2031 10 10 #endif 11 11 12 #include "MFilter.h" 13 12 14 class MMcEnergyEst : public MParContainer 13 15 { 14 16 private: 15 17 16 Char_t *fInFile, *fOutFile; 17 Char_t *fHillasName, *fHillasSrcName, *fHadronnessName; 18 TString fInFile, fOutFile; 19 TString fHillasName; 20 TString fHillasSrcName; 18 21 Int_t fNevents; 19 Float_t fMaxHadronness, fMaxAlpha, fMaxDist; 22 23 MFilter *fEventFilter; //! 20 24 21 25 TArrayD fA; … … 25 29 MMcEnergyEst(const char *name=NULL, const char *title=NULL); 26 30 27 void SetInFile(Char_t *name) {fInFile = name;} 28 void SetOutFile(Char_t *name) {fOutFile = name;} 29 void SetHillasName(Char_t *name) {fHillasName = name;} 30 void SetHillasSrcName(Char_t *name) {fHillasSrcName = name;} 31 void SetHadronnessName(Char_t *name) {fHadronnessName = name;} 32 void SetNevents(Int_t n) {fNevents = n;} 33 void SetMaxHadronness(Float_t x) {fMaxHadronness = x;} 34 void SetMaxAlpha(Float_t x) {fMaxAlpha = x;} 35 void SetMaxDist(Float_t x) {fMaxDist = x;} 31 void SetInFile(const TString &name) {fInFile = name;} 32 void SetOutFile(const TString &name) {fOutFile = name;} 33 void SetHillasName(const TString &name) {fHillasName = name;} 34 void SetHillasSrcName(const TString &name) {fHillasSrcName = name;} 35 void SetEventFilter(MFilter *filter) {fEventFilter = filter;} 36 void SetNevents(Int_t n) {fNevents = n;} 36 37 37 Char_t* GetInFile() {return fInFile;} 38 Char_t* GetOutFile() {return fOutFile;} 39 Char_t* GetHillasName() {return fHillasName;} 40 Char_t* GetHillasSrcName() {return fHillasSrcName;} 41 Char_t* GetHadronnessName() {return fHadronnessName;} 42 Int_t GetNevents() {return fNevents;} 43 Float_t GetMaxHadronness() {return fMaxHadronness;} 44 Float_t GetMaxAlpha() {return fMaxAlpha;} 45 Float_t GetMaxDist() {return fMaxDist;} 38 TString GetInFile() const {return fInFile;} 39 TString GetOutFile() const {return fOutFile;} 40 TString GetHillasName() const {return fHillasName;} 41 TString GetHillasSrcName() const {return fHillasSrcName;} 42 Int_t GetNevents() const {return fNevents;} 46 43 47 44 Double_t GetCoeff(Int_t i) { return i<fA.GetSize()? fA[i] : fB[i-fA.GetSize()]; }
Note:
See TracChangeset
for help on using the changeset viewer.