Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:20

0001 #ifndef HLTEgammaDoubleEtPhiFilter_h
0002 #define HLTEgammaDoubleEtPhiFilter_h
0003 
0004 /** \class HLTEgammaDoubleEtPhiFilter
0005  *
0006  *  \author Jonathan Hollar (LLNL)
0007  *
0008  */
0009 
0010 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0011 #include "DataFormats/Candidate/interface/Candidate.h"
0012 #include "DataFormats/Common/interface/Ref.h"
0013 #include "DataFormats/Common/interface/RefProd.h"
0014 #include "DataFormats/Common/interface/RefToBase.h"
0015 
0016 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0017 
0018 namespace edm {
0019   class ConfigurationDescriptions;
0020 }
0021 
0022 //
0023 // class decleration
0024 //
0025 
0026 class HLTEgammaDoubleEtPhiFilter : public HLTFilter {
0027 public:
0028   explicit HLTEgammaDoubleEtPhiFilter(const edm::ParameterSet&);
0029   ~HLTEgammaDoubleEtPhiFilter() override;
0030   bool hltFilter(edm::Event&,
0031                  const edm::EventSetup&,
0032                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0033   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0034 
0035 private:
0036   edm::InputTag candTag_;  // input tag identifying product contains filtered candidates
0037   edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> candToken_;
0038   double etcut1_;         // Et threshold in GeV
0039   double etcut2_;         // Et threshold in GeV
0040   double min_Acop_;       // minimum acoplanarity
0041   double max_Acop_;       // maximum acoplanarity
0042   double min_EtBalance_;  // minimum Et difference
0043   double max_EtBalance_;  // maximum Et difference
0044   int npaircut_;          // number of egammas required
0045 };
0046 
0047 #endif  //HLTEgammaDoubleEtPhiFilter_h