babymaker
e95a6a9342d4604277fe7cc6149b6b5b24447d89
|
#include <mc_tools.hh>
Public Member Functions | |
bool | hasDaughter (const reco::GenParticle &mc, size_t id) |
int | numChargeDaughters (const reco::GenParticle &mc) |
bool | isLast (const reco::GenParticle &mc, size_t id) |
bool | decaysTo (const reco::GenParticle &mc, size_t id, const reco::GenParticle *&mcDau) |
void | printParticle (const reco::GenParticle &mc) |
bool | fromWOrWTau (const reco::GenParticle &mc) |
bool | fromTau (const reco::GenParticle &mc) |
int | mom (const reco::GenParticle &mc, const reco::GenParticle *&mcMom) |
int | getMomIndex (const reco::GenParticle &mc, std::vector< std::pair< int, const reco::GenParticle * > > indices) |
bool | isFromGSP (const reco::Candidate *c) |
bool | isHardProcess (const int status) |
void | getMassPoints (TString mpoints, int &mgluino, int &mlsp) |
mc_tools () | |
~mc_tools () | |
Definition at line 14 of file mc_tools.hh.
mc_tools::mc_tools | ( | ) |
Definition at line 161 of file mc_tools.cc.
mc_tools::~mc_tools | ( | ) |
Definition at line 164 of file mc_tools.cc.
bool mc_tools::decaysTo | ( | const reco::GenParticle & | mc, |
size_t | id, | ||
const reco::GenParticle *& | mcDau | ||
) |
Definition at line 70 of file mc_tools.cc.
bool mc_tools::fromTau | ( | const reco::GenParticle & | mc | ) |
Definition at line 42 of file mc_tools.cc.
bool mc_tools::fromWOrWTau | ( | const reco::GenParticle & | mc | ) |
Definition at line 33 of file mc_tools.cc.
void mc_tools::getMassPoints | ( | TString | mpoints, |
int & | mgluino, | ||
int & | mlsp | ||
) |
Definition at line 131 of file mc_tools.cc.
Referenced by bmaker_full::beginLuminosityBlock().
int mc_tools::getMomIndex | ( | const reco::GenParticle & | mc, |
std::vector< std::pair< int, const reco::GenParticle * > > | indices | ||
) |
Definition at line 60 of file mc_tools.cc.
References resubmit::ind.
bool mc_tools::hasDaughter | ( | const reco::GenParticle & | mc, |
size_t | id | ||
) |
Definition at line 11 of file mc_tools.cc.
bool mc_tools::isFromGSP | ( | const reco::Candidate * | c | ) |
Definition at line 84 of file mc_tools.cc.
References make_dataset_table::c.
bool mc_tools::isHardProcess | ( | const int | status | ) |
Definition at line 107 of file mc_tools.cc.
bool mc_tools::isLast | ( | const reco::GenParticle & | mc, |
size_t | id | ||
) |
Definition at line 29 of file mc_tools.cc.
int mc_tools::mom | ( | const reco::GenParticle & | mc, |
const reco::GenParticle *& | mcMom | ||
) |
Definition at line 51 of file mc_tools.cc.
int mc_tools::numChargeDaughters | ( | const reco::GenParticle & | mc | ) |
Definition at line 19 of file mc_tools.cc.
void mc_tools::printParticle | ( | const reco::GenParticle & | mc | ) |
Definition at line 115 of file mc_tools.cc.
References roundNumber().