Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTPMDocaFilter_h
0002 #define HLTPMDocaFilter_h
0003 
0004 /** \class HLTPMDocaFilter
0005  *
0006  *  Original Author: Jeremy Werner
0007  *  Institution: Princeton University, USA
0008  *  Contact: Jeremy.Werner@cern.ch
0009  *  Date: February 21, 2007
0010  *
0011  */
0012 
0013 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0014 
0015 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0016 
0017 namespace edm {
0018   class ConfigurationDescriptions;
0019 }
0020 
0021 //
0022 // class decleration
0023 //
0024 
0025 class HLTPMDocaFilter : public HLTFilter {
0026 public:
0027   explicit HLTPMDocaFilter(const edm::ParameterSet&);
0028   ~HLTPMDocaFilter() override;
0029   bool hltFilter(edm::Event&,
0030                  const edm::EventSetup&,
0031                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0032   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0033 
0034 private:
0035   edm::InputTag candTag_;  // input tag identifying product contains filtered egammas
0036   edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> candToken_;
0037   double docaDiffPerpCutHigh_;
0038   double docaDiffPerpCutLow_;
0039   int nZcandcut_;  // number of electrons required
0040 };
0041 
0042 #endif  //HLTPMDocaFilter_h