23 log << std::setw(15) << name <<
": not available!\n";
26 log << std::setprecision(3) << setiosflags(
std::ios::fixed | std::ios::showpoint);
27 log << std::setw(15) << name <<
": " << std::setw(7) << cand->
pt() <<
"; " << std::setw(7) << cand->
eta() <<
"; " 28 << std::setw(7) << cand->
phi() <<
"; " << resetiosflags(
std::ios::fixed | std::ios::showpoint)
29 << setiosflags(std::ios::scientific) << std::setw(10) << cand->
mass() <<
"\n";
30 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