CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTEgammaGenericQuadraticEtaFilter.h
Go to the documentation of this file.
1 #ifndef HLTEgammaGenericQuadraticEtaFilter_h
2 #define HLTEgammaGenericQuadraticEtaFilter_h
3 
11 
14 
15 namespace edm {
17 }
18 
19 //
20 // class declaration
21 //
22 
24 
25  public:
28  virtual bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct) const override;
29  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
30 
31  private:
32  edm::InputTag candTag_; // input tag identifying product that contains filtered photons
33  edm::InputTag isoTag_; // input tag identifying product that contains isolated map
34  edm::InputTag nonIsoTag_; // input tag identifying product that contains non-isolated map
38  bool lessThan_; // the cut is "<" or ">" ?
39  bool useEt_; // use E or Et in relative isolation cuts
40 /* Barrel quadratic threshold function:
41  vali (<= or >=) thrRegularEB_ + (E or Et)*thrOverEEB_ + (E or Et)*(E or Et)*thrOverE2EB_
42  Endcap quadratic threshold function:
43  vali (<= or >=) thrRegularEE_ + (E or Et)*thrOverEEE_ + (E or Et)*(E or Et)*thrOverE2EE_
44 */
45  double etaBoundaryEB12_; //eta Boundary between Regions 1 and 2 - ECAL barrel
46  double etaBoundaryEE12_; //eta Boundary between Regions 1 and 2 - ECAL endcap
47  double thrRegularEB1_; // threshold value for zeroth order term - ECAL barrel region 1
48  double thrRegularEE1_; // threshold value for zeroth order term - ECAL endcap region 1
49  double thrOverEEB1_; // coefficient for first order term - ECAL barrel region 1
50  double thrOverEEE1_; // coefficient for first order term - ECAL endcap region 1
51  double thrOverE2EB1_; // coefficient for second order term - ECAL barrel region 1
52  double thrOverE2EE1_; // coefficient for second order term - ECAL endcap region 1
53  double thrRegularEB2_; // threshold value for zeroth order term - ECAL barrel region 2
54  double thrRegularEE2_; // threshold value for zeroth order term - ECAL endcap region 2
55  double thrOverEEB2_; // coefficient for first order term - ECAL barrel region 2
56  double thrOverEEE2_; // coefficient for first order term - ECAL endcap region 2
57  double thrOverE2EB2_; // coefficient for second order term - ECAL barrel region 2
58  double thrOverE2EE2_; // coefficient for second order term - ECAL endcap region 2
59  int ncandcut_; // number of photons required
61 
62  bool store_;
65 };
66 
67 #endif //HLTEgammaGenericQuadraticEtaFilter_h
68 
69 
edm::EDGetTokenT< reco::RecoEcalCandidateIsolationMap > nonIsoToken_
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > candToken_
edm::EDGetTokenT< reco::RecoEcalCandidateIsolationMap > isoToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)