Changeset 1762 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 02/19/03 13:47:29 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MHillasCalc.cc
r1542 r1762 84 84 } 85 85 86 fHillas = (MHillas*)pList->FindCreateObj( fHilName);86 fHillas = (MHillas*)pList->FindCreateObj("MHillas",fHilName); 87 87 if (!fHillas) 88 88 return kFALSE; -
trunk/MagicSoft/Mars/manalysis/MHillasSrcCalc.cc
r1542 r1762 56 56 // The default is "MHillasSrc" 57 57 // 58 //MHillasSrcCalc::MHillasSrcCalc(const char *src, const char *hil, 59 // const char *name, const char *title) 60 // : fHillas(NULL), fSrcPos(NULL), fHillasSrc(NULL) 61 //{ 62 // fName = name ? name : gsDefName.Data(); 63 // fTitle = title ? title : gsDefTitle.Data(); 64 65 // fSrcName = src; 66 // fHillasName = hil; 67 // fHillasInput = "MHillas"; 68 //} 69 // ------------------------------------------------------------------------- 70 // 58 71 MHillasSrcCalc::MHillasSrcCalc(const char *src, const char *hil, 59 const char *name, const char *title) 72 const char *name, const char *title, 73 const char *hilinput) 60 74 : fHillas(NULL), fSrcPos(NULL), fHillasSrc(NULL) 61 75 { … … 65 79 fSrcName = src; 66 80 fHillasName = hil; 81 fHillasInput = hilinput; 67 82 } 68 83 … … 71 86 Bool_t MHillasSrcCalc::PreProcess(MParList *pList) 72 87 { 73 fHillas = (MHillas*)pList->FindObject( "MHillas");88 fHillas = (MHillas*)pList->FindObject(fHillasInput); 74 89 if (!fHillas) 75 90 { -
trunk/MagicSoft/Mars/manalysis/MHillasSrcCalc.h
r1540 r1762 19 19 TString fSrcName; 20 20 TString fHillasName; 21 TString fHillasInput; 21 22 22 23 Int_t fErrors; … … 29 30 30 31 public: 32 // MHillasSrcCalc(const char *src="MSrcPosCam", const char *hil="MHillasSrc", 33 // const char *name=NULL, const char *title=NULL); 34 31 35 MHillasSrcCalc(const char *src="MSrcPosCam", const char *hil="MHillasSrc", 32 const char *name=NULL, const char *title=NULL); 36 const char *name=NULL, const char *title=NULL, 37 const char *hilinput="MHillas"); 33 38 34 39 ClassDef(MHillasSrcCalc, 1) // task to calculate the source position depandant hillas parameters
Note:
See TracChangeset
for help on using the changeset viewer.