CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TGlobalProducer.h
Go to the documentation of this file.
1 #ifndef L1TGlobalProducer_h
2 #define L1TGlobalProducer_h
3 
4 // Emulator for L1T Global
5 // author: Brian Winer Ohio State
6 
7 #include <string>
8 #include <vector>
9 #include <iostream>
10 #include <fstream>
11 
18 
20 
22 
24 class L1GtParameters;
25 class L1GtBoardMaps;
26 
28 class L1GtTriggerMask;
29 
30 class TriggerMenu;
31 
32 // class declaration
33 
35 {
36 
37 public:
38 
39  explicit L1TGlobalProducer(const edm::ParameterSet&);
41 
42  virtual void produce(edm::Event&, const edm::EventSetup&) override;
43 
44  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
45 
46 private:
47 
49 
52  unsigned long long m_l1GtParCacheID;
53 
54  // trigger menu
56  unsigned long long m_l1GtMenuCacheID;
57 
58  // number of physics triggers
59  unsigned int m_numberPhysTriggers;
60 
61  // number of DAQ partitions
62  unsigned int m_numberDaqPartitions;
63 
64  // number of objects of each type
65  int m_nrL1Mu;
66  int m_nrL1EG;
67  int m_nrL1Tau;
68 
69  int m_nrL1Jet;
70 
71  // ... the rest of the objects are global
74 
77 
80 
82  unsigned int m_bstLengthBytes;
83 
86  unsigned long long m_l1GtBMCacheID;
87 
90  unsigned long long m_l1GtPfAlgoCacheID;
91 
92  const std::vector<std::vector<int> >* m_prescaleFactorsAlgoTrig;
93  std::vector<std::vector<int> > m_initialPrescaleFactorsAlgoTrig;
94 
97 
100  unsigned long long m_l1GtTmAlgoCacheID;
101 
103  unsigned long long m_l1GtTmVetoAlgoCacheID;
104 
105  const std::vector<unsigned int>* m_triggerMaskAlgoTrig;
106  std::vector<unsigned int> m_initialTriggerMaskAlgoTrig;
107 
108  const std::vector<unsigned int>* m_triggerMaskVetoAlgoTrig;
109  std::vector<unsigned int> m_initialTriggerMaskVetoAlgoTrig;
110 
112 
116 
126 
130 
133 
136 
139 
145 
148 
152 
155 
157  unsigned int m_prescaleSet;
158 
163 
167 
171 
172 };
173 
174 
175 #endif /*L1TGlobalProducer_h*/
const L1GtBoardMaps * m_l1GtBM
board maps - cache only the record
edm::InputTag m_jetInputTag
unsigned int m_numberDaqPartitions
unsigned long long m_l1GtParCacheID
unsigned long long m_l1GtTmVetoAlgoCacheID
const std::vector< unsigned int > * m_triggerMaskAlgoTrig
int m_verbosity
verbosity level
std::string m_prescalesFile
CSV file for prescales.
uint16_t m_activeBoardsGtDaq
active boards in L1 GT DAQ record
edm::InputTag m_egInputTag
input tag for calorimeter collections from GCT
edm::EDGetTokenT< BXVector< l1t::Tau > > m_tauInputToken
int m_psBstLengthBytes
length of BST record (in bytes) from parameter set
bool m_produceL1GtObjectMapRecord
logical flag to produce the L1 GT object map record
int m_totalBxInEvent
total number of Bx&#39;s in the event coming from EventSetup
unsigned int m_numberPhysTriggers
const L1TGlobalParameters * m_l1GtStablePar
cached stuff
edm::EDGetTokenT< BXVector< GlobalExtBlk > > m_extInputToken
unsigned long long m_l1GtTmAlgoCacheID
const TriggerMenu * m_l1GtMenu
std::vector< unsigned int > m_initialTriggerMaskAlgoTrig
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks &amp; veto masks
unsigned int m_alternativeNrBxBoardDaq
edm::InputTag m_sumInputTag
edm::InputTag m_muInputTag
input tag for muon collection from GMT
edm::InputTag m_extInputTag
input tag for external conditions
unsigned long long m_l1GtMenuCacheID
edm::InputTag m_tauInputTag
bool m_writePsbL1GtDaqRecord
logical flag to write the PSB content in the L1 GT DAQ record
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
std::vector< std::vector< int > > m_initialPrescaleFactorsAlgoTrig
bool m_produceL1GtDaqRecord
logical flag to produce the L1 GT DAQ readout record
edm::EDGetTokenT< BXVector< l1t::Muon > > m_muInputToken
const L1GtTriggerMask * m_l1GtTmVetoAlgo
unsigned int m_prescaleSet
prescale set used
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< BXVector< l1t::EtSum > > m_sumInputToken
int m_L1DataBxInEvent
Bx expected in Data coming to GT.
l1t::GlobalBoard * m_uGtBrd
L1TGlobalProducer(const edm::ParameterSet &)
unsigned long long m_l1GtBMCacheID
std::vector< unsigned int > m_initialTriggerMaskVetoAlgoTrig
unsigned int m_bstLengthBytes
length of BST record (in bytes) from event setup
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
unsigned long long m_l1GtPfAlgoCacheID
const std::vector< unsigned int > * m_triggerMaskVetoAlgoTrig
edm::EDGetTokenT< BXVector< l1t::Jet > > m_jetInputToken
edm::EDGetTokenT< BXVector< l1t::EGamma > > m_egInputToken
virtual void produce(edm::Event &, const edm::EventSetup &) override