35 |
* @param collectionName The collection's name. |
* @param collectionName The collection's name. |
36 |
* @param outFileBase The output file base name. If "", no file output will be produced; otherwise, |
* @param outFileBase The output file base name. If "", no file output will be produced; otherwise, |
37 |
* a file named outFilebase + "-eff.txt" will be produced, containing the number of |
* a file named outFilebase + "-eff.txt" will be produced, containing the number of |
38 |
* events surviving the detector cuts (1st column), the selection cuts (2nd column) |
* events surviving the detector cuts (1st column), the selection cuts (2nd column), |
39 |
* and the efficiency (3rd column). |
* the efficiency (3rd column), the lower (4th column) and upper (5th column) length |
40 |
|
* of the efficiency's error bar. |
41 |
*/ |
*/ |
42 |
EffCollection(const char *collectionName, TString outFileBase = ""); |
EffCollection(const char *collectionName, TString outFileBase = ""); |
43 |
|
|
116 |
|
|
117 |
protected: |
protected: |
118 |
|
|
119 |
|
/*! This collection contains the selection cuts. */ |
120 |
SmartCollection _selCollection; |
SmartCollection _selCollection; |
121 |
|
|
122 |
|
/*! This collection contains the detector cuts. */ |
123 |
SmartCollection _detCollection; |
SmartCollection _detCollection; |
124 |
|
|
125 |
|
/*! The base name of the output file. */ |
126 |
TString _outFileBase; |
TString _outFileBase; |
127 |
unsigned int _det, _sel; |
|
128 |
|
/*! The number of events surviving the detector cuts. */ |
129 |
|
unsigned int _det; |
130 |
|
|
131 |
|
/*! The number of events surviving the selection cuts. */ |
132 |
|
unsigned int _sel; |
133 |
|
|
134 |
}; |
}; |
135 |
|
|