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 public:
38  explicit HLTFiltCand(const edm::ParameterSet&);
39  ~HLTFiltCand() override;
40  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
41  bool hltFilter(edm::Event&,
42  const edm::EventSetup&,
43  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
44 
45 private:
46  edm::InputTag photTag_; // input tag identifying product containing photons
47  edm::InputTag elecTag_; // input tag identifying product containing electrons
48  edm::InputTag muonTag_; // input tag identifying product containing muons
49  edm::InputTag tausTag_; // input tag identifying product containing taus
50  edm::InputTag jetsTag_; // input tag identifying product containing jets
51  edm::InputTag metsTag_; // input tag identifying product containing METs
52  edm::InputTag mhtsTag_; // input tag identifying product containing HTs
53  edm::InputTag trckTag_; // input tag identifying product containing Tracks
54  edm::InputTag ecalTag_; // input tag identifying product containing SuperClusters
55 
56  edm::EDGetTokenT<reco::RecoEcalCandidateCollection> photToken_; // token identifying product containing photons
57  edm::EDGetTokenT<reco::ElectronCollection> elecToken_; // token identifying product containing electrons
58  edm::EDGetTokenT<reco::RecoChargedCandidateCollection> muonToken_; // token identifying product containing muons
59  edm::EDGetTokenT<reco::CaloJetCollection> tausToken_; // token identifying product containing taus
60  edm::EDGetTokenT<reco::CaloJetCollection> jetsToken_; // token identifying product containing jets
61  edm::EDGetTokenT<reco::CaloMETCollection> metsToken_; // token identifying product containing METs
62  edm::EDGetTokenT<reco::METCollection> mhtsToken_; // token identifying product containing HTs
63  edm::EDGetTokenT<reco::RecoChargedCandidateCollection> trckToken_; // token identifying product containing Tracks
64  edm::EDGetTokenT<reco::RecoEcalCandidateCollection> ecalToken_; // token identifying product containing SuperClusters
65 
66  double min_Pt_; // min pt cut
67 };
68 
69 #endif //HLTFiltCand_h
edm::InputTag elecTag_
Definition: HLTFiltCand.h:47
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > trckToken_
Definition: HLTFiltCand.h:63
edm::InputTag muonTag_
Definition: HLTFiltCand.h:48
HLTFiltCand(const edm::ParameterSet &)
Definition: HLTFiltCand.cc:44
edm::EDGetTokenT< reco::CaloMETCollection > metsToken_
Definition: HLTFiltCand.h:61
edm::EDGetTokenT< reco::ElectronCollection > elecToken_
Definition: HLTFiltCand.h:57
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > muonToken_
Definition: HLTFiltCand.h:58
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > photToken_
Definition: HLTFiltCand.h:56
edm::InputTag mhtsTag_
Definition: HLTFiltCand.h:52
edm::InputTag metsTag_
Definition: HLTFiltCand.h:51
edm::EDGetTokenT< reco::CaloJetCollection > tausToken_
Definition: HLTFiltCand.h:59
edm::EDGetTokenT< reco::CaloJetCollection > jetsToken_
Definition: HLTFiltCand.h:60
edm::InputTag photTag_
Definition: HLTFiltCand.h:46
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > ecalToken_
Definition: HLTFiltCand.h:64
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
Definition: HLTFiltCand.cc:94
edm::InputTag jetsTag_
Definition: HLTFiltCand.h:50
edm::InputTag ecalTag_
Definition: HLTFiltCand.h:54
~HLTFiltCand() override
edm::EDGetTokenT< reco::METCollection > mhtsToken_
Definition: HLTFiltCand.h:62
double min_Pt_
Definition: HLTFiltCand.h:66
edm::InputTag tausTag_
Definition: HLTFiltCand.h:49
edm::InputTag trckTag_
Definition: HLTFiltCand.h:53
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTFiltCand.cc:77