12 semiLepEvt_ (cfg.getParameter<edm::InputTag>(
"semiLepEvent")),
13 hypoClassKey_(cfg.getParameter<edm::InputTag>(
"hypoClassKey"))
35 if( !semiLepEvt->isHypoValid(hypoClassKey) ){
36 edm::LogInfo(
"HypothesisAnalyzer") <<
"Hypothesis not valid for this event";
44 const reco::Candidate* hadTop = semiLepEvt->hadronicDecayTop(hypoClassKey);
45 const reco::Candidate* hadW = semiLepEvt->hadronicDecayW (hypoClassKey);
80 if(hadTop && genHadTop) {
91 mvaDisc_ ->Fill(semiLepEvt->mvaDisc());
93 if(hadTop && genHadTop) {
112 hadWPt_ = fs->
make<TH1F>(
"hadWPt" ,
"p_{t} (W_{had}) [GeV]", 25, 0., 500.);
113 hadWEta_ = fs->
make<TH1F>(
"hadWEta" ,
"#eta (W_{had})" , 20, -4., 4.);
114 hadWMass_ = fs->
make<TH1F>(
"hadWMass",
"M (W_{had}) [GeV]" , 25, 0., 200.);
116 hadTopPt_ = fs->
make<TH1F>(
"hadTopPt" ,
"p_{t} (t_{had}) [GeV]", 25, 0. , 500.);
117 hadTopEta_ = fs->
make<TH1F>(
"hadTopEta" ,
"#eta (t_{had})" , 20, -4., 4.);
118 hadTopMass_ = fs->
make<TH1F>(
"hadTopMass",
"M (t_{had}) [GeV]" , 40, 0. , 400.);
120 hadWPullPt_ = fs->
make<TH1F>(
"hadWPullPt" ,
"(p_{t,rec}-p_{t,gen})/p_{t,gen} (W_{had})" , 40, -1., 1.);
121 hadWPullEta_ = fs->
make<TH1F>(
"hadWPullEta" ,
"(#eta_{rec}-#eta_{gen})/#eta_{gen} (W_{had})", 40, -1., 1.);
122 hadWPullMass_ = fs->
make<TH1F>(
"hadWPullMass",
"(M_{rec}-M_{gen})/M_{gen} (W_{had})" , 40, -1., 1.);
124 hadTopPullPt_ = fs->
make<TH1F>(
"hadTopPullPt" ,
"(p_{t,rec}-p_{t,gen})/p_{t,gen} (t_{had})" , 40, -1., 1.);
125 hadTopPullEta_ = fs->
make<TH1F>(
"hadTopPullEta" ,
"(#eta_{rec}-#eta_{gen})/#eta_{gen} (t_{had})", 40, -1., 1.);
126 hadTopPullMass_ = fs->
make<TH1F>(
"hadTopPullMass",
"(M_{rec}-M_{gen})/M_{gen} (t_{had})" , 40, -1., 1.);
128 genMatchDr_ = fs->
make<TH1F>(
"genMatchDr",
"GenMatch #Sigma #Delta R", 40, 0., 4.);
129 mvaDisc_ = fs->
make<TH1F>(
"mvaDisc" ,
"MVA discriminator" , 20, 0., 1.);
132 "GenMatch #Sigma #Delta R vs. (M_{rec}-M_{gen})/M_{gen} (t_{had}))",
133 40, -1., 1., 40, 0., 4.);
135 "MVA discriminator vs. (M_{rec}-M_{gen})/M_{gen} (t_{had}))",
136 40, -1., 1., 20, 0., 1.);
HypoClassKey
supported classes of event hypotheses
virtual void analyze(const edm::Event &, const edm::EventSetup &)
virtual double pt() const =0
transverse momentum
virtual double mass() const =0
mass
TH2F * mvaDiscVsHadTopPullMass_
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
HypothesisAnalyzer(const edm::ParameterSet &)
edm::InputTag semiLepEvt_
T * make() const
make new ROOT object
TH2F * genMatchDrVsHadTopPullMass_
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
virtual double eta() const =0
momentum pseudorapidity
edm::InputTag hypoClassKey_