CMS 3D CMS Logo

HLTEgammaL1TMatchFilterRegional.h
Go to the documentation of this file.
1 #ifndef HLTEgammaL1TMatchFilterRegional_h
2 #define HLTEgammaL1TMatchFilterRegional_h
3 
11 
14 
15 //#include "DataFormats/L1Trigger/interface/L1EmParticle.h"
16 //#include "DataFormats/L1Trigger/interface/L1EmParticleFwd.h"
18 
19 namespace edm {
21 }
22 
23 //
24 // class decleration
25 //
26 
28 
29  public:
32  bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct) const override;
33  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
34 
35  private:
36  edm::InputTag candIsolatedTag_; // input tag identifying product contains egammas
37  edm::InputTag l1EGTag_; // input tag identifying product contains egammas
38  edm::InputTag candNonIsolatedTag_; // input tag identifying product contains egammas
39  edm::InputTag l1JetsTag_;//EGamma can now be seeded by L1 Jet seeds (important for high energy)
40  edm::InputTag l1TausTag_;//EGamma can now be seeded by L1 Tau seeds (extremely important for high energy)
43 
47 
48  int ncandcut_; // number of egammas required
49  // L1 matching cuts
53  double barrel_end_;
54  double endcap_end_;
55 
56  private:
57  bool matchedToL1Cand(const std::vector<l1t::EGammaRef>& l1Cands,const float scEta,const float scPhi) const;
58  bool matchedToL1Cand(const std::vector<l1t::JetRef>& l1Cands,const float scEta,const float scPhi) const;
59  bool matchedToL1Cand(const std::vector<l1t::TauRef>& l1Cands,const float scEta,const float scPhi) const;
60 };
61 
62 #endif //HLTEgammaL1TMatchFilterRegional_h
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > candNonIsolatedToken_
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > candIsolatedToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
HLT enums.
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > L1SeedFilterToken_