19 |
*/ |
*/ |
20 |
class BlindCutCollection: public PamCutCollection { |
class BlindCutCollection: public PamCutCollection { |
21 |
public: |
public: |
22 |
/*! @brief Constructor. */ |
/*! @brief Constructor. |
23 |
BlindCutCollection(const char *cutName): PamCutCollection(cutName){ |
* |
24 |
|
* @param collectionName The collection's name. |
25 |
|
* @param owns If true, the collection will own the cuts, ie., it will |
26 |
|
* destroy them in its destructor. |
27 |
|
*/ |
28 |
|
BlindCutCollection(const char *collectionName, bool owns = true) : |
29 |
|
PamCutCollection(collectionName, owns) { |
30 |
} |
} |
31 |
|
|
32 |
/*! @brief Destructor. */ |
/*! @brief Destructor. */ |
38 |
* This method checks all the cuts for the current event. It exits only after |
* This method checks all the cuts for the current event. It exits only after |
39 |
* all the cuts have been evaluated. Note that it doesn't call OnGood() nor OnBad(), not |
* all the cuts have been evaluated. Note that it doesn't call OnGood() nor OnBad(), not |
40 |
* even for the PamCut objects in the collection. |
* even for the PamCut objects in the collection. |
41 |
|
* |
42 |
|
* @param event The event to analyze. |
43 |
* @return the index of the first failed cut (range: [0, \#cuts-1], see AddCut()); \ |
* @return the index of the first failed cut (range: [0, \#cuts-1], see AddCut()); \ |
44 |
* #CUTOK if the event satisfies all the cuts. |
* #CUTOK if the event satisfies all the cuts. |
45 |
*/ |
*/ |
61 |
|
|
62 |
}; |
}; |
63 |
|
|
|
|
|
|
|
|
64 |
#endif /* BLINDCUTCOLLECTION_H_ */ |
#endif /* BLINDCUTCOLLECTION_H_ */ |