Changeset 1211 for trunk/MagicSoft/Mars/mfilter
- Timestamp:
- 01/22/02 20:50:06 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/mfilter
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfilter/MFAlpha.cc
r1208 r1211 44 44 // -------------------------------------------------------------------------- 45 45 // 46 MFAlpha::MFAlpha(const char *cname, const char type, const Float_t val) : fHillas(NULL) 46 MFAlpha::MFAlpha(const char *cname, const char type, const Float_t val, 47 const char *name, const char *title) : fHillas(NULL) 47 48 { 48 49 fContName = cname; 49 Init(type, val );50 Init(type, val, name, title); 50 51 } 51 52 52 53 // -------------------------------------------------------------------------- 53 54 // 54 MFAlpha::MFAlpha(const MHillasSrc *hillas, const char type, const Float_t val) : fHillas(hillas) 55 MFAlpha::MFAlpha(const MHillasSrc *hillas, const char type, const Float_t val, 56 const char *name, const char *title) : fHillas(hillas) 55 57 { 56 Init(type, val );58 Init(type, val, name, title); 57 59 } 58 60 59 61 // -------------------------------------------------------------------------- 60 62 // 61 void MFAlpha::Init(const char type, const Int_t val) 63 void MFAlpha::Init(const char type, const Int_t val, 64 const char *name, const char *title) 62 65 { 66 fName = name ? name : "MFAlpha"; 67 fTitle = title ? title : "Filter using the alpha angle"; 68 63 69 fFilterType = (type=='<' ? kELowerThan : kEGreaterThan); 64 70 -
trunk/MagicSoft/Mars/mfilter/MFAlpha.h
r1209 r1211 27 27 Float_t fValue; // [deg] 28 28 29 void Init(const char type, const Int_t val); 29 void Init(const char type, const Int_t val, 30 const char *name, const char *title); 30 31 31 32 public: 32 MFAlpha(const char *cname="MHillas", const char type='>', const Float_t deg=15); 33 MFAlpha(const MHillasSrc *hillas, const char type='>', const Float_t deg=15); 33 MFAlpha(const char *cname="MHillas", const char type='>', const Float_t deg=15, 34 const char *name=NULL, const char *title=NULL); 35 MFAlpha(const MHillasSrc *hillas, const char type='>', const Float_t deg=15, 36 const char *name=NULL, const char *title=NULL); 34 37 35 38 Bool_t IsExpressionTrue() const; -
trunk/MagicSoft/Mars/mfilter/MFTriggerLvl1.cc
r1116 r1211 42 42 // -------------------------------------------------------------------------- 43 43 // 44 MFTriggerLvl1::MFTriggerLvl1(const char *cname, const char type, const Int_t val) : fMcTrig(NULL) 44 MFTriggerLvl1::MFTriggerLvl1(const char *cname, const char type, const Int_t val, 45 const char *name, const char *title) : fMcTrig(NULL) 45 46 { 46 47 fContName = cname; 47 Init(type, val );48 Init(type, val, name, title); 48 49 } 49 50 50 51 // -------------------------------------------------------------------------- 51 52 // 52 MFTriggerLvl1::MFTriggerLvl1(const MMcTrig *mctrig, const char type, const Int_t val) : fMcTrig(mctrig) 53 MFTriggerLvl1::MFTriggerLvl1(const MMcTrig *mctrig, const char type, const Int_t val, 54 const char *name, const char *title) : fMcTrig(mctrig) 53 55 { 54 Init(type, val );56 Init(type, val, name, title); 55 57 } 56 58 57 59 // -------------------------------------------------------------------------- 58 60 // 59 void MFTriggerLvl1::Init(const char type, const Int_t val) 61 void MFTriggerLvl1::Init(const char type, const Int_t val, 62 const char *name, const char *title) 60 63 { 64 fName = name ? name : "MFTriggerLvl1"; 65 fTitle = title ? title : "Filter using number of 1st level triggers"; 66 61 67 fFilterType = (type=='<' ? kELowerThan : kEGreaterThan); 62 68 -
trunk/MagicSoft/Mars/mfilter/MFTriggerLvl1.h
r1015 r1211 27 27 Int_t fValue; 28 28 29 void Init(const char type, const Int_t val); 29 void Init(const char type, const Int_t val, 30 const char *name, const char *title); 30 31 31 32 public: 32 MFTriggerLvl1(const char *cname="MMcTrig", const char type='>', const Int_t val=0); 33 MFTriggerLvl1(const MMcTrig *mctrig, const char type='>', const Int_t val=0); 33 MFTriggerLvl1(const char *cname="MMcTrig", const char type='>', const Int_t val=0, 34 const char *name=NULL, const char *title=NULL); 35 MFTriggerLvl1(const MMcTrig *mctrig, const char type='>', const Int_t val=0, 36 const char *name=NULL, const char *title=NULL); 34 37 35 38 Bool_t IsExpressionTrue() const;
Note:
See TracChangeset
for help on using the changeset viewer.