Changeset 1921 for trunk/MagicSoft/Mars/mfilter
- Timestamp:
- 04/08/03 10:52:14 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mfilter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfilter/MFCT1SelFinal.cc
r1905 r1921 64 64 fTitle = title ? title : "Class to evaluate the Final Cuts"; 65 65 66 fHilName = HilName; 67 fHilSrcName = HilSrcName; 66 fHilName = HilName; 67 fHilSrcName = HilSrcName; 68 fHadronnessName = "MHadronness"; 68 69 69 70 // default values of cuts … … 106 107 } 107 108 108 fHadronness = (MHadronness*)pList->FindObject( "MHadronness");109 fHadronness = (MHadronness*)pList->FindObject(fHadronnessName, "MHadronness"); 109 110 if (!fHadronness) 110 111 { … … 171 172 *fLog << " " << setw(7) << fCut[1] << " (" << setw(3) 172 173 << (int)(fCut[1]*100/GetNumExecutions()) 173 << "%) Evts skipped due to: hadroness > "<< fHadronnessMax << endl; 174 << "%) Evts skipped due to: hadronness > "<< fHadronnessMax 175 << " (hadronness from '" << fHadronnessName << "')" << endl; 174 176 175 177 *fLog << " " << setw(7) << fCut[2] << " (" << setw(3) -
trunk/MagicSoft/Mars/mfilter/MFCT1SelFinal.h
r1905 r1921 35 35 TString fHilName; 36 36 TString fHilSrcName; 37 TString fHadronnessName; 37 38 38 39 Float_t fHadronnessMax; … … 46 47 const char *name=NULL, const char *title=NULL); 47 48 49 void SetHadronnessName(const TString name) { fHadronnessName = name; } 48 50 Bool_t IsExpressionTrue() const { return fResult; } 49 51 … … 54 56 void SetCuts(Float_t hadmax, Float_t alphamax); 55 57 56 ClassDef(MFCT1SelFinal, 0) // Class to evaluate final cuts58 ClassDef(MFCT1SelFinal, 1) // Class to evaluate final cuts 57 59 }; 58 60
Note:
See TracChangeset
for help on using the changeset viewer.