VerboseCollection Class Reference

A smart collection which prints selection reports. More...

#include <VerboseCollection.h>

Inheritance diagram for VerboseCollection:

SmartCollection PamCutCollection PamCut

List of all members.

Public Member Functions

 VerboseCollection (const char *collectionName)
 Constructor.
 ~VerboseCollection ()
 Destructor.
void Finalize ()
 The post analysis task.


Detailed Description

A smart collection which prints selection reports.

This class inherits from SmartCollection, so it can handle actions. It is designed to automate a very common task: printing the selection results at the end of the analysis. Other desired tasks can be accomplished by means of actions.

Definition at line 20 of file VerboseCollection.h.


Constructor & Destructor Documentation

VerboseCollection::VerboseCollection ( const char *  collectionName  )  [inline]

Constructor.

Parameters:
collectionName The collection's name.

Definition at line 28 of file VerboseCollection.h.

VerboseCollection::~VerboseCollection (  )  [inline]

Destructor.

Definition at line 33 of file VerboseCollection.h.


Member Function Documentation

void VerboseCollection::Finalize (  )  [virtual]

The post analysis task.

This implementation simply prints the selection report, and then calls SmartColletion::Finalize().

Reimplemented from SmartCollection.

Definition at line 13 of file VerboseCollection.cpp.

References PamCutCollection::_cuts, PamCutCollection::GetCut(), PamCut::GetName(), PamCut::GetNEv(), PamCut::GetNGood(), and PamCutCollection::GetSize().


The documentation for this class was generated from the following files:

Generated on Wed May 27 15:21:56 2009 for PamCut by  doxygen 1.5.9