7 :vertexMaker (iConfig, consumesCollector()),
8 trackMaker (iConfig, consumesCollector()),
9 electronMaker (iConfig, consumesCollector()),
10 muonMaker (iConfig, consumesCollector()),
11 pfJetMaker (iConfig, consumesCollector()),
12 pfCandidateMaker (iConfig, consumesCollector()),
13 pfElectronMaker (iConfig, consumesCollector()),
14 gsfTrackMaker (iConfig, consumesCollector()),
15 recoConversionMaker(iConfig, consumesCollector()),
16 rhoMaker (iConfig, consumesCollector()),
17 pfMETMaker (iConfig, consumesCollector()),
18 mvaJetIdMaker (iConfig, consumesCollector())
35 std::vector<std::string> egammaweights = {
53 std::vector<std::string> muonisoweights = {
73 using namespace HWWFunctions;
113 if(hww.trks_trk_p4().size() < 2)
return;
121 std::vector<int> goodHyps;
122 for(
unsigned int i=0;
i < hww.hyp_p4().size();
i++){
124 goodHyps.push_back(
i);
128 if(goodHyps.size() > 0){
142 for(
unsigned int i=0;
i < goodHyps.size();
i++){
144 candidates.push_back(
i);
147 if(candidates.size()>0){
181 for (
unsigned int i=0;
i<4;
i++){
T getParameter(std::string const &) const
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
void setBinContent(int binx, double content)
set content of bin (1-D)
GSFTrackMaker gsfTrackMaker
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
#define DEFINE_FWK_MODULE(type)
bool passBaseline(HWW &, int, EGammaMvaEleEstimator *, MuonMVAEstimator *)
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
EGammaMvaEleEstimator * egammaMvaEleEstimator
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
void analyze(const edm::Event &, const edm::EventSetup &)
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
void doCutFlow(HWW &, int, EventMonitor::hypo_monitor &, EGammaMvaEleEstimator *, MuonMVAEstimator *)
HypDilepMaker hypDilepMaker
MVAJetIdMaker mvaJetIdMaker
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
PFElectronMaker pfElectronMaker
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
void initialize(std::string methodName, std::string weightsfile, EGammaMvaEleEstimator::MVAType type)
MonitorElement * book1D(Args &&...args)
ElectronMaker electronMaker
int bestHypothesis(HWW &hww, const std::vector< int > &)
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
MuonMVAEstimator * muonMVAEstimator
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
void initialize(std::string methodName, std::string weightsfile, MuonMVAEstimator::MVAType type)
bool passFirstCuts(HWW &, int)
void setCurrentFolder(const std::string &fullpath)
HWWAnalyzer(const edm::ParameterSet &)
MonitorElement * cutflowHist[4]
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
PFElToElAssMaker pfElToElAssMaker
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
PFCandidateMaker pfCandidateMaker
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
EventMonitor eventMonitor
RecoConversionMaker recoConversionMaker
std::vector< EventMonitor::Entry > counters
void count(HypothesisType type, const char *name, double weight=1.0)
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)