CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
fwlite::AnalyzerWrapper< T > Class Template Reference

#include <FWLiteAnalyzerWrapper.h>

Public Member Functions

virtual void analyze ()
 everything which has to be done during the event loop. NOTE: the event will be looped inside this function More...
 
 AnalyzerWrapper (const edm::ParameterSet &cfg, std::string analyzerName, std::string directory="")
 default constructor More...
 
virtual void beginJob ()
 everything which has to be done before the event loop More...
 
virtual void endJob ()
 everything which has to be done after the event loop More...
 
virtual ~AnalyzerWrapper ()
 default destructor More...
 

Protected Attributes

boost::shared_ptr< Tanalyzer_
 derived class of type BasicAnalyzer More...
 
fwlite::TFileService fileService_
 TFileService for histogram management. More...
 
fwlite::InputSource inputHandler_
 helper class for input parameter handling More...
 
int maxEvents_
 maximal number of events to be processed (-1 means to loop over all event) More...
 
fwlite::OutputFiles outputHandler_
 helper class for output file handling More...
 
unsigned int reportAfter_
 number of events after which the progress will be reported (0 means no report) More...
 

Detailed Description

template<class T>
class fwlite::AnalyzerWrapper< T >

Definition at line 104 of file FWLiteAnalyzerWrapper.h.

Constructor & Destructor Documentation

template<class T >
fwlite::AnalyzerWrapper< T >::AnalyzerWrapper ( const edm::ParameterSet cfg,
std::string  analyzerName,
std::string  directory = "" 
)

default constructor

default contructor

Definition at line 135 of file FWLiteAnalyzerWrapper.h.

template<class T >
virtual fwlite::AnalyzerWrapper< T >::~AnalyzerWrapper ( )
inlinevirtual

default destructor

Definition at line 110 of file FWLiteAnalyzerWrapper.h.

Member Function Documentation

template<class T >
void fwlite::AnalyzerWrapper< T >::analyze ( void  )
virtual

everything which has to be done during the event loop. NOTE: the event will be looped inside this function

Definition at line 154 of file FWLiteAnalyzerWrapper.h.

Referenced by main().

template<class T >
virtual void fwlite::AnalyzerWrapper< T >::beginJob ( void  )
inlinevirtual

everything which has to be done before the event loop

Definition at line 112 of file FWLiteAnalyzerWrapper.h.

Referenced by main().

template<class T >
virtual void fwlite::AnalyzerWrapper< T >::endJob ( void  )
inlinevirtual

everything which has to be done after the event loop

Definition at line 116 of file FWLiteAnalyzerWrapper.h.

Referenced by main().

Member Data Documentation

template<class T >
boost::shared_ptr<T> fwlite::AnalyzerWrapper< T >::analyzer_
protected

derived class of type BasicAnalyzer

Definition at line 130 of file FWLiteAnalyzerWrapper.h.

template<class T >
fwlite::TFileService fwlite::AnalyzerWrapper< T >::fileService_
protected

TFileService for histogram management.

Definition at line 128 of file FWLiteAnalyzerWrapper.h.

template<class T >
fwlite::InputSource fwlite::AnalyzerWrapper< T >::inputHandler_
protected

helper class for input parameter handling

Definition at line 120 of file FWLiteAnalyzerWrapper.h.

template<class T >
int fwlite::AnalyzerWrapper< T >::maxEvents_
protected

maximal number of events to be processed (-1 means to loop over all event)

Definition at line 124 of file FWLiteAnalyzerWrapper.h.

template<class T >
fwlite::OutputFiles fwlite::AnalyzerWrapper< T >::outputHandler_
protected

helper class for output file handling

Definition at line 122 of file FWLiteAnalyzerWrapper.h.

template<class T >
unsigned int fwlite::AnalyzerWrapper< T >::reportAfter_
protected

number of events after which the progress will be reported (0 means no report)

Definition at line 126 of file FWLiteAnalyzerWrapper.h.