|
|
Go to the documentation of this file.
15 log <<
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \n";
18 log <<
" TtGenEvent says: ";
21 else if (this->
genEvent()->isFullHadronic())
22 log <<
"Fully Hadronic TtBar";
23 else if (this->
genEvent()->isSemiLeptonic())
24 log <<
"Semi-leptonic TtBar";
25 else if (this->
genEvent()->isFullLeptonic()) {
26 log <<
"Fully Leptonic TtBar, ";
63 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";
80 log <<
" Geom not (yet) applicable to TtFullLeptonicEvent --> skipping";
83 log <<
" WMassMaxSumPt not (yet) applicable to TtFullLeptonicEvent --> skipping";
86 log <<
" MaxSumPtWMass not (yet) applicable to TtFullLeptonicEvent --> skipping";
92 log <<
" MVADisc not (yet) applicable to TtFullLeptonicEvent --> skipping";
95 log <<
" KinFit not (yet) applicable to TtFullLeptonicEvent --> skipping";
98 log <<
" KinSolution";
101 log <<
" WMassDeltaTopMass not (yet) applicable to TtFullLeptonicEvent --> skipping";
104 log <<
" HitFit not (yet) applicable to TtFullLeptonicEvent --> skipping";
107 log <<
" Unknown TtEvent::HypoClassKey provided --> skipping";
110 log <<
"-Hypothesis: \n";
113 log <<
" * Number of available jet combinations: " << nOfHyp <<
"\n";
115 log <<
" The following was found to be the best one:\n";
120 for (
unsigned cmb = 0; cmb < nOfHyp; cmb++) {
123 log <<
" * Not valid! \n";
127 log <<
" * JetLepComb:";
129 for (
unsigned int iJet = 0; iJet <
jets.size(); iJet++) {
130 log <<
" " <<
jets[iJet] <<
" ";
147 if (verbosity % 10 >= 2) {
148 log <<
" * Candidates (pt; eta; phi; mass):\n";
170 log <<
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++";
const reco::Candidate * lepton(const std::string &key, const unsigned &cmb=0) const
get lepton 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...
std::map< HypoClassKey, std::vector< HypoCombPair > > evtHyp_
const reco::Candidate * neutrino(const std::string &key, const unsigned &cmb=0) const
get neutrino of the given hypothesis
U second(std::pair< T, U > const &p)
double genMatchSumDR(const unsigned &cmb=0) const
return the sum dr of the generator match if available; -1 else
const reco::Candidate * top(const std::string &key, const unsigned &cmb=0) const
get top of the given hypothesis
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
double solWeight(const unsigned &cmb=0) const
return the weight of the kinematic solution of hypothesis 'cmb' if available; -1 else
unsigned int numberOfAvailableHypos(const std::string &key) const
return number of available hypotheses within a given hypothesis class
const edm::RefProd< TtGenEvent > & genEvent() const
get TtGenEvent
void print(const int verbosity=1) const
const reco::Candidate * topBar(const std::string &key, const unsigned &cmb=0) const
get anti-top of the given hypothesis
const reco::Candidate * leptonBar(const std::string &key, const unsigned &cmb=0) const
get anti-lepton of the given hypothesis
void printParticle(edm::LogInfo &log, const char *name, const reco::Candidate *cand)
print pt, eta, phi, mass of a given candidate into an existing LogInfo
const reco::Candidate * wPlus(const std::string &key, const unsigned &cmb=0) const
get Wplus of the given hypothesis
HypoClassKey
supported classes of event hypotheses
const math::XYZTLorentzVector * topPair() const
get combined 4-vector of top and topBar from the TtGenEvent
const reco::Candidate * bBar(const std::string &key, const unsigned &cmb=0) const
get anti-b of the given hypothesis
const reco::Candidate * wMinus(const std::string &key, const unsigned &cmb=0) const
get Wminus of the given hypothesis
const reco::Candidate * b(const std::string &key, const unsigned &cmb=0) const
get b of the given hypothesis
unsigned int numberOfAvailableHypoClasses() const
return number of available hypothesis classes
bool isWrongCharge() const
return if the kinematic solution of hypothesis 'cmb' is right or wrong charge if available; -1 else
const reco::Candidate * neutrinoBar(const std::string &key, const unsigned &cmb=0) const
get anti-neutrino of the given hypothesis
double genMatchSumPt(const unsigned &cmb=0) const
return the sum pt of the generator match if available; -1 else