8 for (
unsigned int i = 0;
i < 4;
i++)
12 if ((*
str) ==
"LightQ")
14 else if ((*
str) ==
"LightQBar")
16 else if ((*
str) ==
"HadB")
18 else if ((*
str) ==
"LepB")
22 <<
"The following string in partonsToIgnore is not supported: " << (*str) <<
"\n";
27 std::vector<const reco::Candidate*>
vec;
29 if (
genEvt.isSemiLeptonic()) {
39 for (
unsigned i = 0;
i < 4;
i++)
reco::Candidate * dummyCandidatePtr() const
return pointer to an empty reco::Candidate
TtSemiLepEvtPartons(const std::vector< std::string > &partonsToIgnore=std::vector< std::string >())
default constructor
std::vector< const reco::Candidate * > vec(const TtGenEvent &genEvt) const override
return vector of partons in the order defined in the corresponding enum
void prune(std::vector< const reco::Candidate *> &vec) const
erase partons from vector if they where chosen to be ignored
Class derived from the TopGenEvent for ttbar events.
std::vector< bool > ignorePartons_
flag partons that were chosen not to be used