CMS 3D CMS Logo

L1GtTriggerMenuLiteProducer.h
Go to the documentation of this file.
1 #ifndef EventFilter_L1GlobalTriggerRawToDigi_L1GtTriggerMenuLiteProducer_h
2 #define EventFilter_L1GlobalTriggerRawToDigi_L1GtTriggerMenuLiteProducer_h
3 
20 // system include files
21 #include <memory>
22 
23 // user include files
26 
29 
33 
45 
46 // forward declarations
48 class L1GtTriggerMenu;
49 class L1GtTriggerMask;
51 
52 // class declaration
53 class L1GtTriggerMenuLiteProducer : public edm::one::EDProducer<edm::BeginRunProducer> {
54 public:
57 
60 
61 private:
65 
66  void beginJob() final;
67  void beginRunProduce(edm::Run&, const edm::EventSetup&) final;
68 
69  void produce(edm::Event&, const edm::EventSetup&) final;
70 
71  void endJob() override;
72 
73 private:
75 
78  unsigned long long m_l1GtStableParCacheID;
79 
81  unsigned int m_numberPhysTriggers;
82 
85 
86  // trigger menu
88  unsigned long long m_l1GtMenuCacheID;
89 
93 
96  unsigned long long m_l1GtTmAlgoCacheID;
97 
99  unsigned long long m_l1GtTmTechCacheID;
100 
101  const std::vector<unsigned int>* m_triggerMaskAlgoTrig;
102  const std::vector<unsigned int>* m_triggerMaskTechTrig;
103 
106  unsigned long long m_l1GtPfAlgoCacheID;
107 
109  unsigned long long m_l1GtPfTechCacheID;
110 
111  const std::vector<std::vector<int> >* m_prescaleFactorsAlgoTrig;
112  const std::vector<std::vector<int> >* m_prescaleFactorsTechTrig;
113 
121 
122 private:
124  unsigned int m_physicsDaqPartition;
125 };
126 
127 #endif // EventFilter_L1GlobalTriggerRawToDigi_L1GtTriggerMenuLiteProducer_h
L1GtTriggerMenuLiteProducer::m_l1GtPfAlgoCacheID
unsigned long long m_l1GtPfAlgoCacheID
Definition: L1GtTriggerMenuLiteProducer.h:106
L1GtTriggerMenuLiteProducer::m_l1GtPfAlgo
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
Definition: L1GtTriggerMenuLiteProducer.h:105
L1GtTriggerMenu.h
EDProducer.h
L1GtPrescaleFactors
Definition: L1GtPrescaleFactors.h:32
L1GtTriggerMaskAlgoTrigRcd.h
L1GtTriggerMask.h
L1GtTriggerMenuLiteProducer::m_numberTechnicalTriggers
unsigned int m_numberTechnicalTriggers
number of technical triggers
Definition: L1GtTriggerMenuLiteProducer.h:84
L1GtTriggerMenuLiteProducer::m_algorithmAliasMap
const AlgorithmMap * m_algorithmAliasMap
Definition: L1GtTriggerMenuLiteProducer.h:91
L1GtTriggerMenuLiteProducer::m_algorithmMap
const AlgorithmMap * m_algorithmMap
Definition: L1GtTriggerMenuLiteProducer.h:90
L1GtTriggerMenuLiteProducer::m_l1GtTmTechCacheID
unsigned long long m_l1GtTmTechCacheID
Definition: L1GtTriggerMenuLiteProducer.h:99
edm::Run
Definition: Run.h:45
L1GtTriggerMenuLiteProducer::m_technicalTriggerMap
const AlgorithmMap * m_technicalTriggerMap
Definition: L1GtTriggerMenuLiteProducer.h:92
L1GtTriggerMenuRcd.h
L1GtTriggerMenuLiteProducer::m_l1GtMenu
const L1GtTriggerMenu * m_l1GtMenu
Definition: L1GtTriggerMenuLiteProducer.h:87
L1GtTriggerMenuLiteProducer::m_triggerMaskTechTrig
const std::vector< unsigned int > * m_triggerMaskTechTrig
Definition: L1GtTriggerMenuLiteProducer.h:102
L1GtTriggerMenuLiteProducer::endJob
void endJob() override
Definition: L1GtTriggerMenuLiteProducer.cc:244
L1GtTriggerMaskTechTrigRcd.h
L1GtStableParametersRcd.h
edm::one::EDProducer
Definition: EDProducer.h:30
L1GtTriggerMenuLiteProducer::beginRunProduce
void beginRunProduce(edm::Run &, const edm::EventSetup &) final
Definition: L1GtTriggerMenuLiteProducer.cc:161
L1GtTriggerMenuLiteProducer::m_physicsDaqPartition
unsigned int m_physicsDaqPartition
index of physics DAQ partition
Definition: L1GtTriggerMenuLiteProducer.h:124
L1GtTriggerMenuLiteProducer::m_l1GtTmTechToken
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd > m_l1GtTmTechToken
Definition: L1GtTriggerMenuLiteProducer.h:119
ESGetToken.h
L1GtTriggerMenuLiteProducer::m_l1GtMenuCacheID
unsigned long long m_l1GtMenuCacheID
Definition: L1GtTriggerMenuLiteProducer.h:88
MakerMacros.h
AlgorithmMap
std::map< std::string, L1GtAlgorithm > AlgorithmMap
map containing the algorithms
Definition: L1GtTriggerMenuFwd.h:31
L1GtTriggerMenuLiteProducer::m_prescaleFactorsTechTrig
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
Definition: L1GtTriggerMenuLiteProducer.h:112
L1GtTriggerMenuLiteProducer::~L1GtTriggerMenuLiteProducer
~L1GtTriggerMenuLiteProducer() override
destructor
Definition: L1GtTriggerMenuLiteProducer.cc:63
L1GtTriggerMask
Definition: L1GtTriggerMask.h:33
L1GtStableParameters
Definition: L1GtStableParameters.h:33
L1GtTriggerMenuLiteProducer
Definition: L1GtTriggerMenuLiteProducer.h:53
L1GtTriggerMenuLiteProducer::L1GtTriggerMenuLiteProducer
L1GtTriggerMenuLiteProducer(const edm::ParameterSet &)
constructor(s)
Definition: L1GtTriggerMenuLiteProducer.cc:37
L1GtTriggerMenuLiteProducer::m_l1GtStableParamToken
const edm::ESGetToken< L1GtStableParameters, L1GtStableParametersRcd > m_l1GtStableParamToken
EventSetup Tokens.
Definition: L1GtTriggerMenuLiteProducer.h:115
L1GtTriggerMenuLiteProducer::m_l1GtTmAlgoCacheID
unsigned long long m_l1GtTmAlgoCacheID
Definition: L1GtTriggerMenuLiteProducer.h:96
edm::ParameterSet
Definition: ParameterSet.h:47
L1GtTriggerMenu
Definition: L1GtTriggerMenu.h:48
Event.h
L1GtTriggerMenuLiteProducer::m_l1GtTmAlgo
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks
Definition: L1GtTriggerMenuLiteProducer.h:95
L1GtPrescaleFactorsAlgoTrigRcd.h
L1GtTriggerMenuLiteProducer::m_triggerMaskAlgoTrig
const std::vector< unsigned int > * m_triggerMaskAlgoTrig
Definition: L1GtTriggerMenuLiteProducer.h:101
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< L1GtStableParameters, L1GtStableParametersRcd >
InputTag.h
L1GtTriggerMenuLiteProducer::m_l1GtPfTechCacheID
unsigned long long m_l1GtPfTechCacheID
Definition: L1GtTriggerMenuLiteProducer.h:109
L1GtTriggerMenuLiteProducer::produce
void produce(edm::Event &, const edm::EventSetup &) final
Definition: L1GtTriggerMenuLiteProducer.cc:241
L1GtTriggerMenuLiteProducer::m_l1GtStableParCacheID
unsigned long long m_l1GtStableParCacheID
Definition: L1GtTriggerMenuLiteProducer.h:78
L1GtTriggerMenuLiteProducer::m_l1GtStablePar
const L1GtStableParameters * m_l1GtStablePar
cached stuff
Definition: L1GtTriggerMenuLiteProducer.h:77
Frameworkfwd.h
L1GtTriggerMenuLiteProducer::m_l1GtTmTech
const L1GtTriggerMask * m_l1GtTmTech
Definition: L1GtTriggerMenuLiteProducer.h:98
L1GtTriggerMenuLiteProducer::m_l1GtPfAlgoToken
const edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd > m_l1GtPfAlgoToken
Definition: L1GtTriggerMenuLiteProducer.h:116
L1GtTriggerMenuLiteProducer::m_l1GtTmAlgoToken
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd > m_l1GtTmAlgoToken
Definition: L1GtTriggerMenuLiteProducer.h:118
L1GtTriggerMenuFwd.h
L1GtTriggerMenuLiteProducer::m_l1GtPfTech
const L1GtPrescaleFactors * m_l1GtPfTech
Definition: L1GtTriggerMenuLiteProducer.h:108
L1GtTriggerMenuLiteProducer::retrieveL1EventSetup
void retrieveL1EventSetup(const edm::EventSetup &)
Definition: L1GtTriggerMenuLiteProducer.cc:67
ParameterSet.h
edm::Event
Definition: Event.h:73
L1GtTriggerMenuLiteProducer::m_prescaleFactorsAlgoTrig
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
Definition: L1GtTriggerMenuLiteProducer.h:111
L1GtStableParameters.h
L1GtPrescaleFactors.h
L1GtTriggerMenuLiteProducer::m_l1GtMenuToken
const edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcd > m_l1GtMenuToken
Definition: L1GtTriggerMenuLiteProducer.h:120
L1GtTriggerMenuLiteProducer::m_l1GtPfTechToken
const edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd > m_l1GtPfTechToken
Definition: L1GtTriggerMenuLiteProducer.h:117
L1GtTriggerMenuLiteProducer::m_numberPhysTriggers
unsigned int m_numberPhysTriggers
number of physics triggers
Definition: L1GtTriggerMenuLiteProducer.h:81
L1GtTriggerMenuLiteProducer::beginJob
void beginJob() final
Definition: L1GtTriggerMenuLiteProducer.cc:157
L1GtPrescaleFactorsTechTrigRcd.h