--- PamCut/Collections/BlindCutCollection/BlindCutCollection.h 2009/05/27 13:30:09 1.1 +++ PamCut/Collections/BlindCutCollection/BlindCutCollection.h 2009/10/27 10:18:53 1.4 @@ -19,8 +19,14 @@ */ class BlindCutCollection: public PamCutCollection { public: - /*! @brief Constructor. */ - BlindCutCollection(const char *cutName): PamCutCollection(cutName){ + /*! @brief Constructor. + * + * @param collectionName The collection's name. + * @param owns If true, the collection will own the cuts, ie., it will + * destroy them in its destructor. + */ + BlindCutCollection(const char *collectionName, bool owns = true) : + PamCutCollection(collectionName, owns) { } /*! @brief Destructor. */ @@ -32,6 +38,8 @@ * This method checks all the cuts for the current event. It exits only after * all the cuts have been evaluated. Note that it doesn't call OnGood() nor OnBad(), not * even for the PamCut objects in the collection. + * + * @param event The event to analyze. * @return the index of the first failed cut (range: [0, \#cuts-1], see AddCut()); \ * #CUTOK if the event satisfies all the cuts. */ @@ -53,6 +61,4 @@ }; - - #endif /* BLINDCUTCOLLECTION_H_ */