CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/PhysicsTools/JetMCAlgos/plugins/TauGenJetDecayModeSelector.h

Go to the documentation of this file.
00001 #ifndef PhysicsTools_JetMCAlgos_TauGenJetDecayModeSelector_h
00002 #define PhysicsTools_JetMCAlgos_TauGenJetDecayModeSelector_h
00003 
00017 #include "CommonTools/UtilAlgos/interface/SingleObjectSelector.h"
00018 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00019 #include "FWCore/Utilities/interface/InputTag.h"
00020 
00021 #include "DataFormats/JetReco/interface/GenJet.h"
00022 #include "DataFormats/JetReco/interface/GenJetCollection.h"
00023 
00024 class TauGenJetDecayModeSelectorImp
00025 {
00026  public:
00027   // constructor 
00028   explicit TauGenJetDecayModeSelectorImp(const edm::ParameterSet&);
00029   
00030   bool operator()(const reco::GenJet&) const;
00031 
00032  private:
00033   typedef std::vector<std::string> vstring;
00034   vstring selectedTauDecayModes_;
00035 };
00036 
00037 typedef SingleObjectSelector<
00038             reco::GenJetCollection,
00039             TauGenJetDecayModeSelectorImp
00040         > TauGenJetDecayModeSelector;
00041 
00042 #endif