Changeset 2125
- Timestamp:
- 05/20/03 11:15:22 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2123 r2125 23 23 - removed wrong EOL characters 24 24 25 26 25 * macros/multidimdist2.C: 26 - made variable names unique 27 28 * macros/star.C: 29 - added sigmabar 30 31 * macros/status.C: 32 - added sigmabar 33 - added MHSigmaTheta 34 35 * manalysis/AnalysisLinkDef.h, manalysis/Makefile: 36 - added MFiltercutsCalc 37 38 * manalysis/MFiltercutsCalc.[h,cc]: 39 - added 40 41 42 27 43 2003/05/19: Thomas Bretz 28 44 -
trunk/MagicSoft/Mars/manalysis/MFiltercutsCalc.cc
r2124 r2125 24 24 25 25 ///////////////////////////////////////////////////////////////////////////// 26 // 27 // MFiltercutsCalc 28 // 26 // 27 // MFiltercutsCalc 28 // 29 // This class sets the hadronness to 0.25 if the evaluttion of the cuts 30 // is true, otherwise 0.75. 31 // 32 // The cuts can be set by AddCut (see there for mor information) 33 // 34 // All single cuts are linked with a logical and ('&&') 35 // 29 36 ///////////////////////////////////////////////////////////////////////////// 30 37 #include "MFiltercutsCalc.h" … … 43 50 // -------------------------------------------------------------------------- 44 51 // 52 // Default constructor. Creates the filter list. 53 // 45 54 MFiltercutsCalc::MFiltercutsCalc(const char *name, const char *title) 46 55 : fHadronnessName("MHadronness") … … 53 62 } 54 63 64 // -------------------------------------------------------------------------- 65 // 66 // Delete the filter list. 67 // 55 68 MFiltercutsCalc::~MFiltercutsCalc() 56 69 { … … 58 71 } 59 72 73 // -------------------------------------------------------------------------- 74 // 75 // Add the filter to the list. Set the rule as its name. 76 // 60 77 void MFiltercutsCalc::AddToList(MFilter *f) 61 78 { … … 64 81 } 65 82 83 // -------------------------------------------------------------------------- 84 // 85 // Print the rule of the list. 86 // 66 87 void MFiltercutsCalc::Print(Option_t *opt) const 67 88 { … … 117 138 // -------------------------------------------------------------------------- 118 139 // 140 // Search for fHadronnessName [MHadronness] to store the hadronness in 141 // there. PreProcess the filter list. 142 // 119 143 Bool_t MFiltercutsCalc::PreProcess(MParList *pList) 120 144 { … … 129 153 } 130 154 155 // -------------------------------------------------------------------------- 156 // 157 // Evaluate the filter list. if the Expression is true set hadronness to 158 // 0.25, otherwise to 0.75. 159 // 131 160 Bool_t MFiltercutsCalc::Process() 132 161 {
Note:
See TracChangeset
for help on using the changeset viewer.