CMS 3D CMS Logo

StGenEvent.h
Go to the documentation of this file.
1 #ifndef TopObjects_StGenEvent_h
2 #define TopObjects_StGenEvent_h
3 
5 
17 class StGenEvent : public TopGenEvent {
18 public:
20  StGenEvent();
24  ~StGenEvent() override;
25 
27  const reco::GenParticle* singleLepton() const;
29  const reco::GenParticle* singleNeutrino() const;
31  const reco::GenParticle* singleW() const;
33  const reco::GenParticle* singleTop() const;
35  const reco::GenParticle* decayB() const;
37  const reco::GenParticle* associatedB() const;
38 };
39 
40 #endif
edm::RefProd< GenParticleCollection >
StGenEvent::associatedB
const reco::GenParticle * associatedB() const
return associated b
Definition: StGenEvent.cc:34
TopGenEvent.h
reco::GenParticle
Definition: GenParticle.h:21
StGenEvent
Class derived from the TopGenEvent for single-top events.
Definition: StGenEvent.h:17
StGenEvent::singleTop
const reco::GenParticle * singleTop() const
return single Top
Definition: StGenEvent.cc:90
StGenEvent::singleLepton
const reco::GenParticle * singleLepton() const
return single lepton if available; 0 else
Definition: StGenEvent.cc:50
StGenEvent::singleW
const reco::GenParticle * singleW() const
return single W
Definition: StGenEvent.cc:74
StGenEvent::singleNeutrino
const reco::GenParticle * singleNeutrino() const
return single neutrino if available; 0 else
Definition: StGenEvent.cc:62
StGenEvent::StGenEvent
StGenEvent()
empty constructor
Definition: StGenEvent.cc:9
StGenEvent::~StGenEvent
~StGenEvent() override
default destructor
Definition: StGenEvent.cc:16
StGenEvent::decayB
const reco::GenParticle * decayB() const
return decay b
Definition: StGenEvent.cc:18
TopGenEvent
Base class to hold information for reduced top generator information.
Definition: TopGenEvent.h:40