/[PAMELA software]/PamCut/Collections/VerboseBlindCollection/VerboseBlindCollection.h
ViewVC logotype

Annotation of /PamCut/Collections/VerboseBlindCollection/VerboseBlindCollection.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Oct 27 10:23:59 2009 UTC (15 years, 1 month ago) by pam-fi
Branch: MAIN
CVS Tags: Root_V8, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1, V9, HEAD
Branch point for: V8
Changes since 1.1: +4 -2 lines
File MIME type: text/plain
New ownership feature added.

1 pam-fi 1.1 /*
2     * VerboseBlindCollection.h
3     *
4     * Created on: 16-mag-2009
5     * Author: Nicola Mori
6     */
7    
8     /*! @file VerboseBlindCollection.h The VerboseBlindCollection class definition file */
9    
10     #ifndef VERBOSEBLINDCOLLECTION_H_
11     #define VERBOSEBLINDCOLLECTION_H_
12    
13     #include "../SmartBlindCollection/SmartBlindCollection.h"
14     /*! @brief A smart blind collection which prints selection reports.
15     *
16     * This class inherits from SmartBlindCollection, so it can handle actions. It is designed to
17     * automate a very common task: printing the selection results at the end of the analysis.
18     * Other desired tasks can be accomplished by means of actions.
19     */
20     class VerboseBlindCollection: public SmartBlindCollection {
21    
22     public:
23    
24     /*! @brief Constructor.
25     *
26     * @param collectionName The collection's name.
27 pam-fi 1.2 * @param owns If true, the collection will own the cuts and the actions, ie., it will
28     * destroy them in its destructor.
29 pam-fi 1.1 */
30 pam-fi 1.2 VerboseBlindCollection(const char *collectionName, bool owns = true) :
31     SmartBlindCollection(collectionName, owns) {
32 pam-fi 1.1 }
33    
34     /*! @brief Destructor. */
35     ~VerboseBlindCollection() {
36     }
37    
38     /*! @brief The post analysis task.
39     *
40     * This implementation simply prints the selection report, and then calls
41     * SmartColletion::Finalize().
42     */
43     void Finalize();
44    
45     };
46    
47     #endif /* VERBOSEBLINDCOLLECTION_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23