CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TtFullLepEvtPartons.h
Go to the documentation of this file.
1 #ifndef TtFullLepEvtPartons_h
2 #define TtFullLepEvtPartons_h
3 
5 
6 #include <vector>
7 
16 namespace reco {
17  class Candidate;
18 }
19 class TtGenEvent;
20 
22 public:
25  enum { B, BBar, Lepton, LeptonBar };
26 
27 public:
29  TtFullLepEvtPartons(const std::vector<std::string>& partonsToIgnore = std::vector<std::string>());
31  ~TtFullLepEvtPartons() override{};
32 
34  std::vector<const reco::Candidate*> vec(const TtGenEvent& genEvt) override;
35 };
36 
37 #endif
std::vector< const reco::Candidate * > vec(const TtGenEvent &genEvt) override
return vector of partons in the order defined in the corresponding enum
~TtFullLepEvtPartons() override
default destructor
Common base class for TtFullLepEvtPartons, TtFullHadEvtPartons and TtSemiLepEvtPartons.
Class derived from the TopGenEvent for ttbar events.
Definition: TtGenEvent.h:18
Class to fill partons in a well defined order for fully-leptonic ttbar events.
TtFullLepEvtPartons(const std::vector< std::string > &partonsToIgnore=std::vector< std::string >())
default constructor