File indexing completed on 2024-04-06 12:22:17
0001 #ifndef L1GtConfigProducers_L1GtStableParametersTrivialProducer_h
0002 #define L1GtConfigProducers_L1GtStableParametersTrivialProducer_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/L1GtStableParameters.h"
0031 #include "CondFormats/DataRecord/interface/L1GtStableParametersRcd.h"
0032
0033
0034
0035
0036 class L1GtStableParametersTrivialProducer : public edm::ESProducer {
0037 public:
0038
0039 L1GtStableParametersTrivialProducer(const edm::ParameterSet&);
0040
0041
0042 ~L1GtStableParametersTrivialProducer() override;
0043
0044
0045
0046
0047 std::unique_ptr<L1GtStableParameters> produceGtStableParameters(const L1GtStableParametersRcd&);
0048
0049 private:
0050
0051
0052
0053 unsigned int m_numberPhysTriggers;
0054
0055
0056 unsigned int m_numberPhysTriggersExtended;
0057
0058
0059 unsigned int m_numberTechnicalTriggers;
0060
0061
0062
0063
0064 unsigned int m_numberL1Mu;
0065
0066
0067 unsigned int m_numberL1NoIsoEG;
0068 unsigned int m_numberL1IsoEG;
0069
0070
0071 unsigned int m_numberL1CenJet;
0072 unsigned int m_numberL1ForJet;
0073 unsigned int m_numberL1TauJet;
0074
0075
0076 unsigned int m_numberL1JetCounts;
0077
0078 private:
0079
0080
0081
0082 unsigned int m_numberConditionChips;
0083
0084
0085 unsigned int m_pinsOnConditionChip;
0086
0087
0088
0089 std::vector<int> m_orderConditionChip;
0090
0091
0092 int m_numberPsbBoards;
0093
0094
0095 unsigned int m_ifCaloEtaNumberBits;
0096
0097
0098 unsigned int m_ifMuEtaNumberBits;
0099
0100 private:
0101
0102 int m_wordLength;
0103
0104
0105 int m_unitLength;
0106 };
0107
0108 #endif