119 |
*/ |
*/ |
120 |
virtual void Setup(PamLevel2 *events); |
virtual void Setup(PamLevel2 *events); |
121 |
|
|
122 |
/*! @brief The post-analysis task definition. |
/*! @brief The post-analysis task definition. |
123 |
* |
* |
124 |
* This method is automatically called by Process() after the event selection has been |
* This method is automatically called by Process() after the event selection has been |
125 |
* performed; override this in derived classes to perform post-analysis tasks like writing |
* performed; override this in derived classes to perform post-analysis tasks like writing |
173 |
|
|
174 |
/*! @brief Constructor. |
/*! @brief Constructor. |
175 |
* |
* |
176 |
* @param cutName The cut's name. |
* @param collectionName The collection's name. |
177 |
*/ |
*/ |
178 |
PamCutCollection(const char *cutName) : |
PamCutCollection(const char *collectionName) : |
179 |
PamCut(cutName) { |
PamCut(collectionName) { |
180 |
} |
} |
181 |
|
|
182 |
/*! @brief Destructor. */ |
/*! @brief Destructor. */ |
197 |
* Like in the mother class, this method performs a basic check on the current event: it calls |
* Like in the mother class, this method performs a basic check on the current event: it calls |
198 |
* Check() for each cut previously added with AddCut(), exiting if one of them is not satisfied. |
* Check() for each cut previously added with AddCut(), exiting if one of them is not satisfied. |
199 |
* |
* |
200 |
|
* @param event The event to analyze. |
201 |
* @return the index of the failed cut (range: [0, \#cuts-1], see AddCut()); #CUTOK if the event |
* @return the index of the failed cut (range: [0, \#cuts-1], see AddCut()); #CUTOK if the event |
202 |
* satisfies all the cuts. |
* satisfies all the cuts. |
203 |
*/ |
*/ |
230 |
*/ |
*/ |
231 |
unsigned int GetSize(); |
unsigned int GetSize(); |
232 |
|
|
|
|
|
233 |
/*! @brief The pre-analysis task definition. |
/*! @brief The pre-analysis task definition. |
234 |
* |
* |
235 |
* This override of the Setup() method calls Setup() for the base class PamCut, and subsequently for each cut |
* This override of the Setup() method calls Setup() for the base class PamCut, and subsequently for each cut |