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
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd > m_l1GtTmAlgoToken
std::map< std::string, L1GtAlgorithm > AlgorithmMap
map containing the algorithms
~L1GtTriggerMenuLiteProducer() override
destructor
void beginRunProduce(edm::Run &, const edm::EventSetup &) final
unsigned int m_physicsDaqPartition
index of physics DAQ partition
const L1GtPrescaleFactors * m_l1GtPfTech
const edm::ESGetToken< L1GtStableParameters, L1GtStableParametersRcd > m_l1GtStableParamToken
EventSetup Tokens.
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
unsigned int m_numberPhysTriggers
number of physics triggers
const edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd > m_l1GtPfAlgoToken
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd > m_l1GtTmTechToken
void retrieveL1EventSetup(const edm::EventSetup &)
unsigned int m_numberTechnicalTriggers
number of technical triggers
void produce(edm::Event &, const edm::EventSetup &) final
L1GtTriggerMenuLiteProducer(const edm::ParameterSet &)
constructor(s)
const std::vector< unsigned int > * m_triggerMaskTechTrig
const edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd > m_l1GtPfTechToken
const edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcd > m_l1GtMenuToken
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
const std::vector< unsigned int > * m_triggerMaskAlgoTrig
const L1GtStableParameters * m_l1GtStablePar
cached stuff
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks
Definition: Run.h:45