Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTEcalPixelIsolTrackFilter_h
0002 #define HLTEcalPixelIsolTrackFilter_h
0003 
0004 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0005 #include "DataFormats/HcalIsolatedTrack/interface/IsolatedPixelTrackCandidate.h"
0006 /*
0007  This filter complements HLTPixelIsolTrackFilter in the trigger path
0008  IsoTrackHB(HE) to eliminates non-MIP tracks in ECAL and thus improving
0009  efficiency and reducing data rate significantly
0010  */
0011 namespace edm {
0012   class ConfigurationDescriptions;
0013 }
0014 
0015 class HLTEcalPixelIsolTrackFilter : public HLTFilter {
0016 public:
0017   explicit HLTEcalPixelIsolTrackFilter(const edm::ParameterSet&);
0018   ~HLTEcalPixelIsolTrackFilter() override;
0019   bool hltFilter(edm::Event&,
0020                  const edm::EventSetup&,
0021                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0022   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0023 
0024 private:
0025   edm::EDGetTokenT<reco::IsolatedPixelTrackCandidateCollection> candTok;
0026   edm::InputTag candTag_;
0027   const double maxEnergyInEB_;
0028   const double maxEnergyInEE_;
0029   const double maxEnergyOutEB_;
0030   const double maxEnergyOutEE_;
0031   const int nMaxTrackCandidates_;
0032   const bool dropMultiL2Event_;
0033 };
0034 
0035 #endif