Changeset 2029 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 04/28/03 16:19:37 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MHillasCalc.cc
r2028 r2029 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de>19 ! Author(s): Harald Kornmayer 1/2001 (harald@mppmu.mpg.de)18 ! Author(s): Thomas Bretz, 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de> 19 ! Author(s): Harald Kornmayer, 1/2001 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 221 ! Copyright: MAGIC Software Development, 2000-2003 22 22 ! 23 23 ! … … 54 54 // 55 55 ///////////////////////////////////////////////////////////////////////////// 56 57 56 #include "MHillasCalc.h" 58 57 … … 75 74 // 76 75 MHillasCalc::MHillasCalc(const char *name, const char *title) 76 : fHilName("MHillas"), fHilExtName("MHillasExt"), 77 fImgParName("MNewImagePar"), fFlags(0xff) 77 78 { 78 79 fName = name ? name : "MHillasCalc"; 79 80 fTitle = title ? title : "Calculate Hillas parameters"; 80 81 fHilName = "MHillas";82 fHilExtName = "MHillasExt";83 fImgParName = "MNewImagePar";84 85 fFlags = 0xff;86 81 } 87 82 … … 89 84 // 90 85 // Check for a MCerPhotEvt object from which the Hillas are calculated. 91 // Try to find the Geometry conatiner. And try to find the output 92 // (Hillas) container or create one. 86 // Try to find the Geometry conatiner. Depending on the flags 87 // try to find (and maybe create) the containers MHillas, MHillasExt, 88 // MNewImagePar, too. 93 89 // 94 90 Bool_t MHillasCalc::PreProcess(MParList *pList) … … 110 106 } 111 107 112 // sometimes necessary108 // depend on whether MHillas is an in- or output container 113 109 if (TestFlag(kCalcHillas)) 114 110 fHillas = (MHillas*)pList->FindCreateObj("MHillas", fHilName); … … 121 117 return kFALSE; 122 118 119 // if enabled 123 120 if (TestFlag(kCalcHillasExt)) 124 121 { … … 128 125 } 129 126 127 // if enabled 130 128 if (TestFlag(kCalcNewImagePar)) 131 129 {
Note:
See TracChangeset
for help on using the changeset viewer.