#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 103 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 134 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 153 of file FWLiteAnalyzerWrapper.h.
References fwlite::AnalyzerWrapper< T >::analyzer_, fwlite::ChainEvent::atEnd(), gather_cfg::cout, event(), fwlite::InputSource::files(), merge::inputFiles, fwlite::AnalyzerWrapper< T >::inputHandler_, fwlite::AnalyzerWrapper< T >::maxEvents_, fwlite::AnalyzerWrapper< T >::reportAfter_, and fwlite::ChainEvent::toBegin().
Referenced by fwlite::AnalyzerWrapper< T >::beginJob(), and main().
|
inlinevirtual |
everything which has to be done before the event loop
Definition at line 111 of file FWLiteAnalyzerWrapper.h.
References fwlite::AnalyzerWrapper< T >::analyze(), and fwlite::AnalyzerWrapper< T >::analyzer_.
Referenced by main().
|
inlinevirtual |
everything which has to be done after the event loop
Definition at line 115 of file FWLiteAnalyzerWrapper.h.
References fwlite::AnalyzerWrapper< T >::analyzer_.
Referenced by main().
|
protected |
derived class of type BasicAnalyzer
Definition at line 129 of file FWLiteAnalyzerWrapper.h.
Referenced by fwlite::AnalyzerWrapper< T >::analyze(), fwlite::AnalyzerWrapper< T >::AnalyzerWrapper(), fwlite::AnalyzerWrapper< T >::beginJob(), and fwlite::AnalyzerWrapper< T >::endJob().
|
protected |
TFileService for histogram management.
Definition at line 127 of file FWLiteAnalyzerWrapper.h.
Referenced by fwlite::AnalyzerWrapper< T >::AnalyzerWrapper().
|
protected |
helper class for input parameter handling
Definition at line 119 of file FWLiteAnalyzerWrapper.h.
Referenced by fwlite::AnalyzerWrapper< T >::analyze().
|
protected |
maximal number of events to be processed (-1 means to loop over all event)
Definition at line 123 of file FWLiteAnalyzerWrapper.h.
Referenced by fwlite::AnalyzerWrapper< T >::analyze().
|
protected |
helper class for output file handling
Definition at line 121 of file FWLiteAnalyzerWrapper.h.
|
protected |
number of events after which the progress will be reported (0 means no report)
Definition at line 125 of file FWLiteAnalyzerWrapper.h.
Referenced by fwlite::AnalyzerWrapper< T >::analyze().