29 log << std::setw(15) << name <<
": not available!\n";
32 log << std::setprecision(3) << setiosflags(std::ios::fixed | std::ios::showpoint);
33 log << std::setw(15) << name <<
": "
34 << std::setw( 7) << cand->
pt() <<
"; "
35 << std::setw( 7) << cand->
eta() <<
"; "
36 << std::setw( 7) << cand->
phi() <<
"; "
37 << resetiosflags(std::ios::fixed | std::ios::showpoint) << setiosflags(std::ios::scientific)
38 << std::setw(10) << cand->
mass() <<
"\n";
39 log << resetiosflags(std::ios::scientific);
HypoClassKey
supported classes of event hypotheses
static std::vector< std::string > checklist log
virtual float mass() const =0
mass
unsigned int numberOfAvailableHypos(const std::string &key) const
return number of available hypotheses within a given hypothesis class
virtual float eta() const =0
momentum pseudorapidity
virtual float phi() const =0
momentum azimuthal angle
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
virtual float pt() const =0
transverse momentum
HypoClassKey hypoClassKeyFromString(const std::string &label) const
return the corresponding enum value from a string
int correspondingHypo(const std::string &key1, const unsigned &hyp1, const std::string &key2) const
return the hypothesis in hypothesis class 'key2', which corresponds to hypothesis 'hyp1' in hypothesi...
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