#include <MCTruthHelper.h>
Public Member Functions | |
int | absPdgId (const HepMC::GenParticle &p) const |
int | absPdgId (const reco::GenParticle &p) const |
const HepMC::GenParticle * | daughter (const HepMC::GenParticle &p, unsigned int idau) const |
const reco::GenParticle * | daughter (const reco::GenParticle &p, unsigned int idau) const |
void | fillGenStatusFlags (const P &p, reco::GenStatusFlags &statusFlags) const |
const P * | findDecayedMother (const P &p) const |
const P * | findDecayedMother (const P &p, int abspdgid) const |
const P * | firstCopy (const P &p) const |
bool | fromHardProcess (const P &p) const |
bool | fromHardProcessBeforeFSR (const P &p) const |
bool | fromHardProcessDecayed (const P &p) const |
bool | fromHardProcessFinalState (const P &p) const |
const P * | hardProcessMotherCopy (const P &p) const |
bool | isDecayedLeptonHadron (const P &p) const |
bool | isDirectHadronDecayProduct (const P &p) const |
bool | isDirectHardProcessTauDecayProduct (const P &p) const |
bool | isDirectPromptTauDecayProduct (const P &p) const |
bool | isDirectTauDecayProduct (const P &p) const |
bool | isFirstCopy (const P &p) const |
bool | isHadron (const P &p) const |
bool | isHardProcess (const P &p) const |
bool | isHardProcessTauDecayProduct (const P &p) const |
bool | isLastCopy (const P &p) const |
bool | isLastCopyBeforeFSR (const P &p) const |
bool | isMuonDecayProduct (const P &p) const |
bool | isPrompt (const P &p) const |
bool | isPromptDecayed (const P &p) const |
bool | isPromptFinalState (const P &p) const |
bool | isPromptMuonDecayProduct (const P &p) const |
bool | isPromptTauDecayProduct (const P &p) const |
bool | isTauDecayProduct (const P &p) const |
const P * | lastCopy (const P &p) const |
const P * | lastCopyBeforeFSR (const P &p) const |
const P * | lastDaughterCopyBeforeFSR (const P &p) const |
const HepMC::GenParticle * | mother (const HepMC::GenParticle &p, unsigned int imoth=0) const |
const reco::GenParticle * | mother (const reco::GenParticle &p, unsigned int imoth=0) const |
const P * | nextCopy (const P &p) const |
unsigned int | numberOfDaughters (const HepMC::GenParticle &p) const |
unsigned int | numberOfDaughters (const reco::GenParticle &p) const |
unsigned int | numberOfMothers (const HepMC::GenParticle &p) const |
unsigned int | numberOfMothers (const reco::GenParticle &p) const |
int | pdgId (const HepMC::GenParticle &p) const |
int | pdgId (const reco::GenParticle &p) const |
const P * | previousCopy (const P &p) const |
const P * | uniqueMother (const P &p) const |
Definition at line 13 of file MCTruthHelper.h.
int MCTruthHelper< P >::absPdgId | ( | const HepMC::GenParticle & | p | ) | const |
Definition at line 587 of file MCTruthHelper.h.
int MCTruthHelper< P >::absPdgId | ( | const reco::GenParticle & | p | ) | const |
Definition at line 581 of file MCTruthHelper.h.
const HepMC::GenParticle * MCTruthHelper< P >::daughter | ( | const HepMC::GenParticle & | p, |
unsigned int | idau | ||
) | const |
Definition at line 637 of file MCTruthHelper.h.
const reco::GenParticle * MCTruthHelper< P >::daughter | ( | const reco::GenParticle & | p, |
unsigned int | idau | ||
) | const |
Definition at line 631 of file MCTruthHelper.h.
void MCTruthHelper< P >::fillGenStatusFlags | ( | const P & | p, |
reco::GenStatusFlags & | statusFlags | ||
) | const |
Definition at line 643 of file MCTruthHelper.h.
Referenced by GenParticleProducer::convertParticle().
const P * MCTruthHelper< P >::findDecayedMother | ( | const P & | p | ) | const |
Definition at line 541 of file MCTruthHelper.h.
const P * MCTruthHelper< P >::findDecayedMother | ( | const P & | p, |
int | abspdgid | ||
) | const |
Definition at line 555 of file MCTruthHelper.h.
const P * MCTruthHelper< P >::firstCopy | ( | const P & | p | ) | const |
Definition at line 394 of file MCTruthHelper.h.
bool MCTruthHelper< P >::fromHardProcess | ( | const P & | p | ) | const |
Definition at line 299 of file MCTruthHelper.h.
bool MCTruthHelper< P >::fromHardProcessBeforeFSR | ( | const P & | p | ) | const |
Definition at line 331 of file MCTruthHelper.h.
bool MCTruthHelper< P >::fromHardProcessDecayed | ( | const P & | p | ) | const |
Definition at line 311 of file MCTruthHelper.h.
bool MCTruthHelper< P >::fromHardProcessFinalState | ( | const P & | p | ) | const |
Definition at line 305 of file MCTruthHelper.h.
const P * MCTruthHelper< P >::hardProcessMotherCopy | ( | const P & | p | ) | const |
Definition at line 492 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isDecayedLeptonHadron | ( | const P & | p | ) | const |
bool MCTruthHelper< P >::isDirectHadronDecayProduct | ( | const P & | p | ) | const |
Definition at line 253 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isDirectHardProcessTauDecayProduct | ( | const P & | p | ) | const |
Definition at line 324 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isDirectPromptTauDecayProduct | ( | const P & | p | ) | const |
Definition at line 232 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isDirectTauDecayProduct | ( | const P & | p | ) | const |
Definition at line 224 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isFirstCopy | ( | const P & | p | ) | const |
Definition at line 362 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isHadron | ( | const P & | p | ) | const |
Definition at line 260 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isHardProcess | ( | const P & | p | ) | const |
Definition at line 267 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isHardProcessTauDecayProduct | ( | const P & | p | ) | const |
Definition at line 317 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isLastCopy | ( | const P & | p | ) | const |
Definition at line 368 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isLastCopyBeforeFSR | ( | const P & | p | ) | const |
Definition at line 374 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isMuonDecayProduct | ( | const P & | p | ) | const |
Definition at line 240 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isPrompt | ( | const P & | p | ) | const |
Definition at line 186 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isPromptDecayed | ( | const P & | p | ) | const |
Definition at line 205 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isPromptFinalState | ( | const P & | p | ) | const |
Definition at line 195 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isPromptMuonDecayProduct | ( | const P & | p | ) | const |
Definition at line 246 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isPromptTauDecayProduct | ( | const P & | p | ) | const |
Definition at line 217 of file MCTruthHelper.h.
bool MCTruthHelper< P >::isTauDecayProduct | ( | const P & | p | ) | const |
Definition at line 211 of file MCTruthHelper.h.
const P * MCTruthHelper< P >::lastCopy | ( | const P & | p | ) | const |
const P * MCTruthHelper< P >::lastCopyBeforeFSR | ( | const P & | p | ) | const |
Definition at line 422 of file MCTruthHelper.h.
const P * MCTruthHelper< P >::lastDaughterCopyBeforeFSR | ( | const P & | p | ) | const |
Definition at line 458 of file MCTruthHelper.h.
const HepMC::GenParticle * MCTruthHelper< P >::mother | ( | const HepMC::GenParticle & | p, |
unsigned int | imoth = 0 |
||
) | const |
Definition at line 611 of file MCTruthHelper.h.
const reco::GenParticle * MCTruthHelper< P >::mother | ( | const reco::GenParticle & | p, |
unsigned int | imoth = 0 |
||
) | const |
Definition at line 605 of file MCTruthHelper.h.
const P * MCTruthHelper< P >::nextCopy | ( | const P & | p | ) | const |
Definition at line 527 of file MCTruthHelper.h.
unsigned int MCTruthHelper< P >::numberOfDaughters | ( | const HepMC::GenParticle & | p | ) | const |
Definition at line 625 of file MCTruthHelper.h.
unsigned int MCTruthHelper< P >::numberOfDaughters | ( | const reco::GenParticle & | p | ) | const |
Definition at line 619 of file MCTruthHelper.h.
unsigned int MCTruthHelper< P >::numberOfMothers | ( | const HepMC::GenParticle & | p | ) | const |
Definition at line 599 of file MCTruthHelper.h.
unsigned int MCTruthHelper< P >::numberOfMothers | ( | const reco::GenParticle & | p | ) | const |
Definition at line 593 of file MCTruthHelper.h.
int MCTruthHelper< P >::pdgId | ( | const HepMC::GenParticle & | p | ) | const |
Definition at line 575 of file MCTruthHelper.h.
Referenced by Particle.Particle::__str__().
int MCTruthHelper< P >::pdgId | ( | const reco::GenParticle & | p | ) | const |
Definition at line 569 of file MCTruthHelper.h.
Referenced by Particle.Particle::__str__().
const P * MCTruthHelper< P >::previousCopy | ( | const P & | p | ) | const |
Definition at line 513 of file MCTruthHelper.h.
const P * MCTruthHelper< P >::uniqueMother | ( | const P & | p | ) | const |