--- PamCut/Collections/BlindCutCollection/BlindCutCollection.h 2009/05/29 10:10:18 1.2 +++ PamCut/Collections/BlindCutCollection/BlindCutCollection.h 2009/10/27 10:18:53 1.4 @@ -22,9 +22,11 @@ /*! @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) : - PamCutCollection(collectionName) { + BlindCutCollection(const char *collectionName, bool owns = true) : + PamCutCollection(collectionName, owns) { } /*! @brief Destructor. */ @@ -36,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. */