File indexing completed on 2024-04-06 12:18:20
0001 #ifndef HLTEgammaGenericQuadraticEtaFilter_h
0002 #define HLTEgammaGenericQuadraticEtaFilter_h
0003
0004
0005
0006
0007
0008
0009
0010 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0011
0012 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0013 #include "DataFormats/RecoCandidate/interface/RecoEcalCandidateIsolation.h"
0014
0015 namespace edm {
0016 class ConfigurationDescriptions;
0017 }
0018
0019
0020
0021
0022
0023 class HLTEgammaGenericQuadraticEtaFilter : public HLTFilter {
0024 public:
0025 explicit HLTEgammaGenericQuadraticEtaFilter(const edm::ParameterSet&);
0026 ~HLTEgammaGenericQuadraticEtaFilter() override;
0027 bool hltFilter(edm::Event&,
0028 const edm::EventSetup&,
0029 trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0030 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0031
0032 private:
0033 edm::InputTag candTag_;
0034 edm::InputTag varTag_;
0035 edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> candToken_;
0036 edm::EDGetTokenT<reco::RecoEcalCandidateIsolationMap> varToken_;
0037 bool lessThan_;
0038 bool useEt_;
0039 bool useAbs_;
0040
0041
0042
0043
0044
0045
0046 std::vector<double> energyLowEdges_;
0047 double etaBoundaryEB12_;
0048 double etaBoundaryEE12_;
0049 std::vector<double> thrRegularEB1_;
0050 std::vector<double> thrRegularEE1_;
0051 std::vector<double> thrOverEEB1_;
0052 std::vector<double> thrOverEEE1_;
0053 std::vector<double> thrOverE2EB1_;
0054 std::vector<double> thrOverE2EE1_;
0055 std::vector<double> thrRegularEB2_;
0056 std::vector<double> thrRegularEE2_;
0057 std::vector<double> thrOverEEB2_;
0058 std::vector<double> thrOverEEE2_;
0059 std::vector<double> thrOverE2EB2_;
0060 std::vector<double> thrOverE2EE2_;
0061 int ncandcut_;
0062
0063 bool store_;
0064 edm::InputTag l1EGTag_;
0065
0066 edm::InputTag rhoTag_;
0067 edm::EDGetTokenT<double> rhoToken_;
0068 bool doRhoCorrection_;
0069 double rhoMax_;
0070 double rhoScale_;
0071 std::vector<double> effectiveAreas_;
0072 std::vector<double> absEtaLowEdges_;
0073 };
0074
0075 #endif