#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< T > | analyzer_ |
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... | |
Definition at line 104 of file FWLiteAnalyzerWrapper.h.
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.
References fwlite::AnalyzerWrapper< T >::analyzer_, dir, fwlite::AnalyzerWrapper< T >::fileService_, edm::ParameterSet::getParameter(), and TFileDirectory::mkdir().
|
inlinevirtual |
|
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.
References loadConditions::analyzer_, fwlite::ChainEvent::atEnd(), gather_cfg::cout, event(), merge::inputFiles, and fwlite::ChainEvent::toBegin().
Referenced by main().
|
inlinevirtual |
everything which has to be done before the event loop
Definition at line 112 of file FWLiteAnalyzerWrapper.h.
References fwlite::AnalyzerWrapper< T >::analyzer_.
Referenced by main().
|
inlinevirtual |
everything which has to be done after the event loop
Definition at line 116 of file FWLiteAnalyzerWrapper.h.
References fwlite::AnalyzerWrapper< T >::analyzer_.
Referenced by main().
|
protected |
derived class of type BasicAnalyzer
Definition at line 130 of file FWLiteAnalyzerWrapper.h.
Referenced by fwlite::AnalyzerWrapper< T >::AnalyzerWrapper(), fwlite::AnalyzerWrapper< T >::beginJob(), and fwlite::AnalyzerWrapper< T >::endJob().
|
protected |
TFileService for histogram management.
Definition at line 128 of file FWLiteAnalyzerWrapper.h.
Referenced by fwlite::AnalyzerWrapper< T >::AnalyzerWrapper().
|
protected |
helper class for input parameter handling
Definition at line 120 of file FWLiteAnalyzerWrapper.h.
|
protected |
maximal number of events to be processed (-1 means to loop over all event)
Definition at line 124 of file FWLiteAnalyzerWrapper.h.
|
protected |
helper class for output file handling
Definition at line 122 of file FWLiteAnalyzerWrapper.h.
|
protected |
number of events after which the progress will be reported (0 means no report)
Definition at line 126 of file FWLiteAnalyzerWrapper.h.