File indexing completed on 2024-04-06 12:27:42
0001 #ifndef CaloTowerCreator_CaloTowerFromL1TSeededCreatorForTauHLT_h
0002 #define CaloTowerCreator_CaloTowerFromL1TSeededCreatorForTauHLT_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #include "FWCore/Framework/interface/global/EDProducer.h"
0015 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0016 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0017 #include "DataFormats/CaloTowers/interface/CaloTower.h"
0018 #include "DataFormats/L1Trigger/interface/Tau.h"
0019 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0020 #include <string>
0021
0022 namespace edm {
0023 class ParameterSet;
0024 }
0025
0026 class CaloTowerFromL1TSeededCreatorForTauHLT : public edm::global::EDProducer<> {
0027 public:
0028
0029 CaloTowerFromL1TSeededCreatorForTauHLT(const edm::ParameterSet&);
0030
0031 ~CaloTowerFromL1TSeededCreatorForTauHLT() override;
0032
0033 static void fillDescriptions(edm::ConfigurationDescriptions& desc);
0034
0035 private:
0036
0037 void produce(edm::StreamID sid, edm::Event& evt, const edm::EventSetup& stp) const override;
0038
0039
0040 const int m_verbose;
0041
0042 const edm::EDGetTokenT<CaloTowerCollection> m_towers_token;
0043
0044 const double m_cone;
0045
0046 const edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> m_tauTrigger_token;
0047
0048
0049
0050 const double m_EtThreshold;
0051
0052 const double m_EThreshold;
0053 };
0054
0055 #endif