|
|
Go to the documentation of this file.
12 log <<
"++++++++++++++++++++++++++++++++++++++++++++++++++ \n";
16 log <<
" TtGenEvent not available! \n";
18 log <<
" TtGenEvent says: ";
21 else if (this->
genEvent()->isFullHadronic())
22 log <<
"Fully Hadronic TtBar";
23 else if (this->
genEvent()->isFullLeptonic())
24 log <<
"Fully Leptonic TtBar";
25 else if (this->
genEvent()->isSemiLeptonic()) {
26 log <<
"Semi-leptonic TtBar, ";
27 switch (this->
genEvent()->semiLeptonicChannel()) {
50 log <<
" - JetLepComb: ";
73 typedef std::map<HypoClassKey, std::vector<HypoCombPair> >::const_iterator EventHypo;
74 for (EventHypo hyp =
evtHyp_.begin(); hyp !=
evtHyp_.end(); ++hyp) {
77 log <<
"-------------------------------------------------- \n";
83 log <<
" WMassMaxSumPt";
86 log <<
" MaxSumPtWMass";
98 log <<
" KinSolution not (yet) applicable to TtSemiLeptonicEvent --> skipping";
101 log <<
" WMassDeltaTopMass";
107 log <<
" Unknown TtEvent::HypoClassKey provided --> skipping";
110 log <<
"-Hypothesis: \n";
115 log <<
" * Number of stored jet combinations: " << nOfHyp <<
"\n";
117 log <<
" The following was found to be the best one:\n";
122 for (
unsigned cmb = 0; cmb < nOfHyp; cmb++) {
125 log <<
" * Not valid! \n";
129 log <<
" * JetLepComb:";
131 for (
unsigned int iJet = 0; iJet <
jets.size(); iJet++) {
132 log <<
" " <<
jets[iJet] <<
" ";
143 <<
" * Discrim.: " << this->
mvaDisc(cmb) <<
" \n";
146 log <<
" * Chi^2 : " << this->
fitChi2(cmb) <<
" \n"
147 <<
" * Prob(Chi^2): " << this->
fitProb(cmb) <<
" \n";
151 <<
" * Prob(Chi^2): " << this->
hitFitProb(cmb) <<
" \n"
159 log <<
" * Candidates (pt; eta; phi; mass):\n";
181 log <<
"++++++++++++++++++++++++++++++++++++++++++++++++++";
edm::RefProd< TtGenEvent > genEvt_
reference to TtGenEvent (has to be kept in the event!)
double hitFitSigMT(const unsigned &cmb=0) const
return the hitfit top mass uncertainty of hypothesis 'cmb' if available; -1 else
const int numberOfRealNeutrinoSolutions(const HypoClassKey &key) const
get number of real neutrino solutions for a given hypo class
const reco::GenParticle * hadronicDecayB() const
get hadronic b of the TtGenEvent
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...
int numberOfConsideredJets(const std::string &key) const
return number of jets that were considered when building a given hypothesis
std::map< HypoClassKey, std::vector< HypoCombPair > > evtHyp_
void printParticle(edm::LogInfo &log, const char *name, const reco::Candidate *cand) const
print pt, eta, phi, mass of a given candidate into an existing LogInfo
double genMatchSumDR(const unsigned &cmb=0) const
return the sum dr of the generator match if available; -1 else
const reco::GenParticle * hadronicDecayQuark() const
get hadronic light quark of the TtGenEvent
double hitFitMT(const unsigned &cmb=0) const
return the hitfit top mass of hypothesis 'cmb' if available; -1 else
double fitChi2(const unsigned &cmb=0) const
return the chi2 of the kinematic fit of hypothesis 'cmb' if available; -1 else
double fitProb(const unsigned &cmb=0) const
return the fit probability of hypothesis 'cmb' if available; -1 else
const reco::GenParticle * singleNeutrino() const
get neutrino of the TtGenEvent
std::vector< int > jetLeptonCombination(const std::string &key, const unsigned &cmb=0) const
return the vector of jet lepton combinatorics for a given hypothesis and class
unsigned int numberOfAvailableHypos(const std::string &key) const
return number of available hypotheses within a given hypothesis class
const reco::GenParticle * singleLepton() const
get lepton top of the TtGenEvent
double mvaDisc(const unsigned &cmb=0) const
return the mva discriminant value of hypothesis 'cmb' if available; -1 else
const edm::RefProd< TtGenEvent > & genEvent() const
get TtGenEvent
const reco::GenParticle * hadronicDecayQuarkBar() const
get hadronic light quark of the TtGenEvent
HypoClassKey
supported classes of event hypotheses
double hitFitProb(const unsigned &cmb=0) const
return the hitfit probability of hypothesis 'cmb' if available; -1 else
const reco::GenParticle * hadronicDecayTop() const
get hadronic top of the TtGenEvent
const reco::GenParticle * leptonicDecayW() const
get leptonic W of the TtGenEvent
double hitFitChi2(const unsigned &cmb=0) const
return the hitfit chi2 of hypothesis 'cmb' if available; -1 else
const reco::GenParticle * leptonicDecayB() const
get leptonic b of the TtGenEvent
const math::XYZTLorentzVector * topPair() const
get combined 4-vector of top and topBar from the TtGenEvent
const reco::GenParticle * leptonicDecayTop() const
get leptonic top of the TtGenEvent
std::string mvaMethod() const
return the label of the mva method in use for the jet parton association (if kMVADisc is not availabl...
unsigned int numberOfAvailableHypoClasses() const
return number of available hypothesis classes
void print(const int verbosity=1) const
const reco::GenParticle * hadronicDecayW() const
get hadronic W of the TtGenEvent
double genMatchSumPt(const unsigned &cmb=0) const
return the sum pt of the generator match if available; -1 else