File indexing completed on 2024-04-06 12:27:42
0001 #ifndef L1THLTTauMatching_H
0002 #define L1THLTTauMatching_H
0003
0004
0005 #include "FWCore/Framework/interface/Frameworkfwd.h"
0006 #include "FWCore/Framework/interface/global/EDProducer.h"
0007 #include "FWCore/Framework/interface/Event.h"
0008 #include "FWCore/Framework/interface/EventSetup.h"
0009 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0010 #include "DataFormats/TauReco/interface/PFTauFwd.h"
0011 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0012
0013 #include <map>
0014 #include <vector>
0015 class L1THLTTauMatching : public edm::global::EDProducer<> {
0016 public:
0017 explicit L1THLTTauMatching(const edm::ParameterSet&);
0018 ~L1THLTTauMatching() override = default;
0019 void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0020 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0021
0022 private:
0023 const edm::EDGetTokenT<reco::PFTauCollection> jetSrc;
0024 const edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> tauTrigger;
0025 const double mEt_Min;
0026 const bool reduceTauContent;
0027 const bool keepOriginalVertex;
0028 };
0029 #endif