1 #ifndef PhysicsTools_UtilAlgos_interface_EDAnalyzerWrapper_h 2 #define PhysicsTools_UtilAlgos_interface_EDAnalyzerWrapper_h 69 analyzer_ = std::shared_ptr<T>(
new T(
cfg, fileService->
tFileDirectory(), consumesCollector()));
static const std::string kSharedResource
TFileDirectory & tFileDirectory()
void endJob() override
everything which has to be done after the event loop
~AnalyzerWrapper() override
default destructor
AnalyzerWrapper(const edm::ParameterSet &cfg)
default contructor
void beginJob() override
everything which has to be done before the event loop
std::shared_ptr< T > analyzer_
shared pointer to analysis class of type BasicAnalyzer
void analyze(edm::Event const &event, const edm::EventSetup &eventSetup) override
everything which has to be done during the event loop. NOTE: We can't use the eventSetup in FWLite so...