Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:20:41

0001 #ifndef _HLTHcalPhiSymFilter_H
0002 #define _HLTHcalPhiSymFilter_H
0003 
0004 // -*- C++ -*-
0005 //
0006 // Package:    HLTHcalPhiSymFilter
0007 // Class:      HLTHcalPhiSymFilter
0008 //
0009 /**\class HLTHcalPhiSymFilter HLTHcalPhiSymFilter.cc
0010 
0011  Description: Producer for HcalRecHits to be used for phi-symmetry HCAL calibration . Discard events in which no suitable rechit is available
0012 
0013 */
0014 //
0015 // Original Author:  Grigory Safronov
0016 //
0017 
0018 // system include files
0019 #include <memory>
0020 
0021 // user include files
0022 #include "FWCore/Framework/interface/Frameworkfwd.h"
0023 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0024 
0025 #include "FWCore/Framework/interface/Event.h"
0026 #include "FWCore/Framework/interface/MakerMacros.h"
0027 
0028 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0029 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0030 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0031 
0032 #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
0033 
0034 //
0035 // class decleration
0036 //
0037 
0038 class HLTHcalPhiSymFilter : public HLTFilter {
0039 public:
0040   explicit HLTHcalPhiSymFilter(const edm::ParameterSet &);
0041   ~HLTHcalPhiSymFilter() override;
0042   static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
0043   bool hltFilter(edm::Event &,
0044                  const edm::EventSetup &,
0045                  trigger::TriggerFilterObjectWithRefs &filterproduct) const override;
0046 
0047 private:
0048   // ----------member data ---------------------------
0049 
0050   edm::EDGetTokenT<HBHERecHitCollection> HBHEHitsToken_;
0051   edm::EDGetTokenT<HORecHitCollection> HOHitsToken_;
0052   edm::EDGetTokenT<HFRecHitCollection> HFHitsToken_;
0053   edm::InputTag HBHEHits_;
0054   edm::InputTag HOHits_;
0055   edm::InputTag HFHits_;
0056   std::string phiSymHBHEHits_;
0057   std::string phiSymHOHits_;
0058   std::string phiSymHFHits_;
0059   double eCut_HB_;
0060   double eCut_HE_;
0061   double eCut_HO_;
0062   double eCut_HF_;
0063 };
0064 
0065 #endif