test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TauGenJetDecayModeSelector.cc
Go to the documentation of this file.
2 
4 
6 {
8 }
9 
11 {
12  std::string tauGenJetDecayMode = JetMCTagUtils::genTauDecayMode(tauGenJet);
13  for ( vstring::const_iterator selectedTauDecayMode = selectedTauDecayModes_.begin();
14  selectedTauDecayMode != selectedTauDecayModes_.end(); ++selectedTauDecayMode ) {
15  if ( tauGenJetDecayMode == (*selectedTauDecayMode) ) return true;
16  }
17  return false;
18 }
19 
21 
T getParameter(std::string const &) const
std::string genTauDecayMode(const reco::CompositePtrCandidate &c)
Definition: JetMCTag.cc:81
tuple cfg
Definition: looper.py:293
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
Jets made from MC generator particles.
Definition: GenJet.h:24
TauGenJetDecayModeSelectorImp(const edm::ParameterSet &, edm::ConsumesCollector &iC)
bool operator()(const reco::GenJet &) const
std::vector< std::string > vstring