Changeset 1947 for trunk/MagicSoft/Mars/manalysis/MCT1SupercutsCalc.cc
- Timestamp:
- 04/11/03 19:42:54 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCT1SupercutsCalc.cc
r1934 r1947 136 136 // 137 137 MCT1SupercutsCalc::MCT1SupercutsCalc(const char *hilname, 138 const char *hilsrcname, const char *name, const char *title) 138 const char *hilsrcname, const char *name, const char *title) 139 : fHadronnessName("MHadronness"), fHilName(hilname), fHilSrcName(hilsrcname) 139 140 { 140 141 fName = name ? name : "MCT1SupercutsCalc"; 141 142 fTitle = title ? title : "Class to evaluate the Supercuts"; 142 143 143 fHilName = hilname;144 fHilSrcName = hilsrcname;145 146 144 InitParams(); 147 145 } … … 186 184 return kFALSE; 187 185 } 188 189 186 190 187 fCam = (MGeomCam*)pList->FindObject("MGeomCam"); … … 274 271 // << width << endl; 275 272 276 if ( newdist < 1.05277 && newdist < CtsMCut (fDistUp, dmls, dmcza, dmls2, dd2)278 && newdist > CtsMCut (fDistLo, dmls, dmcza, dmls2, dd2)279 && dist < 1.05280 && length < CtsMCut (fLengthUp, dmls, dmcza, dmls2, dd2)281 && length > CtsMCut (fLengthLo, dmls, dmcza, dmls2, dd2)282 && width < CtsMCut (fWidthUp, dmls, dmcza, dmls2, dd2)283 && width > CtsMCut (fWidthLo, dmls, dmcza, dmls2, dd2)284 //&& asym < CtsMCut (asymup, dmls, dmcza, dmls2, dd2)285 //&& asym > CtsMCut (asymlow, dmls, dmcza, dmls2, dd2)286 && dist < CtsMCut (fDistUp, dmls, dmcza, dmls2, dd2)287 && dist> CtsMCut (fDistLo, dmls, dmcza, dmls2, dd2) )288 fHadronness->SetHadronness(0.25);273 if (newdist < 1.05 && 274 newdist < CtsMCut (fDistUp, dmls, dmcza, dmls2, dd2) && 275 newdist > CtsMCut (fDistLo, dmls, dmcza, dmls2, dd2) && 276 dist < 1.05 && 277 length < CtsMCut (fLengthUp, dmls, dmcza, dmls2, dd2) && 278 length > CtsMCut (fLengthLo, dmls, dmcza, dmls2, dd2) && 279 width < CtsMCut (fWidthUp, dmls, dmcza, dmls2, dd2) && 280 width > CtsMCut (fWidthLo, dmls, dmcza, dmls2, dd2) && 281 //asym < CtsMCut (asymup, dmls, dmcza, dmls2, dd2) && 282 //asym > CtsMCut (asymlow, dmls, dmcza, dmls2, dd2) && 283 dist < CtsMCut (fDistUp, dmls, dmcza, dmls2, dd2) && 284 dist > CtsMCut (fDistLo, dmls, dmcza, dmls2, dd2) ) 285 fHadronness->SetHadronness(0.25); 289 286 else 290 fHadronness->SetHadronness(0.75); 287 fHadronness->SetHadronness(0.75); 288 289 fHadronness->SetReadyToSave(); 291 290 292 291 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.