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
unsigned int numberOfAvailableHypos(const std::string &key) const
return number of available hypotheses within a given hypothesis class
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
HypoClassKey hypoClassKeyFromString(const std::string &label) const
return the corresponding enum value from a string
virtual double eta() const =0
momentum pseudorapidity
virtual double pt() const =0
transverse momentum
virtual double mass() const =0
mass
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
virtual double phi() const =0
momentum azimuthal angle