1 #ifndef TopObjects_TopGenEvent_h 2 #define TopObjects_TopGenEvent_h 13 static const int tID = 6;
14 static const int bID = 5;
17 static const int ZID = 23;
18 static const int WID = 24;
57 std::vector<const reco::GenParticle*> radiatedGluons(
int pdgId)
const;
59 std::vector<const reco::GenParticle*> lightQuarks(
bool includingBQuarks=
false)
const;
61 int numberOfLeptons(
bool fromWBoson=
true)
const;
65 int numberOfBQuarks(
bool fromTopQuark=
true)
const;
67 std::vector<const reco::GenParticle*> topSisters()
const;
73 const reco::GenParticle* daughterQuarkOfWPlus(
bool invertQuarkCharge=
false,
bool invertBosonCharge=
false)
const;
const reco::GenParticle * wPlus() const
return W plus if available; 0 else
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
const reco::GenParticle * b() const
return b quark if available; 0 else
const reco::GenParticle * ePlus() const
return positron if available; 0 else
reco::GenParticleRefProd parts_
reference to the top decay chain (has to be kept in the event!)
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
const reco::GenParticle * tauPlus() const
return anti-tau if available; 0 else
TopGenEvent()
empty constructor
const reco::GenParticle * muMinus() const
return muon if available; 0 else
const reco::GenParticle * bBar() const
return anti-b quark if available; 0 else
const reco::GenParticle * top() const
return top if available; 0 else
reco::GenParticleRefProd initPartons_
reference to the list of initial partons (has to be kept in the event!)
const reco::GenParticle * tauMinus() const
return tau if available; 0 else
Base class to hold information for reduced top generator information.
const reco::GenParticle * daughterQuarkOfTopBar() const
return daughter quark of anti-top quark (which can have flavor b, s or d)
const reco::GenParticle * wMinus() const
return W minus if available; 0 else
const reco::GenParticleCollection & particles() const
return particles of decay chain
const reco::GenParticle * daughterQuarkBarOfWMinus() const
return anti-quark daughter of anti-W boson
const reco::GenParticle * daughterQuarkBarOfWPlus() const
return anti-quark daughter of W boson
const reco::GenParticleCollection & initialPartons() const
return particles of initial partons
virtual ~TopGenEvent()
default destructor
const reco::GenParticle * daughterQuarkOfWMinus() const
return quark daughter of anti-W boson
const reco::GenParticle * muPlus() const
return anti-muon if available; 0 else
const reco::GenParticle * topBar() const
return anti-top if available; 0 else
const reco::GenParticle * eMinus() const
return electron if available; 0 else