CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
TriggerMenu Class Reference

#include <TriggerMenu.h>

Public Member Functions

void buildGtConditionMap ()
 
const std::vector< std::vector< CaloTemplate > > & corCaloTemplate () const
 
const std::vector< std::vector< EnergySumTemplate > > & corEnergySumTemplate () const
 
const std::vector< std::vector< MuonTemplate > > & corMuonTemplate () const
 
const l1t::AlgorithmMapgtAlgorithmAliasMap () const
 get / set the algorithm map (by alias) More...
 
const l1t::AlgorithmMapgtAlgorithmMap () const
 get / set the algorithm map (by name) More...
 
const bool gtAlgorithmResult (const std::string &algName, const std::vector< bool > &decWord) const
 
const std::vector< l1t::ConditionMap > & gtConditionMap () const
 get / set / build the condition maps More...
 
const std::string & gtScaleDbKey () const
 menu associated scale key More...
 
const l1t::GlobalScalesgtScales () const
 get the scales More...
 
const unsigned long gtTriggerMenuImplementation () const
 
const std::string & gtTriggerMenuInterface () const
 get / set the trigger menu names More...
 
const std::string & gtTriggerMenuName () const
 
const unsigned long gtTriggerMenuUUID () const
 
TriggerMenuoperator= (const TriggerMenu &)
 
void print (std::ostream &, int &) const
 
void setCorCaloTemplate (const std::vector< std::vector< CaloTemplate > > &)
 
void setCorEnergySumTemplate (const std::vector< std::vector< EnergySumTemplate > > &)
 
void setCorMuonTemplate (const std::vector< std::vector< MuonTemplate > > &)
 
void setGtAlgorithmAliasMap (const l1t::AlgorithmMap &)
 
void setGtAlgorithmMap (const l1t::AlgorithmMap &)
 
void setGtConditionMap (const std::vector< l1t::ConditionMap > &)
 
void setGtScaleDbKey (const std::string &)
 
void setGtScales (const l1t::GlobalScales &)
 
void setGtTriggerMenuImplementation (const unsigned long)
 
void setGtTriggerMenuInterface (const std::string &)
 
void setGtTriggerMenuName (const std::string &)
 
void setGtTriggerMenuUUID (const unsigned long uuid)
 
void setVecAXOL1TLTemplate (const std::vector< std::vector< AXOL1TLTemplate > > &)
 
void setVecCaloTemplate (const std::vector< std::vector< CaloTemplate > > &)
 
void setVecCICADATemplate (const std::vector< std::vector< CICADATemplate > > &)
 
void setVecCorrelationTemplate (const std::vector< std::vector< CorrelationTemplate > > &)
 
void setVecCorrelationThreeBodyTemplate (const std::vector< std::vector< CorrelationThreeBodyTemplate > > &)
 
void setVecCorrelationWithOverlapRemovalTemplate (const std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > &)
 
void setVecEnergySumTemplate (const std::vector< std::vector< EnergySumTemplate > > &)
 
void setVecEnergySumZdcTemplate (const std::vector< std::vector< EnergySumZdcTemplate > > &)
 
void setVecExternalTemplate (const std::vector< std::vector< ExternalTemplate > > &)
 
void setVecMuonShowerTemplate (const std::vector< std::vector< MuonShowerTemplate > > &)
 
void setVecMuonTemplate (const std::vector< std::vector< MuonTemplate > > &)
 
 TriggerMenu ()
 
 TriggerMenu (const std::string &, const unsigned int numberConditionChips, const std::vector< std::vector< MuonTemplate > > &, const std::vector< std::vector< MuonShowerTemplate > > &, const std::vector< std::vector< CaloTemplate > > &, const std::vector< std::vector< EnergySumTemplate > > &, const std::vector< std::vector< EnergySumZdcTemplate > > &, const std::vector< std::vector< AXOL1TLTemplate > > &, const std::vector< std::vector< CICADATemplate > > &, const std::vector< std::vector< ExternalTemplate > > &, const std::vector< std::vector< CorrelationTemplate > > &, const std::vector< std::vector< CorrelationThreeBodyTemplate > > &, const std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > &, const std::vector< std::vector< MuonTemplate > > &, const std::vector< std::vector< CaloTemplate > > &, const std::vector< std::vector< EnergySumTemplate > > &)
 
 TriggerMenu (const TriggerMenu &)
 
const std::vector< std::vector< AXOL1TLTemplate > > & vecAXOL1TLTemplate () const
 
const std::vector< std::vector< CaloTemplate > > & vecCaloTemplate () const
 
const std::vector< std::vector< CICADATemplate > > & vecCICADATemplate () const
 
const std::vector< std::vector< CorrelationTemplate > > & vecCorrelationTemplate () const
 
const std::vector< std::vector< CorrelationThreeBodyTemplate > > & vecCorrelationThreeBodyTemplate () const
 
const std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > & vecCorrelationWithOverlapRemovalTemplate () const
 
const std::vector< std::vector< EnergySumTemplate > > & vecEnergySumTemplate () const
 
const std::vector< std::vector< EnergySumZdcTemplate > > & vecEnergySumZdcTemplate () const
 
const std::vector< std::vector< ExternalTemplate > > & vecExternalTemplate () const
 
const std::vector< std::vector< MuonShowerTemplate > > & vecMuonShowerTemplate () const
 
const std::vector< std::vector< MuonTemplate > > & vecMuonTemplate () const
 get / set the vectors containing the conditions More...
 
virtual ~TriggerMenu ()
 

Private Attributes

l1t::AlgorithmMap m_algorithmAliasMap
 map containing the physics algorithms (by alias) More...
 
l1t::AlgorithmMap m_algorithmMap
 map containing the physics algorithms (by name) More...
 
std::vector< l1t::ConditionMapm_conditionMap
 map containing the conditions (per condition chip) - transient More...
 
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
 
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
 
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
 
l1t::GlobalScales m_gtScales
 map containing the technical triggers More...
 
std::string m_scaleDbKey
 menu associated scale key More...
 
unsigned long m_triggerMenuImplementation
 
std::string m_triggerMenuInterface
 menu names More...
 
std::string m_triggerMenuName
 
unsigned long m_triggerMenuUUID
 
std::vector< std::vector< AXOL1TLTemplate > > m_vecAXOL1TLTemplate
 
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
 
std::vector< std::vector< CICADATemplate > > m_vecCICADATemplate
 
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
 
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
 
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
 
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
 
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
 
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
 
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
 
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
 

Detailed Description

Description: L1 trigger menu.

Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna Vladimir Rekovic - extend for overlap removal Elisa Fontanesi - extended for three-body correlation conditions

$Date$ $Revision$

Definition at line 52 of file TriggerMenu.h.

Constructor & Destructor Documentation

◆ TriggerMenu() [1/3]

TriggerMenu::TriggerMenu ( )

Definition at line 32 of file TriggerMenu.cc.

33  : m_triggerMenuInterface("NULL"),
34  m_triggerMenuName("NULL"),
36  m_scaleDbKey("NULL") {
37  // empty
38 }
std::string m_triggerMenuName
Definition: TriggerMenu.h:243
std::string m_scaleDbKey
menu associated scale key
Definition: TriggerMenu.h:249
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:244
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:242

◆ TriggerMenu() [2/3]

TriggerMenu::TriggerMenu ( const std::string &  triggerMenuNameVal,
const unsigned int  numberConditionChips,
const std::vector< std::vector< MuonTemplate > > &  vecMuonTemplateVal,
const std::vector< std::vector< MuonShowerTemplate > > &  vecMuonShowerTemplateVal,
const std::vector< std::vector< CaloTemplate > > &  vecCaloTemplateVal,
const std::vector< std::vector< EnergySumTemplate > > &  vecEnergySumTemplateVal,
const std::vector< std::vector< EnergySumZdcTemplate > > &  vecEnergySumZdcTemplateVal,
const std::vector< std::vector< AXOL1TLTemplate > > &  vecAXOL1TLTemplateVal,
const std::vector< std::vector< CICADATemplate > > &  vecCICADATemplateVal,
const std::vector< std::vector< ExternalTemplate > > &  vecExternalTemplateVal,
const std::vector< std::vector< CorrelationTemplate > > &  vecCorrelationTemplateVal,
const std::vector< std::vector< CorrelationThreeBodyTemplate > > &  vecCorrelationThreeBodyTemplateVal,
const std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > &  vecCorrelationWithOverlapRemovalTemplateVal,
const std::vector< std::vector< MuonTemplate > > &  corMuonTemplateVal,
const std::vector< std::vector< CaloTemplate > > &  corCaloTemplateVal,
const std::vector< std::vector< EnergySumTemplate > > &  corEnergySumTemplateVal 
)

Definition at line 40 of file TriggerMenu.cc.

References buildGtConditionMap(), m_conditionMap, and m_triggerMenuUUID.

59  : m_triggerMenuInterface("NULL"),
60  m_triggerMenuName(triggerMenuNameVal),
62  m_scaleDbKey("NULL"),
63  m_vecMuonTemplate(vecMuonTemplateVal),
64  m_vecMuonShowerTemplate(vecMuonShowerTemplateVal),
65  m_vecCaloTemplate(vecCaloTemplateVal),
66  m_vecEnergySumTemplate(vecEnergySumTemplateVal),
67  m_vecEnergySumZdcTemplate(vecEnergySumZdcTemplateVal),
68  m_vecAXOL1TLTemplate(vecAXOL1TLTemplateVal),
69  m_vecCICADATemplate(vecCICADATemplateVal),
70  m_vecExternalTemplate(vecExternalTemplateVal),
71  m_vecCorrelationTemplate(vecCorrelationTemplateVal),
72  m_vecCorrelationThreeBodyTemplate(vecCorrelationThreeBodyTemplateVal),
73  m_vecCorrelationWithOverlapRemovalTemplate(vecCorrelationWithOverlapRemovalTemplateVal),
74  m_corMuonTemplate(corMuonTemplateVal),
75  m_corCaloTemplate(corCaloTemplateVal),
76  m_corEnergySumTemplate(corEnergySumTemplateVal) {
77  m_conditionMap.resize(numberConditionChips);
80 }
std::string m_triggerMenuName
Definition: TriggerMenu.h:243
std::vector< std::vector< CICADATemplate > > m_vecCICADATemplate
Definition: TriggerMenu.h:259
std::string m_scaleDbKey
menu associated scale key
Definition: TriggerMenu.h:249
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:264
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:253
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:261
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:266
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:267
void buildGtConditionMap()
Definition: TriggerMenu.cc:177
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:256
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:257
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:265
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:246
std::vector< std::vector< AXOL1TLTemplate > > m_vecAXOL1TLTemplate
Definition: TriggerMenu.h:258
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:238
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:244
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:242
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:268
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:254
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:263
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:255

◆ TriggerMenu() [3/3]

TriggerMenu::TriggerMenu ( const TriggerMenu rhs)

Definition at line 83 of file TriggerMenu.cc.

References m_algorithmAliasMap, m_algorithmMap, m_conditionMap, m_corCaloTemplate, m_corEnergySumTemplate, m_corMuonTemplate, m_scaleDbKey, m_triggerMenuImplementation, m_triggerMenuInterface, m_triggerMenuName, m_triggerMenuUUID, m_vecAXOL1TLTemplate, m_vecCaloTemplate, m_vecCICADATemplate, m_vecCorrelationTemplate, m_vecCorrelationThreeBodyTemplate, m_vecCorrelationWithOverlapRemovalTemplate, m_vecEnergySumTemplate, m_vecEnergySumZdcTemplate, m_vecExternalTemplate, m_vecMuonShowerTemplate, and m_vecMuonTemplate.

83  {
89 
90  // copy physics conditions
99 
106 
107  // rebuild condition map to update the pointers
108  // (only physics conditions are included in it)
109  m_conditionMap.resize(rhs.m_conditionMap.size());
110  (*this).buildGtConditionMap();
111 
112  // copy algorithm map
115 
116  // copy technical triggers
117  // (separate map for technical triggers and physics triggers)
118  //m_technicalTriggerMap = rhs.m_technicalTriggerMap;
119 }
std::string m_triggerMenuName
Definition: TriggerMenu.h:243
std::vector< std::vector< CICADATemplate > > m_vecCICADATemplate
Definition: TriggerMenu.h:259
std::string m_scaleDbKey
menu associated scale key
Definition: TriggerMenu.h:249
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:264
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:253
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:261
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:266
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:267
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:256
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:271
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:257
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:265
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:246
std::vector< std::vector< AXOL1TLTemplate > > m_vecAXOL1TLTemplate
Definition: TriggerMenu.h:258
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:238
l1t::AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
Definition: TriggerMenu.h:274
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:244
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:242
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:268
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:254
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:263
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:255

◆ ~TriggerMenu()

TriggerMenu::~TriggerMenu ( )
virtual

Definition at line 122 of file TriggerMenu.cc.

References m_algorithmAliasMap, m_algorithmMap, and m_conditionMap.

122  {
123  // loop over condition maps (one map per condition chip)
124  for (std::vector<l1t::ConditionMap>::iterator itCondOnChip = m_conditionMap.begin();
125  itCondOnChip != m_conditionMap.end();
126  itCondOnChip++) {
127  itCondOnChip->clear();
128  }
129 
130  m_algorithmMap.clear();
131  m_algorithmAliasMap.clear();
132 }
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:271
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:238
l1t::AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
Definition: TriggerMenu.h:274

Member Function Documentation

◆ buildGtConditionMap()

void TriggerMenu::buildGtConditionMap ( )

DMP: Comment out unused templates for now

Definition at line 177 of file TriggerMenu.cc.

References m_conditionMap, m_vecAXOL1TLTemplate, m_vecCaloTemplate, m_vecCICADATemplate, m_vecCorrelationTemplate, m_vecCorrelationThreeBodyTemplate, m_vecCorrelationWithOverlapRemovalTemplate, m_vecEnergySumTemplate, m_vecEnergySumZdcTemplate, m_vecExternalTemplate, m_vecMuonShowerTemplate, m_vecMuonTemplate, and trackerHitRTTI::vector.

Referenced by TriggerMenu().

177  {
178  // clear the conditions from the maps, if any
179  for (std::vector<l1t::ConditionMap>::iterator itCondOnChip = m_conditionMap.begin();
180  itCondOnChip != m_conditionMap.end();
181  itCondOnChip++) {
182  itCondOnChip->clear();
183  }
184 
185  // always check that the size of the condition map is greater than the size
186  // of the specific condition vector
187  size_t condMapSize = m_conditionMap.size();
188 
189  //
190  size_t vecMuonSize = m_vecMuonTemplate.size();
191  if (condMapSize < vecMuonSize) {
192  m_conditionMap.resize(vecMuonSize);
193  condMapSize = m_conditionMap.size();
194  }
195 
196  int chipNr = -1;
197 
198  for (std::vector<std::vector<MuonTemplate> >::iterator itCondOnChip = m_vecMuonTemplate.begin();
199  itCondOnChip != m_vecMuonTemplate.end();
200  itCondOnChip++) {
201  chipNr++;
202 
203  for (std::vector<MuonTemplate>::iterator itCond = itCondOnChip->begin(); itCond != itCondOnChip->end(); itCond++) {
204  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
205  }
206  }
207 
208  //
209  size_t vecMuonShowerSize = m_vecMuonShowerTemplate.size();
210  if (condMapSize < vecMuonShowerSize) {
211  m_conditionMap.resize(vecMuonShowerSize);
212  condMapSize = m_conditionMap.size();
213  }
214 
215  chipNr = -1;
216 
217  for (std::vector<std::vector<MuonShowerTemplate> >::iterator itCondOnChip = m_vecMuonShowerTemplate.begin();
218  itCondOnChip != m_vecMuonShowerTemplate.end();
219  itCondOnChip++) {
220  chipNr++;
221 
222  for (std::vector<MuonShowerTemplate>::iterator itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
223  itCond++) {
224  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
225  }
226  }
227 
228  //
229  size_t vecCaloSize = m_vecCaloTemplate.size();
230  if (condMapSize < vecCaloSize) {
231  m_conditionMap.resize(vecCaloSize);
232  condMapSize = m_conditionMap.size();
233  }
234 
235  chipNr = -1;
236  for (std::vector<std::vector<CaloTemplate> >::iterator itCondOnChip = m_vecCaloTemplate.begin();
237  itCondOnChip != m_vecCaloTemplate.end();
238  itCondOnChip++) {
239  chipNr++;
240 
241  for (std::vector<CaloTemplate>::iterator itCond = itCondOnChip->begin(); itCond != itCondOnChip->end(); itCond++) {
242  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
243  }
244  }
245 
246  //
247  size_t vecEnergySumSize = m_vecEnergySumTemplate.size();
248  if (condMapSize < vecEnergySumSize) {
249  m_conditionMap.resize(vecEnergySumSize);
250  condMapSize = m_conditionMap.size();
251  }
252 
253  chipNr = -1;
254  for (std::vector<std::vector<EnergySumTemplate> >::iterator itCondOnChip = m_vecEnergySumTemplate.begin();
255  itCondOnChip != m_vecEnergySumTemplate.end();
256  itCondOnChip++) {
257  chipNr++;
258 
259  for (std::vector<EnergySumTemplate>::iterator itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
260  itCond++) {
261  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
262  }
263  }
264 
265  //
266  size_t vecEnergySumZdcSize = m_vecEnergySumZdcTemplate.size();
267  if (condMapSize < vecEnergySumZdcSize) {
268  m_conditionMap.resize(vecEnergySumZdcSize);
269  condMapSize = m_conditionMap.size();
270  }
271 
272  chipNr = -1;
273  for (std::vector<std::vector<EnergySumZdcTemplate> >::iterator itCondOnChip = m_vecEnergySumZdcTemplate.begin();
274  itCondOnChip != m_vecEnergySumZdcTemplate.end();
275  itCondOnChip++) {
276  chipNr++;
277 
278  for (std::vector<EnergySumZdcTemplate>::iterator itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
279  itCond++) {
280  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
281  }
282  }
283 
284  //
285  size_t vecAXOL1TLSize = m_vecAXOL1TLTemplate.size();
286  if (condMapSize < vecAXOL1TLSize) {
287  m_conditionMap.resize(vecAXOL1TLSize);
288  condMapSize = m_conditionMap.size();
289  }
290 
291  chipNr = -1;
292 
293  for (std::vector<std::vector<AXOL1TLTemplate> >::iterator itCondOnChip = m_vecAXOL1TLTemplate.begin();
294  itCondOnChip != m_vecAXOL1TLTemplate.end();
295  itCondOnChip++) {
296  chipNr++;
297 
298  for (std::vector<AXOL1TLTemplate>::iterator itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
299  itCond++) {
300  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
301  }
302  }
303 
304  //
305  size_t vecCICADASize = m_vecCICADATemplate.size();
306  if (condMapSize < vecCICADASize) {
307  m_conditionMap.resize(vecCICADASize);
308  condMapSize = m_conditionMap.size();
309  }
310 
311  chipNr = -1;
312 
313  for (std::vector<std::vector<CICADATemplate> >::iterator itCondOnChip = m_vecCICADATemplate.begin();
314  itCondOnChip != m_vecCICADATemplate.end();
315  itCondOnChip++) {
316  chipNr++;
317 
318  for (std::vector<CICADATemplate>::iterator itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
319  itCond++) {
320  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
321  }
322  }
323 
325  //
326  //
327  size_t vecExternalSize = m_vecExternalTemplate.size();
328  if (condMapSize < vecExternalSize) {
329  m_conditionMap.resize(vecExternalSize);
330  condMapSize = m_conditionMap.size();
331  }
332 
333  chipNr = -1;
334  for (std::vector<std::vector<ExternalTemplate> >::iterator itCondOnChip = m_vecExternalTemplate.begin();
335  itCondOnChip != m_vecExternalTemplate.end();
336  itCondOnChip++) {
337  chipNr++;
338 
339  for (std::vector<ExternalTemplate>::iterator itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
340  itCond++) {
341  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
342  }
343  }
344 
345  //
346  size_t vecCorrelationSize = m_vecCorrelationTemplate.size();
347  if (condMapSize < vecCorrelationSize) {
348  m_conditionMap.resize(vecCorrelationSize);
349  condMapSize = m_conditionMap.size();
350  }
351 
352  chipNr = -1;
353  for (std::vector<std::vector<CorrelationTemplate> >::iterator itCondOnChip = m_vecCorrelationTemplate.begin();
354  itCondOnChip != m_vecCorrelationTemplate.end();
355  itCondOnChip++) {
356  chipNr++;
357 
358  for (std::vector<CorrelationTemplate>::iterator itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
359  itCond++) {
360  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
361  }
362  }
363 
364  //
365  size_t vecCorrelationThreeBodySize = m_vecCorrelationThreeBodyTemplate.size();
366  if (condMapSize < vecCorrelationThreeBodySize) {
367  m_conditionMap.resize(vecCorrelationThreeBodySize);
368  condMapSize = m_conditionMap.size();
369  }
370 
371  chipNr = -1;
372  for (std::vector<std::vector<CorrelationThreeBodyTemplate> >::iterator itCondOnChip =
374  itCondOnChip != m_vecCorrelationThreeBodyTemplate.end();
375  itCondOnChip++) {
376  chipNr++;
377 
378  for (std::vector<CorrelationThreeBodyTemplate>::iterator itCond = itCondOnChip->begin();
379  itCond != itCondOnChip->end();
380  itCond++) {
381  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
382  }
383  }
384 
385  //
386  size_t vecCorrelationWORSize = m_vecCorrelationWithOverlapRemovalTemplate.size();
387  if (condMapSize < vecCorrelationWORSize) {
388  m_conditionMap.resize(vecCorrelationWORSize);
389  condMapSize = m_conditionMap.size();
390  }
391 
392  chipNr = -1;
393  for (std::vector<std::vector<CorrelationWithOverlapRemovalTemplate> >::iterator itCondOnChip =
395  itCondOnChip != m_vecCorrelationWithOverlapRemovalTemplate.end();
396  itCondOnChip++) {
397  chipNr++;
398 
399  for (std::vector<CorrelationWithOverlapRemovalTemplate>::iterator itCond = itCondOnChip->begin();
400  itCond != itCondOnChip->end();
401  itCond++) {
402  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
403  }
404  }
405 }
std::vector< std::vector< CICADATemplate > > m_vecCICADATemplate
Definition: TriggerMenu.h:259
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:264
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:253
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:261
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:256
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:257
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:265
std::vector< std::vector< AXOL1TLTemplate > > m_vecAXOL1TLTemplate
Definition: TriggerMenu.h:258
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:238
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:254
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:263
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:255

◆ corCaloTemplate()

const std::vector<std::vector<CaloTemplate> >& TriggerMenu::corCaloTemplate ( ) const
inline

Definition at line 192 of file TriggerMenu.h.

References m_corCaloTemplate.

Referenced by l1t::GlobalBoard::runGTL().

192 { return m_corCaloTemplate; }
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:267

◆ corEnergySumTemplate()

const std::vector<std::vector<EnergySumTemplate> >& TriggerMenu::corEnergySumTemplate ( ) const
inline

Definition at line 198 of file TriggerMenu.h.

References m_corEnergySumTemplate.

Referenced by l1t::GlobalBoard::runGTL().

198  {
199  return m_corEnergySumTemplate;
200  }
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:268

◆ corMuonTemplate()

const std::vector<std::vector<MuonTemplate> >& TriggerMenu::corMuonTemplate ( ) const
inline

Definition at line 187 of file TriggerMenu.h.

References m_corMuonTemplate.

Referenced by l1t::GlobalBoard::runGTL().

187 { return m_corMuonTemplate; }
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:266

◆ gtAlgorithmAliasMap()

const l1t::AlgorithmMap& TriggerMenu::gtAlgorithmAliasMap ( ) const
inline

get / set the algorithm map (by alias)

Definition at line 210 of file TriggerMenu.h.

References m_algorithmAliasMap.

210 { return m_algorithmAliasMap; }
l1t::AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
Definition: TriggerMenu.h:274

◆ gtAlgorithmMap()

const l1t::AlgorithmMap& TriggerMenu::gtAlgorithmMap ( ) const
inline

get / set the algorithm map (by name)

Definition at line 205 of file TriggerMenu.h.

References m_algorithmMap.

Referenced by l1t::GlobalBoard::runGTL().

205 { return m_algorithmMap; }
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:271

◆ gtAlgorithmResult()

const bool TriggerMenu::gtAlgorithmResult ( const std::string &  algName,
const std::vector< bool > &  decWord 
) const

get the result for algorithm with name algName use directly the format of decisionWord (no typedef)

Definition at line 679 of file TriggerMenu.cc.

References L1TBPTX_cfi::bitNumber, and m_algorithmMap.

679  {
680  bool algResult = false;
681 
682  l1t::CItAlgo itAlgo = m_algorithmMap.find(algName);
683  if (itAlgo != m_algorithmMap.end()) {
684  int bitNumber = (itAlgo->second).algoBitNumber();
685  algResult = decWord.at(bitNumber);
686  return algResult;
687  }
688 
689  // return false if the algorithm name is not found in the menu
690  // TODO throw exception or LogInfo would be better - but the class is used in
691  // XDAQ Trigger Supervisor (outside CMSSW) hence no CMSSW dependence
692  // is allowed here...
693 
694  return false;
695 }
AlgorithmMap::const_iterator CItAlgo
iterators through map containing the algorithms
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:271

◆ gtConditionMap()

const std::vector<l1t::ConditionMap>& TriggerMenu::gtConditionMap ( ) const
inline

get / set / build the condition maps

Definition at line 85 of file TriggerMenu.h.

References m_conditionMap.

Referenced by l1t::GlobalBoard::runGTL().

85 { return m_conditionMap; }
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:238

◆ gtScaleDbKey()

const std::string& TriggerMenu::gtScaleDbKey ( ) const
inline

menu associated scale key

Definition at line 111 of file TriggerMenu.h.

References m_scaleDbKey.

111 { return m_scaleDbKey; }
std::string m_scaleDbKey
menu associated scale key
Definition: TriggerMenu.h:249

◆ gtScales()

const l1t::GlobalScales& TriggerMenu::gtScales ( ) const
inline

get the scales

Definition at line 215 of file TriggerMenu.h.

References m_gtScales.

Referenced by l1t::GlobalBoard::runGTL().

215 { return m_gtScales; }
l1t::GlobalScales m_gtScales
map containing the technical triggers
Definition: TriggerMenu.h:280

◆ gtTriggerMenuImplementation()

const unsigned long TriggerMenu::gtTriggerMenuImplementation ( ) const
inline

Definition at line 106 of file TriggerMenu.h.

References m_triggerMenuImplementation.

106 { return m_triggerMenuImplementation; }
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:244

◆ gtTriggerMenuInterface()

const std::string& TriggerMenu::gtTriggerMenuInterface ( ) const
inline

get / set the trigger menu names

Definition at line 91 of file TriggerMenu.h.

References m_triggerMenuInterface.

91 { return m_triggerMenuInterface; }
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:242

◆ gtTriggerMenuName()

const std::string& TriggerMenu::gtTriggerMenuName ( ) const
inline

Definition at line 96 of file TriggerMenu.h.

References m_triggerMenuName.

96 { return m_triggerMenuName; }
std::string m_triggerMenuName
Definition: TriggerMenu.h:243

◆ gtTriggerMenuUUID()

const unsigned long TriggerMenu::gtTriggerMenuUUID ( ) const
inline

Definition at line 101 of file TriggerMenu.h.

References m_triggerMenuUUID.

101 { return m_triggerMenuUUID; }
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:246

◆ operator=()

TriggerMenu & TriggerMenu::operator= ( const TriggerMenu rhs)

Definition at line 135 of file TriggerMenu.cc.

References m_algorithmAliasMap, m_algorithmMap, m_conditionMap, m_corCaloTemplate, m_corEnergySumTemplate, m_corMuonTemplate, m_triggerMenuImplementation, m_triggerMenuInterface, m_triggerMenuName, m_triggerMenuUUID, m_vecAXOL1TLTemplate, m_vecCaloTemplate, m_vecCICADATemplate, m_vecCorrelationTemplate, m_vecCorrelationThreeBodyTemplate, m_vecCorrelationWithOverlapRemovalTemplate, m_vecEnergySumTemplate, m_vecEnergySumZdcTemplate, m_vecExternalTemplate, m_vecMuonShowerTemplate, and m_vecMuonTemplate.

135  {
136  if (this != &rhs) {
141 
150 
157 
160 
161  // m_technicalTriggerMap = rhs.m_technicalTriggerMap;
162  }
163 
164  // rebuild condition map to update the pointers
165  // (only physics conditions are included in it)
166  m_conditionMap.resize(rhs.m_conditionMap.size());
167  (*this).buildGtConditionMap();
168 
169  // return the object
170  return *this;
171 }
std::string m_triggerMenuName
Definition: TriggerMenu.h:243
std::vector< std::vector< CICADATemplate > > m_vecCICADATemplate
Definition: TriggerMenu.h:259
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:264
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:253
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:261
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:266
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:267
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:256
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:271
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:257
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:265
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:246
std::vector< std::vector< AXOL1TLTemplate > > m_vecAXOL1TLTemplate
Definition: TriggerMenu.h:258
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:238
l1t::AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
Definition: TriggerMenu.h:274
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:244
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:242
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:268
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:254
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:263
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:255

◆ print()

void TriggerMenu::print ( std::ostream &  myCout,
int &  printVerbosity 
) const

print the trigger menu allow various verbosity levels

Definition at line 497 of file TriggerMenu.cc.

References MillePedeAlignmentAlgorithm_cfi::algoName, L1TBPTX_cfi::bitNumber, TauDecayModes::dec, m_algorithmMap, m_conditionMap, m_scaleDbKey, m_triggerMenuImplementation, m_triggerMenuInterface, m_triggerMenuName, m_triggerMenuUUID, and AlCaHLTBitMon_QueryRunRegistry::string.

497  {
498  // use another map <int, GlobalAlgorithm> to get the menu sorted after bit number
499  // both algorithm and bit numbers are unique
500  std::map<int, const GlobalAlgorithm*> algoBitToAlgo;
501  typedef std::map<int, const GlobalAlgorithm*>::const_iterator CItBit;
502 
503  for (l1t::CItAlgo itAlgo = m_algorithmMap.begin(); itAlgo != m_algorithmMap.end(); itAlgo++) {
504  int bitNumber = (itAlgo->second).algoBitNumber();
505  algoBitToAlgo[bitNumber] = &(itAlgo->second);
506  }
507 
508  size_t nrDefinedAlgo = algoBitToAlgo.size();
509 
510  /*
511  // idem for technical trigger map - only name and bit number are relevant for them
512  std::map<int, const GlobalAlgorithm*> ttBitToTt;
513 
514  for (l1t::CItAlgo itAlgo = m_technicalTriggerMap.begin(); itAlgo
515  != m_technicalTriggerMap.end(); itAlgo++) {
516 
517  int bitNumber = (itAlgo->second).algoBitNumber();
518  ttBitToTt[bitNumber] = &(itAlgo->second);
519  }
520 
521  size_t nrDefinedTechTrig = ttBitToTt.size();
522 */
523  //
524 
525  switch (printVerbosity) {
526  case 0: {
527  // header for printing algorithms
528 
529  myCout << "\n ********** L1 Trigger Menu - printing ********** \n"
530  << "\nL1 Trigger Menu Interface: " << m_triggerMenuInterface
531  << "\nL1 Trigger Menu Name: " << m_triggerMenuName << "\nL1 Trigger Menu UUID (hash): 0x"
532  << std::hex << m_triggerMenuUUID << std::dec << "\nL1 Trigger Menu Firmware (hash): 0x" << std::hex
533  << m_triggerMenuImplementation << std::dec << "\nAssociated Scale DB Key: " << m_scaleDbKey << "\n\n"
534  << "\nL1 Physics Algorithms: " << nrDefinedAlgo << " algorithms defined."
535  << "\n\n"
536  << "Bit Number " << std::right << std::setw(35) << "Algorithm Name"
537  << " " << std::right << std::setw(35) << "Algorithm Alias" << std::endl;
538 
539  for (CItBit itBit = algoBitToAlgo.begin(); itBit != algoBitToAlgo.end(); itBit++) {
540  int bitNumber = itBit->first;
541  std::string aName = (itBit->second)->algoName();
542  std::string aAlias = (itBit->second)->algoAlias();
543 
544  myCout << std::setw(6) << bitNumber << " " << std::right << std::setw(35) << aName << " " << std::right
545  << std::setw(35) << aAlias << std::endl;
546  }
547  /*
548  myCout
549  << "\nL1 Technical Triggers: " << nrDefinedTechTrig
550  << " technical triggers defined." << "\n\n" << std::endl;
551  if (nrDefinedTechTrig) {
552  myCout << "Bit Number " << " Technical trigger name " << std::endl;
553  }
554 
555  for (CItBit itBit = ttBitToTt.begin(); itBit != ttBitToTt.end(); itBit++) {
556 
557  int bitNumber = itBit->first;
558  std::string aName = (itBit->second)->algoName();
559  std::string aAlias = (itBit->second)->algoAlias();
560 
561  myCout << std::setw(6) << bitNumber << " "
562  << std::right << std::setw(35) << aName << " "
563  << std::right << std::setw(35) << aAlias
564  << std::endl;
565  }
566 */
567  } break;
568 
569  case 1: {
570  // header for printing algorithms
571 
572  myCout << "\n ********** L1 Trigger Menu - printing ********** \n"
573  << "\nL1 Trigger Menu Interface: " << m_triggerMenuInterface
574  << "\nL1 Trigger Menu Name: " << m_triggerMenuName << "\nL1 Trigger Menu UUID (hash): 0x"
575  << std::hex << m_triggerMenuUUID << std::dec << "\nL1 Trigger Menu Firmware (hash): 0x" << std::hex
576  << m_triggerMenuImplementation << std::dec << "\nAssociated Scale DB Key: " << m_scaleDbKey << "\n\n"
577  << "\nL1 Physics Algorithms: " << nrDefinedAlgo << " algorithms defined."
578  << "\n\n"
579  << "Bit Number " << std::right << std::setw(35) << "Algorithm Name"
580  << " " << std::right << std::setw(35) << "Algorithm Alias"
581  << "\n Logical Expression \n"
582  << std::endl;
583 
584  for (CItBit itBit = algoBitToAlgo.begin(); itBit != algoBitToAlgo.end(); itBit++) {
585  int bitNumber = itBit->first;
586  std::string aName = (itBit->second)->algoName();
587  std::string aAlias = (itBit->second)->algoAlias();
588  std::string aLogicalExpression = (itBit->second)->algoLogicalExpression();
589 
590  myCout << std::setw(6) << bitNumber << " " << std::right << std::setw(35) << aName << " " << std::right
591  << std::setw(35) << aAlias << "\n Logical expression: " << aLogicalExpression << "\n"
592  << std::endl;
593  }
594  /*
595  myCout
596  << "\nL1 Technical Triggers: " << nrDefinedTechTrig
597  << " technical triggers defined." << "\n\n" << std::endl;
598  if (nrDefinedTechTrig) {
599  myCout << "Bit Number " << " Technical trigger name " << std::endl;
600  }
601 
602  for (CItBit itBit = ttBitToTt.begin(); itBit != ttBitToTt.end(); itBit++) {
603 
604  int bitNumber = itBit->first;
605  std::string aName = (itBit->second)->algoName();
606 
607  myCout << std::setw(6) << bitNumber << " " << aName << std::endl;
608  }
609 */
610  } break;
611 
612  case 2: {
613  // header for printing algorithms
614 
615  myCout << "\n ********** L1 Trigger Menu - printing ********** \n"
616  << "\nL1 Trigger Menu Interface: " << m_triggerMenuInterface
617  << "\nL1 Trigger Menu Name: " << m_triggerMenuName << "\nL1 Trigger Menu UUID (hash): 0x"
618  << std::hex << m_triggerMenuUUID << std::dec << "\nL1 Trigger Menu Firmware (hash): 0x" << std::hex
619  << m_triggerMenuImplementation << std::dec << "\nAssociated Scale DB Key: " << m_scaleDbKey << "\n\n"
620  << "\nL1 Physics Algorithms: " << nrDefinedAlgo << " algorithms defined."
621  << "\n\n"
622  << std::endl;
623 
624  for (CItBit itBit = algoBitToAlgo.begin(); itBit != algoBitToAlgo.end(); itBit++) {
625  (itBit->second)->print(myCout);
626  }
627 
628  myCout << "\nNumber of condition chips: " << m_conditionMap.size() << "\n" << std::endl;
629 
630  int chipNr = -1;
631  int totalNrConditions = 0;
632 
633  for (std::vector<l1t::ConditionMap>::const_iterator itCondOnChip = m_conditionMap.begin();
634  itCondOnChip != m_conditionMap.end();
635  itCondOnChip++) {
636  chipNr++;
637 
638  int condMapSize = itCondOnChip->size();
639  totalNrConditions += condMapSize;
640 
641  myCout << "\nTotal number of conditions on condition chip " << chipNr << ": " << condMapSize << " conditions.\n"
642  << std::endl;
643 
644  for (l1t::CItCond itCond = itCondOnChip->begin(); itCond != itCondOnChip->end(); itCond++) {
645  (itCond->second)->print(myCout);
646  }
647  }
648 
649  myCout << "\nTotal number of conditions on all condition chips: " << totalNrConditions << "\n" << std::endl;
650  /*
651  myCout
652  << "\nL1 Technical Triggers: " << nrDefinedTechTrig
653  << " technical triggers defined." << "\n\n" << std::endl;
654  if (nrDefinedTechTrig) {
655  myCout << "Bit Number " << " Technical trigger name " << std::endl;
656  }
657 
658  for (CItBit itBit = ttBitToTt.begin(); itBit != ttBitToTt.end(); itBit++) {
659 
660  int bitNumber = itBit->first;
661  std::string aName = (itBit->second)->algoName();
662 
663  myCout << std::setw(6) << bitNumber << " " << aName << std::endl;
664  }
665 */
666 
667  } break;
668 
669  default: {
670  myCout << "\n ********** L1 Trigger Menu - printing ********** \n\n"
671  << "Verbosity level: " << printVerbosity << " not implemented.\n\n"
672  << std::endl;
673  } break;
674  }
675 }
std::string m_triggerMenuName
Definition: TriggerMenu.h:243
std::string m_scaleDbKey
menu associated scale key
Definition: TriggerMenu.h:249
ConditionMap::const_iterator CItCond
iterators through map containing the conditions
AlgorithmMap::const_iterator CItAlgo
iterators through map containing the algorithms
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:271
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:246
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:238
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:244
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:242
void print(std::ostream &, int &) const
Definition: TriggerMenu.cc:497

◆ setCorCaloTemplate()

void TriggerMenu::setCorCaloTemplate ( const std::vector< std::vector< CaloTemplate > > &  corCaloTempl)

Definition at line 475 of file TriggerMenu.cc.

References m_corCaloTemplate.

475  {
476  m_corCaloTemplate = corCaloTempl;
477 }
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:267

◆ setCorEnergySumTemplate()

void TriggerMenu::setCorEnergySumTemplate ( const std::vector< std::vector< EnergySumTemplate > > &  corEnergySumTempl)

Definition at line 479 of file TriggerMenu.cc.

References m_corEnergySumTemplate.

479  {
480  m_corEnergySumTemplate = corEnergySumTempl;
481 }
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:268

◆ setCorMuonTemplate()

void TriggerMenu::setCorMuonTemplate ( const std::vector< std::vector< MuonTemplate > > &  corMuonTempl)

Definition at line 471 of file TriggerMenu.cc.

References m_corMuonTemplate.

471  {
472  m_corMuonTemplate = corMuonTempl;
473 }
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:266

◆ setGtAlgorithmAliasMap()

void TriggerMenu::setGtAlgorithmAliasMap ( const l1t::AlgorithmMap algoMap)

Definition at line 487 of file TriggerMenu.cc.

References m_algorithmAliasMap.

487 { m_algorithmAliasMap = algoMap; }
l1t::AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
Definition: TriggerMenu.h:274

◆ setGtAlgorithmMap()

void TriggerMenu::setGtAlgorithmMap ( const l1t::AlgorithmMap algoMap)

Definition at line 484 of file TriggerMenu.cc.

References m_algorithmMap.

484 { m_algorithmMap = algoMap; }
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:271

◆ setGtConditionMap()

void TriggerMenu::setGtConditionMap ( const std::vector< l1t::ConditionMap > &  condMap)

Definition at line 174 of file TriggerMenu.cc.

References m_conditionMap.

174 { m_conditionMap = condMap; }
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:238

◆ setGtScaleDbKey()

void TriggerMenu::setGtScaleDbKey ( const std::string &  scaleKey)

Definition at line 421 of file TriggerMenu.cc.

References m_scaleDbKey.

421 { m_scaleDbKey = scaleKey; }
std::string m_scaleDbKey
menu associated scale key
Definition: TriggerMenu.h:249

◆ setGtScales()

void TriggerMenu::setGtScales ( const l1t::GlobalScales scales)

Definition at line 424 of file TriggerMenu.cc.

References m_gtScales, and l1tGTDoubleObjectCond_cfi::scales.

424 { m_gtScales = scales; }
l1t::GlobalScales m_gtScales
map containing the technical triggers
Definition: TriggerMenu.h:280

◆ setGtTriggerMenuImplementation()

void TriggerMenu::setGtTriggerMenuImplementation ( const unsigned long  menuImplementation)

Definition at line 414 of file TriggerMenu.cc.

References m_triggerMenuImplementation.

414  {
415  m_triggerMenuImplementation = menuImplementation;
416 }
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:244

◆ setGtTriggerMenuInterface()

void TriggerMenu::setGtTriggerMenuInterface ( const std::string &  menuInterface)

Definition at line 408 of file TriggerMenu.cc.

References m_triggerMenuInterface.

408  {
409  m_triggerMenuInterface = menuInterface;
410 }
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:242

◆ setGtTriggerMenuName()

void TriggerMenu::setGtTriggerMenuName ( const std::string &  menuName)

Definition at line 412 of file TriggerMenu.cc.

References m_triggerMenuName.

412 { m_triggerMenuName = menuName; }
std::string m_triggerMenuName
Definition: TriggerMenu.h:243

◆ setGtTriggerMenuUUID()

void TriggerMenu::setGtTriggerMenuUUID ( const unsigned long  uuid)

Definition at line 418 of file TriggerMenu.cc.

References m_triggerMenuUUID, and createPayload::uuid.

418 { m_triggerMenuUUID = uuid; }
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:246

◆ setVecAXOL1TLTemplate()

void TriggerMenu::setVecAXOL1TLTemplate ( const std::vector< std::vector< AXOL1TLTemplate > > &  vecAXOL1TLTempl)

Definition at line 444 of file TriggerMenu.cc.

References m_vecAXOL1TLTemplate.

444  {
445  m_vecAXOL1TLTemplate = vecAXOL1TLTempl;
446 }
std::vector< std::vector< AXOL1TLTemplate > > m_vecAXOL1TLTemplate
Definition: TriggerMenu.h:258

◆ setVecCaloTemplate()

void TriggerMenu::setVecCaloTemplate ( const std::vector< std::vector< CaloTemplate > > &  vecCaloTempl)

Definition at line 431 of file TriggerMenu.cc.

References m_vecCaloTemplate.

431  {
432  m_vecCaloTemplate = vecCaloTempl;
433 }
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:255

◆ setVecCICADATemplate()

void TriggerMenu::setVecCICADATemplate ( const std::vector< std::vector< CICADATemplate > > &  vecCICADATempl)

Definition at line 448 of file TriggerMenu.cc.

References m_vecCICADATemplate.

448  {
449  m_vecCICADATemplate = vecCICADATempl;
450 }
std::vector< std::vector< CICADATemplate > > m_vecCICADATemplate
Definition: TriggerMenu.h:259

◆ setVecCorrelationTemplate()

void TriggerMenu::setVecCorrelationTemplate ( const std::vector< std::vector< CorrelationTemplate > > &  vecCorrelationTempl)

Definition at line 456 of file TriggerMenu.cc.

References m_vecCorrelationTemplate.

456  {
457  m_vecCorrelationTemplate = vecCorrelationTempl;
458 }
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:263

◆ setVecCorrelationThreeBodyTemplate()

void TriggerMenu::setVecCorrelationThreeBodyTemplate ( const std::vector< std::vector< CorrelationThreeBodyTemplate > > &  vecCorrelationThreeBodyTempl)

Definition at line 460 of file TriggerMenu.cc.

References m_vecCorrelationThreeBodyTemplate.

461  {
462  m_vecCorrelationThreeBodyTemplate = vecCorrelationThreeBodyTempl;
463 }
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:264

◆ setVecCorrelationWithOverlapRemovalTemplate()

void TriggerMenu::setVecCorrelationWithOverlapRemovalTemplate ( const std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > &  vecCorrelationTempl)

Definition at line 465 of file TriggerMenu.cc.

References m_vecCorrelationWithOverlapRemovalTemplate.

466  {
467  m_vecCorrelationWithOverlapRemovalTemplate = vecCorrelationTempl;
468 }
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:265

◆ setVecEnergySumTemplate()

void TriggerMenu::setVecEnergySumTemplate ( const std::vector< std::vector< EnergySumTemplate > > &  vecEnergySumTempl)

Definition at line 435 of file TriggerMenu.cc.

References m_vecEnergySumTemplate.

435  {
436  m_vecEnergySumTemplate = vecEnergySumTempl;
437 }
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:256

◆ setVecEnergySumZdcTemplate()

void TriggerMenu::setVecEnergySumZdcTemplate ( const std::vector< std::vector< EnergySumZdcTemplate > > &  vecEnergySumZdcTempl)

Definition at line 439 of file TriggerMenu.cc.

References m_vecEnergySumZdcTemplate.

440  {
441  m_vecEnergySumZdcTemplate = vecEnergySumZdcTempl;
442 }
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:257

◆ setVecExternalTemplate()

void TriggerMenu::setVecExternalTemplate ( const std::vector< std::vector< ExternalTemplate > > &  vecExternalTempl)

Definition at line 452 of file TriggerMenu.cc.

References m_vecExternalTemplate.

452  {
453  m_vecExternalTemplate = vecExternalTempl;
454 }
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:261

◆ setVecMuonShowerTemplate()

void TriggerMenu::setVecMuonShowerTemplate ( const std::vector< std::vector< MuonShowerTemplate > > &  )

◆ setVecMuonTemplate()

void TriggerMenu::setVecMuonTemplate ( const std::vector< std::vector< MuonTemplate > > &  vecMuonTempl)

Definition at line 427 of file TriggerMenu.cc.

References m_vecMuonTemplate.

427  {
428  m_vecMuonTemplate = vecMuonTempl;
429 }
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:253

◆ vecAXOL1TLTemplate()

const std::vector<std::vector<AXOL1TLTemplate> >& TriggerMenu::vecAXOL1TLTemplate ( ) const
inline

Definition at line 147 of file TriggerMenu.h.

References m_vecAXOL1TLTemplate.

147 { return m_vecAXOL1TLTemplate; }
std::vector< std::vector< AXOL1TLTemplate > > m_vecAXOL1TLTemplate
Definition: TriggerMenu.h:258

◆ vecCaloTemplate()

const std::vector<std::vector<CaloTemplate> >& TriggerMenu::vecCaloTemplate ( ) const
inline

Definition at line 128 of file TriggerMenu.h.

References m_vecCaloTemplate.

128 { return m_vecCaloTemplate; }
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:255

◆ vecCICADATemplate()

const std::vector<std::vector<CICADATemplate> >& TriggerMenu::vecCICADATemplate ( ) const
inline

Definition at line 152 of file TriggerMenu.h.

References m_vecCICADATemplate.

152 { return m_vecCICADATemplate; }
std::vector< std::vector< CICADATemplate > > m_vecCICADATemplate
Definition: TriggerMenu.h:259

◆ vecCorrelationTemplate()

const std::vector<std::vector<CorrelationTemplate> >& TriggerMenu::vecCorrelationTemplate ( ) const
inline

Definition at line 164 of file TriggerMenu.h.

References m_vecCorrelationTemplate.

164  {
166  }
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:263

◆ vecCorrelationThreeBodyTemplate()

const std::vector<std::vector<CorrelationThreeBodyTemplate> >& TriggerMenu::vecCorrelationThreeBodyTemplate ( ) const
inline

Definition at line 171 of file TriggerMenu.h.

References m_vecCorrelationThreeBodyTemplate.

171  {
173  }
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:264

◆ vecCorrelationWithOverlapRemovalTemplate()

const std::vector<std::vector<CorrelationWithOverlapRemovalTemplate> >& TriggerMenu::vecCorrelationWithOverlapRemovalTemplate ( ) const
inline

Definition at line 179 of file TriggerMenu.h.

References m_vecCorrelationWithOverlapRemovalTemplate.

179  {
181  }
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:265

◆ vecEnergySumTemplate()

const std::vector<std::vector<EnergySumTemplate> >& TriggerMenu::vecEnergySumTemplate ( ) const
inline

Definition at line 133 of file TriggerMenu.h.

References m_vecEnergySumTemplate.

133  {
134  return m_vecEnergySumTemplate;
135  }
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:256

◆ vecEnergySumZdcTemplate()

const std::vector<std::vector<EnergySumZdcTemplate> >& TriggerMenu::vecEnergySumZdcTemplate ( ) const
inline

Definition at line 140 of file TriggerMenu.h.

References m_vecEnergySumZdcTemplate.

140  {
142  }
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:257

◆ vecExternalTemplate()

const std::vector<std::vector<ExternalTemplate> >& TriggerMenu::vecExternalTemplate ( ) const
inline

Definition at line 157 of file TriggerMenu.h.

References m_vecExternalTemplate.

157  {
158  return m_vecExternalTemplate;
159  }
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:261

◆ vecMuonShowerTemplate()

const std::vector<std::vector<MuonShowerTemplate> >& TriggerMenu::vecMuonShowerTemplate ( ) const
inline

Definition at line 121 of file TriggerMenu.h.

References m_vecMuonShowerTemplate.

121  {
123  }
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:254

◆ vecMuonTemplate()

const std::vector<std::vector<MuonTemplate> >& TriggerMenu::vecMuonTemplate ( ) const
inline

get / set the vectors containing the conditions

Definition at line 116 of file TriggerMenu.h.

References m_vecMuonTemplate.

116 { return m_vecMuonTemplate; }
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:253

Member Data Documentation

◆ m_algorithmAliasMap

l1t::AlgorithmMap TriggerMenu::m_algorithmAliasMap
private

map containing the physics algorithms (by alias)

Definition at line 274 of file TriggerMenu.h.

Referenced by gtAlgorithmAliasMap(), operator=(), setGtAlgorithmAliasMap(), TriggerMenu(), and ~TriggerMenu().

◆ m_algorithmMap

l1t::AlgorithmMap TriggerMenu::m_algorithmMap
private

map containing the physics algorithms (by name)

Definition at line 271 of file TriggerMenu.h.

Referenced by gtAlgorithmMap(), gtAlgorithmResult(), operator=(), print(), setGtAlgorithmMap(), TriggerMenu(), and ~TriggerMenu().

◆ m_conditionMap

std::vector<l1t::ConditionMap> TriggerMenu::m_conditionMap
private

map containing the conditions (per condition chip) - transient

Definition at line 238 of file TriggerMenu.h.

Referenced by buildGtConditionMap(), gtConditionMap(), operator=(), print(), setGtConditionMap(), TriggerMenu(), and ~TriggerMenu().

◆ m_corCaloTemplate

std::vector<std::vector<CaloTemplate> > TriggerMenu::m_corCaloTemplate
private

Definition at line 267 of file TriggerMenu.h.

Referenced by corCaloTemplate(), operator=(), setCorCaloTemplate(), and TriggerMenu().

◆ m_corEnergySumTemplate

std::vector<std::vector<EnergySumTemplate> > TriggerMenu::m_corEnergySumTemplate
private

◆ m_corMuonTemplate

std::vector<std::vector<MuonTemplate> > TriggerMenu::m_corMuonTemplate
private

Definition at line 266 of file TriggerMenu.h.

Referenced by corMuonTemplate(), operator=(), setCorMuonTemplate(), and TriggerMenu().

◆ m_gtScales

l1t::GlobalScales TriggerMenu::m_gtScales
private

map containing the technical triggers

Definition at line 280 of file TriggerMenu.h.

Referenced by gtScales(), and setGtScales().

◆ m_scaleDbKey

std::string TriggerMenu::m_scaleDbKey
private

menu associated scale key

Definition at line 249 of file TriggerMenu.h.

Referenced by gtScaleDbKey(), print(), setGtScaleDbKey(), and TriggerMenu().

◆ m_triggerMenuImplementation

unsigned long TriggerMenu::m_triggerMenuImplementation
private

◆ m_triggerMenuInterface

std::string TriggerMenu::m_triggerMenuInterface
private

menu names

Definition at line 242 of file TriggerMenu.h.

Referenced by gtTriggerMenuInterface(), operator=(), print(), setGtTriggerMenuInterface(), and TriggerMenu().

◆ m_triggerMenuName

std::string TriggerMenu::m_triggerMenuName
private

Definition at line 243 of file TriggerMenu.h.

Referenced by gtTriggerMenuName(), operator=(), print(), setGtTriggerMenuName(), and TriggerMenu().

◆ m_triggerMenuUUID

unsigned long TriggerMenu::m_triggerMenuUUID
private

Definition at line 246 of file TriggerMenu.h.

Referenced by gtTriggerMenuUUID(), operator=(), print(), setGtTriggerMenuUUID(), and TriggerMenu().

◆ m_vecAXOL1TLTemplate

std::vector<std::vector<AXOL1TLTemplate> > TriggerMenu::m_vecAXOL1TLTemplate
private

◆ m_vecCaloTemplate

std::vector<std::vector<CaloTemplate> > TriggerMenu::m_vecCaloTemplate
private

◆ m_vecCICADATemplate

std::vector<std::vector<CICADATemplate> > TriggerMenu::m_vecCICADATemplate
private

◆ m_vecCorrelationTemplate

std::vector<std::vector<CorrelationTemplate> > TriggerMenu::m_vecCorrelationTemplate
private

◆ m_vecCorrelationThreeBodyTemplate

std::vector<std::vector<CorrelationThreeBodyTemplate> > TriggerMenu::m_vecCorrelationThreeBodyTemplate
private

◆ m_vecCorrelationWithOverlapRemovalTemplate

std::vector<std::vector<CorrelationWithOverlapRemovalTemplate> > TriggerMenu::m_vecCorrelationWithOverlapRemovalTemplate
private

◆ m_vecEnergySumTemplate

std::vector<std::vector<EnergySumTemplate> > TriggerMenu::m_vecEnergySumTemplate
private

◆ m_vecEnergySumZdcTemplate

std::vector<std::vector<EnergySumZdcTemplate> > TriggerMenu::m_vecEnergySumZdcTemplate
private

◆ m_vecExternalTemplate

std::vector<std::vector<ExternalTemplate> > TriggerMenu::m_vecExternalTemplate
private

◆ m_vecMuonShowerTemplate

std::vector<std::vector<MuonShowerTemplate> > TriggerMenu::m_vecMuonShowerTemplate
private

Definition at line 254 of file TriggerMenu.h.

Referenced by buildGtConditionMap(), operator=(), TriggerMenu(), and vecMuonShowerTemplate().

◆ m_vecMuonTemplate

std::vector<std::vector<MuonTemplate> > TriggerMenu::m_vecMuonTemplate
private

vectors containing the conditions explicit, due to persistency...

Definition at line 253 of file TriggerMenu.h.

Referenced by buildGtConditionMap(), operator=(), setVecMuonTemplate(), TriggerMenu(), and vecMuonTemplate().