Changeset 1862 for trunk/MagicSoft/Mars
- Timestamp:
- 03/24/03 11:49:25 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1861 r1862 5 5 - now energy estimation (for CT1) is done using the same model 6 6 as in D.Krannich's thesis. 7 8 9 10 2003/03/24: Thomas Bretz 11 12 * manalysis/MHillasSrcCalc.[h,cc]: 13 - removed last argument in constructor, replaced by SetInput 14 15 * mfilter/MFEventSelector.[h,cc]: 16 - removed unnecessary last argument 17 18 19 7 20 8 21 2003/03/21: Thomas Hengstebeck -
trunk/MagicSoft/Mars/manalysis/MHillasSrcCalc.cc
r1762 r1862 70 70 // 71 71 MHillasSrcCalc::MHillasSrcCalc(const char *src, const char *hil, 72 const char *name, const char *title, 73 const char *hilinput) 72 const char *name, const char *title) 74 73 : fHillas(NULL), fSrcPos(NULL), fHillasSrc(NULL) 75 74 { … … 77 76 fTitle = title ? title : gsDefTitle.Data(); 78 77 79 fSrcName = src;80 fHillasName = hil;81 fHillasInput = hilinput;78 fSrcName = src; 79 fHillasName = hil; 80 fHillasInput = "MHillas"; 82 81 } 83 82 … … 86 85 Bool_t MHillasSrcCalc::PreProcess(MParList *pList) 87 86 { 88 fHillas = (MHillas*)pList->FindObject(fHillasInput );87 fHillas = (MHillas*)pList->FindObject(fHillasInput, "MHillas"); 89 88 if (!fHillas) 90 89 { -
trunk/MagicSoft/Mars/manalysis/MHillasSrcCalc.h
r1762 r1862 34 34 35 35 MHillasSrcCalc(const char *src="MSrcPosCam", const char *hil="MHillasSrc", 36 const char *name=NULL, const char *title=NULL, 37 const char *hilinput="MHillas"); 36 const char *name=NULL, const char *title=NULL); 37 38 void SetInput(TSTring hilname) { fHillasName = hilname; } 38 39 39 40 ClassDef(MHillasSrcCalc, 1) // task to calculate the source position depandant hillas parameters -
trunk/MagicSoft/Mars/mfilter/MFEventSelector.cc
r1809 r1862 94 94 // the class description above. 95 95 // 96 MFEventSelector::MFEventSelector(const char *name, const char *title, 97 const char *read) 96 MFEventSelector::MFEventSelector(const char *name, const char *title) 98 97 : fNumTotalEvts(-1), fNumSelectEvts(-1), fSelRatio(-1), fNumSelectedEvts(0) 99 98 { 100 99 fName = name ? name : gsDefName.Data(); 101 100 fTitle = title ? title : gsDefTitle.Data(); 102 103 fRead = read;104 101 } 105 102 … … 132 129 return kFALSE; 133 130 } 134 MRead *read = (MRead*)tlist->FindObject(fRead); 131 132 MRead *read = (MRead*)tlist->FindObject("MRead"); 135 133 if (!read) 136 134 { -
trunk/MagicSoft/Mars/mfilter/MFEventSelector.h
r1809 r1862 24 24 25 25 Bool_t fResult; 26 TString fRead;27 26 28 27 void StreamPrimitive(ofstream &out) const; … … 41 40 public: 42 41 // MFEventSelector(); 43 MFEventSelector(const char *name=NULL, const char *title=NULL, 44 const char *read="MRead"); 42 MFEventSelector(const char *name=NULL, const char *title=NULL); 45 43 ~MFEventSelector(); 46 44
Note:
See TracChangeset
for help on using the changeset viewer.