|
|
Go to the documentation of this file.
11 hypoClassKey_(
cfg.getParameter<
std::
string>(
"hypoClassKey")) {}
85 if (topPair && genTopPair)
87 if (hadW && genHadW) {
93 if (hadTop && genHadTop) {
98 if (lepW && genLepW) {
104 if (lepTop && genLepTop) {
109 if (neutrino && genNeutrino)
119 if (hadTop && genHadTop) {
135 neutrinoEta_ = fs->
make<TH1F>(
"neutrinoEta",
"#eta (neutrino)", 21, -4., 4.);
136 neutrinoPullEta_ = fs->
make<TH1F>(
"neutrinoPullEta",
"(#eta_{rec}-#eta_{gen})/#eta_{gen} (neutrino)", 40, -1., 1.);
138 hadWPt_ = fs->
make<TH1F>(
"hadWPt",
"p_{T} (W_{had}) [GeV]", 25, 0., 500.);
139 hadWEta_ = fs->
make<TH1F>(
"hadWEta",
"#eta (W_{had})", 21, -4., 4.);
140 hadWMass_ = fs->
make<TH1F>(
"hadWMass",
"M (W_{had}) [GeV]", 25, 0., 200.);
142 hadTopPt_ = fs->
make<TH1F>(
"hadTopPt",
"p_{T} (t_{had}) [GeV]", 25, 0., 500.);
143 hadTopEta_ = fs->
make<TH1F>(
"hadTopEta",
"#eta (t_{had})", 21, -4., 4.);
144 hadTopMass_ = fs->
make<TH1F>(
"hadTopMass",
"M (t_{had}) [GeV]", 40, 0., 400.);
146 lepWPt_ = fs->
make<TH1F>(
"lepWPt",
"p_{t} (W_{lep}) [GeV]", 25, 0., 500.);
147 lepWEta_ = fs->
make<TH1F>(
"lepWEta",
"#eta (W_{lep})", 21, -4., 4.);
148 lepWMass_ = fs->
make<TH1F>(
"lepWMass",
"M (W_{lep}) [GeV]", 25, 0., 200.);
150 lepTopPt_ = fs->
make<TH1F>(
"lepTopPt",
"p_{T} (t_{lep}) [GeV]", 25, 0., 500.);
151 lepTopEta_ = fs->
make<TH1F>(
"lepTopEta",
"#eta (t_{lep})", 21, -4., 4.);
152 lepTopMass_ = fs->
make<TH1F>(
"lepTopMass",
"M (t_{lep}) [GeV]", 40, 0., 400.);
154 hadWPullPt_ = fs->
make<TH1F>(
"hadWPullPt",
"(p_{T,rec}-p_{T,gen})/p_{T,gen} (W_{had})", 40, -1., 1.);
155 hadWPullEta_ = fs->
make<TH1F>(
"hadWPullEta",
"(#eta_{rec}-#eta_{gen})/#eta_{gen} (W_{had})", 40, -1., 1.);
156 hadWPullMass_ = fs->
make<TH1F>(
"hadWPullMass",
"(M_{rec}-M_{gen})/M_{gen} (W_{had})", 40, -1., 1.);
158 hadTopPullPt_ = fs->
make<TH1F>(
"hadTopPullPt",
"(p_{T,rec}-p_{T,gen})/p_{T,gen} (t_{had})", 40, -1., 1.);
159 hadTopPullEta_ = fs->
make<TH1F>(
"hadTopPullEta",
"(#eta_{rec}-#eta_{gen})/#eta_{gen} (t_{had})", 40, -1., 1.);
160 hadTopPullMass_ = fs->
make<TH1F>(
"hadTopPullMass",
"(M_{rec}-M_{gen})/M_{gen} (t_{had})", 40, -1., 1.);
162 lepWPullPt_ = fs->
make<TH1F>(
"lepWPullPt",
"(p_{T,rec}-p_{T,gen})/p_{T,gen} (W_{lep})", 40, -1., 1.);
163 lepWPullEta_ = fs->
make<TH1F>(
"lepWPullEta",
"(#eta_{rec}-#eta_{gen})/#eta_{gen} (W_{lep})", 40, -1., 1.);
164 lepWPullMass_ = fs->
make<TH1F>(
"lepWPullMass",
"(M_{rec}-M_{gen})/M_{gen} (W_{lep})", 40, -1., 1.);
166 lepTopPullPt_ = fs->
make<TH1F>(
"lepTopPullPt",
"(p_{T,rec}-p_{T,gen})/p_{T,gen} (t_{lep})", 40, -1., 1.);
167 lepTopPullEta_ = fs->
make<TH1F>(
"lepTopPullEta",
"(#eta_{rec}-#eta_{gen})/#eta_{gen} (t_{lep})", 40, -1., 1.);
168 lepTopPullMass_ = fs->
make<TH1F>(
"lepTopPullMass",
"(M_{rec}-M_{gen})/M_{gen} (t_{lep})", 40, -1., 1.);
170 topPairMass_ = fs->
make<TH1F>(
"topPairMass",
"M (t#bar{t})", 36, 340., 940.);
171 topPairPullMass_ = fs->
make<TH1F>(
"topPairPullMass",
"(M_{rec}-M_{gen})/M_{gen} (t#bar{t})", 40, -1., 1.);
173 genMatchDr_ = fs->
make<TH1F>(
"genMatchDr",
"GenMatch #Sigma#DeltaR", 40, 0., 4.);
174 kinFitProb_ = fs->
make<TH1F>(
"kinFitProb",
"KinFit probability", 50, 0., 1.);
177 "GenMatch #Sigma #Delta R vs. (M_{rec}-M_{gen})/M_{gen} (t_{had}))",
185 "KinFit probability vs. (M_{rec}-M_{gen})/M_{gen} (t_{had}))",
TH2F * genMatchDrVsHadTopPullMass_
const reco::Candidate * leptonicDecayTop(const std::string &key, const unsigned &cmb=0) const
get leptonic top of the given hypothesis
bool isHypoValid(const std::string &key, const unsigned &cmb=0) const
check if hypothesis 'cmb' within the hypothesis class was valid; if not it lead to an empty Composite...
const edm::EDGetTokenT< TtSemiLeptonicEvent > semiLepEvtToken_
virtual double mass() const =0
mass
virtual double eta() const =0
momentum pseudorapidity
virtual double pt() const =0
transverse momentum
double genMatchSumDR(const unsigned &cmb=0) const
return the sum dr of the generator match if available; -1 else
Log< level::Info, false > LogInfo
double fitProb(const unsigned &cmb=0) const
return the fit probability of hypothesis 'cmb' if available; -1 else
Class derived from the TtEvent for the semileptonic decay channel.
const reco::Candidate * hadronicDecayTop(const std::string &key, const unsigned &cmb=0) const
get hadronic top of the given hypothesis
const reco::Candidate * hadronicDecayW(const std::string &key, const unsigned &cmb=0) const
get hadronic W of the given hypothesis
const reco::Candidate * leptonicDecayW(const std::string &key, const unsigned &cmb=0) const
get leptonic W of the given hypothesis
TH2F * kinFitProbVsHadTopPullMass_
const reco::Candidate * singleNeutrino(const std::string &key, const unsigned &cmb=0) const
get leptonic light quark of the given hypothesis
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
HypothesisAnalyzer(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
const reco::Candidate * topPair(const std::string &key, const unsigned &cmb=0) const
get combined 4-vector of top and topBar of the given hypothesis
const std::string hypoClassKey_
T * make(const Args &... args) const
make new ROOT object