File indexing completed on 2024-04-06 12:27:43
0001 #ifndef HLTPFTauPairLeadTrackDzMatchFilter_h
0002 #define HLTPFTauPairLeadTrackDzMatchFilter_h
0003
0004 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0005 #include "FWCore/Framework/interface/Event.h"
0006 #include "FWCore/Utilities/interface/InputTag.h"
0007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0008 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0009 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0010 #include "DataFormats/TauReco/interface/PFTau.h"
0011 #include "DataFormats/TauReco/interface/PFTauFwd.h"
0012
0013
0014
0015
0016
0017
0018
0019 class HLTPFTauPairLeadTrackDzMatchFilter : public HLTFilter {
0020 public:
0021 explicit HLTPFTauPairLeadTrackDzMatchFilter(const edm::ParameterSet& conf);
0022 ~HLTPFTauPairLeadTrackDzMatchFilter() override;
0023 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0024 bool hltFilter(edm::Event& ev,
0025 const edm::EventSetup& es,
0026 trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0027
0028 private:
0029 edm::InputTag tauSrc_;
0030 edm::EDGetTokenT<reco::PFTauCollection> tauSrcToken_;
0031 double tauMinPt_;
0032 double tauMaxEta_;
0033 double tauMinDR_;
0034 double tauLeadTrackMaxDZ_;
0035 int triggerType_;
0036 };
0037
0038 #endif