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 {
44 
45 public:
46 
49 
52 
53 private:
54 
58 
59  virtual void beginJob() override final;
60  void beginRunProduce(edm::Run&, const edm::EventSetup&) override final;
61 
62  virtual void produce(edm::Event&, const edm::EventSetup&) override final;
63 
64  virtual void endJob() override;
65 
66 private:
67 
69 
72  unsigned long long m_l1GtStableParCacheID;
73 
75  unsigned int m_numberPhysTriggers;
76 
79 
80  // trigger menu
82  unsigned long long m_l1GtMenuCacheID;
83 
87 
90  unsigned long long m_l1GtTmAlgoCacheID;
91 
93  unsigned long long m_l1GtTmTechCacheID;
94 
95  const std::vector<unsigned int>* m_triggerMaskAlgoTrig;
96  const std::vector<unsigned int>* m_triggerMaskTechTrig;
97 
100  unsigned long long m_l1GtPfAlgoCacheID;
101 
103  unsigned long long m_l1GtPfTechCacheID;
104 
105  const std::vector<std::vector<int> >* m_prescaleFactorsAlgoTrig;
106  const std::vector<std::vector<int> >* m_prescaleFactorsTechTrig;
107 
108 private:
109 
111  unsigned int m_physicsDaqPartition;
112 
113 };
114 
115 #endif // EventFilter_L1GlobalTriggerRawToDigi_L1GtTriggerMenuLiteProducer_h
void beginRunProduce(edm::Run &, const edm::EventSetup &) override final
std::map< std::string, L1GtAlgorithm > AlgorithmMap
map containing the algorithms
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
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
virtual void beginJob() override final
const std::vector< unsigned int > * m_triggerMaskAlgoTrig
virtual ~L1GtTriggerMenuLiteProducer()
destructor
const L1GtStableParameters * m_l1GtStablePar
cached stuff
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks
Definition: Run.h:42
virtual void produce(edm::Event &, const edm::EventSetup &) override final