28 bool search(reco::GenParticleCollection::const_iterator&
part,
int pdgId,
std::string& inputType)
const;
59 unsigned int channel = 0;
71 for (
unsigned int d = 0;
d < vec.size(); ++
d) {
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
Decay decayBranchA_
top decay branch 1
bool search(reco::GenParticleCollection::const_iterator &part, int pdgId, std::string &inputType) const
search for particle with pdgId in given listing (for top)
bool restrictTauDecays_
restrict tau decays
TtDecayChannelSelector(const edm::ParameterSet &)
std contructor
unsigned int countProngs(const reco::Candidate &part) const
count the number of charged particles for tau decays
Decay decayBranchB_
top decay branch 2
bool allowElectron_
allow tau decays into electron
bool tauDecay(const reco::Candidate &) const
check tau decay to be leptonic, 1-prong or 3-prong
bool allow3Prong_
allow 2-prong tau decays
bool allowMuon_
allow tau decays into muon
std::vector< int > Decay
typedef to simplify the decay vectors
unsigned int decayChannel() const
return decay channel to select for from configuration
unsigned int checkSum(const Decay &vec) const
~TtDecayChannelSelector()
default destructor
bool operator()(const reco::GenParticleCollection &parts, std::string inputType) const
operator for decay channel selection
bool allow1Prong_
allow 1-prong tau decays
bool invert_
invert selection