1 #ifndef HLTMONSIMPLEBTAG_H
2 #define HLTMONSIMPLEBTAG_H
71 std::string
makeEffName(std::string trig1, std::string trig2){std::string
result=
"effRelative_"+trig1+
"_passedanddivby_"+trig2;
return result;}
138 double ptmin,
double ptmax
MonitorElement * getEtHisto()
const std::string getName(void) const
std::vector< PathInfo >::iterator find(std::string pathName)
std::vector< std::pair< std::string, std::string > > triggerMap_
bool operator==(const std::string v)
void beginRun(const edm::Run &run, const edm::EventSetup &c)
MonitorElement * getEtaVsPhiHisto()
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
MonitorElement * etavsphi_
edm::InputTag triggerSummaryLabel_
PathInfoCollection hltEfficiencies_
PathInfo(std::string pathName, float ptmin, float ptmax)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
void setHistos(MonitorElement *const et, MonitorElement *const eta, MonitorElement *const phi, MonitorElement *const etavsphi)
HLTMonSimpleBTag(const edm::ParameterSet &)
PathInfo(std::string pathName, MonitorElement *et, MonitorElement *eta, MonitorElement *phi, MonitorElement *etavsphi, double ptmin, double ptmax)
std::string makeEffNumeratorName(std::string trig1, std::string trig2)
PathInfoCollection hltPaths_
MonitorElement * getPhiHisto()
void doEffCalc(MonitorElement *eff, MonitorElement *num, MonitorElement *denom)
void endRun(const edm::Run &run, const edm::EventSetup &c)
EndRun.
MonitorElement * getEtaHisto()
void calcEff(void)
calcEff: calculates efficiency using histograms booked in std::map<std::string,std::string> triggerMa...
edm::InputTag triggerResultLabel_
std::string makeEffName(std::string trig1, std::string trig2)