CMS 3D CMS Logo

HLTFiltCand.h
Go to the documentation of this file.
1 #ifndef HLTFiltCand_h
2 #define HLTFiltCand_h
3 
31 
32 //
33 // class declaration
34 //
35 
36 class HLTFiltCand : public HLTFilter {
37 
38  public:
39  explicit HLTFiltCand(const edm::ParameterSet&);
40  ~HLTFiltCand();
41  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
42  virtual bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct) const override;
43 
44  private:
45  edm::InputTag photTag_; // input tag identifying product containing photons
46  edm::InputTag elecTag_; // input tag identifying product containing electrons
47  edm::InputTag muonTag_; // input tag identifying product containing muons
48  edm::InputTag tausTag_; // input tag identifying product containing taus
49  edm::InputTag jetsTag_; // input tag identifying product containing jets
50  edm::InputTag metsTag_; // input tag identifying product containing METs
51  edm::InputTag mhtsTag_; // input tag identifying product containing HTs
52  edm::InputTag trckTag_; // input tag identifying product containing Tracks
53  edm::InputTag ecalTag_; // input tag identifying product containing SuperClusters
54 
55  edm::EDGetTokenT<reco::RecoEcalCandidateCollection> photToken_; // token identifying product containing photons
56  edm::EDGetTokenT<reco::ElectronCollection> elecToken_; // token identifying product containing electrons
57  edm::EDGetTokenT<reco::RecoChargedCandidateCollection> muonToken_; // token identifying product containing muons
58  edm::EDGetTokenT<reco::CaloJetCollection> tausToken_; // token identifying product containing taus
59  edm::EDGetTokenT<reco::CaloJetCollection> jetsToken_; // token identifying product containing jets
60  edm::EDGetTokenT<reco::CaloMETCollection> metsToken_; // token identifying product containing METs
61  edm::EDGetTokenT<reco::METCollection> mhtsToken_; // token identifying product containing HTs
62  edm::EDGetTokenT<reco::RecoChargedCandidateCollection> trckToken_; // token identifying product containing Tracks
63  edm::EDGetTokenT<reco::RecoEcalCandidateCollection> ecalToken_; // token identifying product containing SuperClusters
64 
65  double min_Pt_; // min pt cut
66 };
67 
68 #endif //HLTFiltCand_h
edm::InputTag elecTag_
Definition: HLTFiltCand.h:46
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > trckToken_
Definition: HLTFiltCand.h:62
edm::InputTag muonTag_
Definition: HLTFiltCand.h:47
HLTFiltCand(const edm::ParameterSet &)
Definition: HLTFiltCand.cc:44
edm::EDGetTokenT< reco::CaloMETCollection > metsToken_
Definition: HLTFiltCand.h:60
edm::EDGetTokenT< reco::ElectronCollection > elecToken_
Definition: HLTFiltCand.h:56
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > muonToken_
Definition: HLTFiltCand.h:57
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > photToken_
Definition: HLTFiltCand.h:55
edm::InputTag mhtsTag_
Definition: HLTFiltCand.h:51
edm::InputTag metsTag_
Definition: HLTFiltCand.h:50
edm::EDGetTokenT< reco::CaloJetCollection > tausToken_
Definition: HLTFiltCand.h:58
edm::EDGetTokenT< reco::CaloJetCollection > jetsToken_
Definition: HLTFiltCand.h:59
edm::InputTag photTag_
Definition: HLTFiltCand.h:45
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > ecalToken_
Definition: HLTFiltCand.h:63
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
Definition: HLTFiltCand.cc:103
edm::InputTag jetsTag_
Definition: HLTFiltCand.h:49
edm::InputTag ecalTag_
Definition: HLTFiltCand.h:53
edm::EDGetTokenT< reco::METCollection > mhtsToken_
Definition: HLTFiltCand.h:61
double min_Pt_
Definition: HLTFiltCand.h:65
edm::InputTag tausTag_
Definition: HLTFiltCand.h:48
edm::InputTag trckTag_
Definition: HLTFiltCand.h:52
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTFiltCand.cc:85