48 , pathName_( iConfig.getParameter< std::string >(
"pathName" ) )
57 histo_ = fileService->
make< TH1D >(
"histo_", std::string(
"Prescale values of " +
pathName_ ).c_str(), 100, 0., 100.);
58 histo_->SetXTitle(
"event" );
59 histo_->SetYTitle(
"prescale" );
67 iEvent.
getByLabel(
"patTriggerEvent", triggerEvent );
#define DEFINE_FWK_MODULE(type)
Analysis-level HLTrigger path class.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::string pathName_
HLT path name configuration parameter.
PatTriggerAnalyzerPrescale(const edm::ParameterSet &iConfig)
default constructor
edm::Service< TFileService > fileService
virtual void endJob()
everything that needs to be done after the event loop
virtual void beginJob()
everything that needs to be done before the event loop
T * make() const
make new ROOT object
virtual void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup)
everything that needs to be done during the event loop
~PatTriggerAnalyzerPrescale()
default destructor