File indexing completed on 2024-04-06 12:22:17
0001 #ifndef L1GtConfigProducers_L1GtPrescaleFactorsAlgoTrigTrivialProducer_h
0002 #define L1GtConfigProducers_L1GtPrescaleFactorsAlgoTrigTrivialProducer_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #include <memory>
0020
0021 #include <vector>
0022
0023
0024
0025 #include "FWCore/Framework/interface/ESProducer.h"
0026
0027 #include "FWCore/Framework/interface/ModuleFactory.h"
0028 #include "FWCore/Framework/interface/ESHandle.h"
0029
0030 #include "CondFormats/L1TObjects/interface/L1GtPrescaleFactors.h"
0031
0032
0033 class L1GtPrescaleFactorsAlgoTrigRcd;
0034
0035
0036 class L1GtPrescaleFactorsAlgoTrigTrivialProducer : public edm::ESProducer {
0037 public:
0038
0039 L1GtPrescaleFactorsAlgoTrigTrivialProducer(const edm::ParameterSet&);
0040
0041
0042 ~L1GtPrescaleFactorsAlgoTrigTrivialProducer() override;
0043
0044
0045
0046 std::unique_ptr<L1GtPrescaleFactors> producePrescaleFactors(const L1GtPrescaleFactorsAlgoTrigRcd&);
0047
0048 private:
0049
0050 std::vector<std::vector<int> > m_prescaleFactors;
0051 };
0052
0053 #endif