CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
MCTruthHelper.h File Reference
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
#include "HepPDT/ParticleID.hh"
#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
#include "DataFormats/HepMCCandidate/interface/GenStatusFlags.h"
#include <iostream>

Go to the source code of this file.

Namespaces

 MCTruthHelper
 

Functions

int MCTruthHelper::absPdgId (const reco::GenParticle &p)
 
int MCTruthHelper::absPdgId (const HepMC::GenParticle &p)
 
const reco::GenParticleMCTruthHelper::daughter (const reco::GenParticle &p, unsigned int idau)
 
const HepMC::GenParticle * MCTruthHelper::daughter (const HepMC::GenParticle &p, unsigned int idau)
 
template<typename P >
void MCTruthHelper::fillGenStatusFlags (const P &p, reco::GenStatusFlags &statusFlags)
 
template<typename P >
const PMCTruthHelper::findDecayedMother (const P &p)
 
template<typename P >
const PMCTruthHelper::findDecayedMother (const P &p, int abspdgid)
 
template<typename P >
const PMCTruthHelper::firstCopy (const P &p)
 
template<typename P >
bool MCTruthHelper::fromHardProcess (const P &p)
 
template<typename P >
bool MCTruthHelper::fromHardProcessBeforeFSR (const P &p)
 
template<typename P >
bool MCTruthHelper::fromHardProcessDecayed (const P &p)
 
template<typename P >
bool MCTruthHelper::fromHardProcessFinalState (const P &p)
 
template<typename P >
const PMCTruthHelper::hardProcessMotherCopy (const P &p)
 
template<typename P >
bool MCTruthHelper::isDecayedLeptonHadron (const P &p)
 
template<typename P >
bool MCTruthHelper::isDirectHadronDecayProduct (const P &p)
 
template<typename P >
bool MCTruthHelper::isDirectHardProcessTauDecayProduct (const P &p)
 
template<typename P >
bool MCTruthHelper::isDirectPromptTauDecayProduct (const P &p)
 
template<typename P >
bool MCTruthHelper::isDirectTauDecayProduct (const P &p)
 
template<typename P >
bool MCTruthHelper::isFirstCopy (const P &p)
 
template<typename P >
bool MCTruthHelper::isHadron (const P &p)
 
template<typename P >
bool MCTruthHelper::isHardProcess (const P &p)
 
template<typename P >
bool MCTruthHelper::isHardProcessTauDecayProduct (const P &p)
 
template<typename P >
bool MCTruthHelper::isLastCopy (const P &p)
 
template<typename P >
bool MCTruthHelper::isLastCopyBeforeFSR (const P &p)
 
template<typename P >
bool MCTruthHelper::isMuonDecayProduct (const P &p)
 
template<typename P >
bool MCTruthHelper::isPrompt (const P &p)
 
template<typename P >
bool MCTruthHelper::isPromptDecayed (const P &p)
 
template<typename P >
bool MCTruthHelper::isPromptFinalState (const P &p)
 
template<typename P >
bool MCTruthHelper::isPromptMuonDecayProduct (const P &p)
 
template<typename P >
bool MCTruthHelper::isPromptTauDecayProduct (const P &p)
 
template<typename P >
bool MCTruthHelper::isTauDecayProduct (const P &p)
 
template<typename P >
const PMCTruthHelper::lastCopy (const P &p)
 
template<typename P >
const PMCTruthHelper::lastCopyBeforeFSR (const P &p)
 
template<typename P >
const PMCTruthHelper::lastDaughterCopyBeforeFSR (const P &p)
 
const reco::GenParticleMCTruthHelper::mother (const reco::GenParticle &p, unsigned int imoth=0)
 
const HepMC::GenParticle * MCTruthHelper::mother (const HepMC::GenParticle &p, unsigned int imoth=0)
 
template<typename P >
const PMCTruthHelper::nextCopy (const P &p)
 
unsigned int MCTruthHelper::numberOfDaughters (const reco::GenParticle &p)
 
unsigned int MCTruthHelper::numberOfDaughters (const HepMC::GenParticle &p)
 
unsigned int MCTruthHelper::numberOfMothers (const reco::GenParticle &p)
 
unsigned int MCTruthHelper::numberOfMothers (const HepMC::GenParticle &p)
 
int MCTruthHelper::pdgId (const reco::GenParticle &p)
 
int MCTruthHelper::pdgId (const HepMC::GenParticle &p)
 
template<typename P >
const PMCTruthHelper::previousCopy (const P &p)
 
template<typename P >
const PMCTruthHelper::uniqueMother (const P &p)