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 
32 
34 
35 // forward declarations
37 class L1GtTriggerMenu;
38 class L1GtTriggerMask;
40 
41 // class declaration
42 class L1GtTriggerMenuLiteProducer : public edm::one::EDProducer<edm::BeginRunProducer> {
43 public:
46 
49 
50 private:
54 
55  void beginJob() final;
56  void beginRunProduce(edm::Run&, const edm::EventSetup&) final;
57 
58  void produce(edm::Event&, const edm::EventSetup&) final;
59 
60  void endJob() override;
61 
62 private:
64 
67  unsigned long long m_l1GtStableParCacheID;
68 
70  unsigned int m_numberPhysTriggers;
71 
74 
75  // trigger menu
77  unsigned long long m_l1GtMenuCacheID;
78 
82 
85  unsigned long long m_l1GtTmAlgoCacheID;
86 
88  unsigned long long m_l1GtTmTechCacheID;
89 
90  const std::vector<unsigned int>* m_triggerMaskAlgoTrig;
91  const std::vector<unsigned int>* m_triggerMaskTechTrig;
92 
95  unsigned long long m_l1GtPfAlgoCacheID;
96 
98  unsigned long long m_l1GtPfTechCacheID;
99 
100  const std::vector<std::vector<int> >* m_prescaleFactorsAlgoTrig;
101  const std::vector<std::vector<int> >* m_prescaleFactorsTechTrig;
102 
103 private:
105  unsigned int m_physicsDaqPartition;
106 };
107 
108 #endif // EventFilter_L1GlobalTriggerRawToDigi_L1GtTriggerMenuLiteProducer_h
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 std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
unsigned int m_numberPhysTriggers
number of physics triggers
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 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