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 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< 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< 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< 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 51 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:236
std::string m_scaleDbKey
menu associated scale key
Definition: TriggerMenu.h:242
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:237
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:235

◆ 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< 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.

58  : m_triggerMenuInterface("NULL"),
59  m_triggerMenuName(triggerMenuNameVal),
61  m_scaleDbKey("NULL"),
62  m_vecMuonTemplate(vecMuonTemplateVal),
63  m_vecMuonShowerTemplate(vecMuonShowerTemplateVal),
64  m_vecCaloTemplate(vecCaloTemplateVal),
65  m_vecEnergySumTemplate(vecEnergySumTemplateVal),
66  m_vecEnergySumZdcTemplate(vecEnergySumZdcTemplateVal),
67  m_vecAXOL1TLTemplate(vecAXOL1TLTemplateVal),
68  m_vecExternalTemplate(vecExternalTemplateVal),
69  m_vecCorrelationTemplate(vecCorrelationTemplateVal),
70  m_vecCorrelationThreeBodyTemplate(vecCorrelationThreeBodyTemplateVal),
71  m_vecCorrelationWithOverlapRemovalTemplate(vecCorrelationWithOverlapRemovalTemplateVal),
72  m_corMuonTemplate(corMuonTemplateVal),
73  m_corCaloTemplate(corCaloTemplateVal),
74  m_corEnergySumTemplate(corEnergySumTemplateVal) {
75  m_conditionMap.resize(numberConditionChips);
78 }
std::string m_triggerMenuName
Definition: TriggerMenu.h:236
std::string m_scaleDbKey
menu associated scale key
Definition: TriggerMenu.h:242
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:256
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:246
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:253
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:258
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:259
void buildGtConditionMap()
Definition: TriggerMenu.cc:173
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:249
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:250
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:257
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:239
std::vector< std::vector< AXOL1TLTemplate > > m_vecAXOL1TLTemplate
Definition: TriggerMenu.h:251
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:231
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:237
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:235
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:260
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:247
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:255
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:248

◆ TriggerMenu() [3/3]

TriggerMenu::TriggerMenu ( const TriggerMenu rhs)

Definition at line 81 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_vecCorrelationTemplate, m_vecCorrelationThreeBodyTemplate, m_vecCorrelationWithOverlapRemovalTemplate, m_vecEnergySumTemplate, m_vecEnergySumZdcTemplate, m_vecExternalTemplate, m_vecMuonShowerTemplate, and m_vecMuonTemplate.

81  {
87 
88  // copy physics conditions
96 
103 
104  // rebuild condition map to update the pointers
105  // (only physics conditions are included in it)
106  m_conditionMap.resize(rhs.m_conditionMap.size());
107  (*this).buildGtConditionMap();
108 
109  // copy algorithm map
112 
113  // copy technical triggers
114  // (separate map for technical triggers and physics triggers)
115  //m_technicalTriggerMap = rhs.m_technicalTriggerMap;
116 }
std::string m_triggerMenuName
Definition: TriggerMenu.h:236
std::string m_scaleDbKey
menu associated scale key
Definition: TriggerMenu.h:242
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:256
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:246
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:253
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:258
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:259
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:249
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:263
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:250
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:257
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:239
std::vector< std::vector< AXOL1TLTemplate > > m_vecAXOL1TLTemplate
Definition: TriggerMenu.h:251
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:231
l1t::AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
Definition: TriggerMenu.h:266
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:237
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:235
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:260
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:247
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:255
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:248

◆ ~TriggerMenu()

TriggerMenu::~TriggerMenu ( )
virtual

Definition at line 119 of file TriggerMenu.cc.

References m_algorithmAliasMap, m_algorithmMap, and m_conditionMap.

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

Member Function Documentation

◆ buildGtConditionMap()

void TriggerMenu::buildGtConditionMap ( )

DMP: Comment out unused templates for now

Definition at line 173 of file TriggerMenu.cc.

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

Referenced by TriggerMenu().

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

◆ corCaloTemplate()

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

Definition at line 185 of file TriggerMenu.h.

References m_corCaloTemplate.

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

185 { return m_corCaloTemplate; }
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:259

◆ corEnergySumTemplate()

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

Definition at line 191 of file TriggerMenu.h.

References m_corEnergySumTemplate.

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

191  {
192  return m_corEnergySumTemplate;
193  }
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:260

◆ corMuonTemplate()

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

Definition at line 180 of file TriggerMenu.h.

References m_corMuonTemplate.

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

180 { return m_corMuonTemplate; }
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:258

◆ gtAlgorithmAliasMap()

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

get / set the algorithm map (by alias)

Definition at line 203 of file TriggerMenu.h.

References m_algorithmAliasMap.

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

◆ gtAlgorithmMap()

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

get / set the algorithm map (by name)

Definition at line 198 of file TriggerMenu.h.

References m_algorithmMap.

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

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

◆ 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 651 of file TriggerMenu.cc.

References L1TBPTX_cfi::bitNumber, and m_algorithmMap.

651  {
652  bool algResult = false;
653 
654  l1t::CItAlgo itAlgo = m_algorithmMap.find(algName);
655  if (itAlgo != m_algorithmMap.end()) {
656  int bitNumber = (itAlgo->second).algoBitNumber();
657  algResult = decWord.at(bitNumber);
658  return algResult;
659  }
660 
661  // return false if the algorithm name is not found in the menu
662  // TODO throw exception or LogInfo would be better - but the class is used in
663  // XDAQ Trigger Supervisor (outside CMSSW) hence no CMSSW dependence
664  // is allowed here...
665 
666  return false;
667 }
AlgorithmMap::const_iterator CItAlgo
iterators through map containing the algorithms
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:263

◆ gtConditionMap()

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

get / set / build the condition maps

Definition at line 83 of file TriggerMenu.h.

References m_conditionMap.

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

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

◆ gtScaleDbKey()

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

menu associated scale key

Definition at line 109 of file TriggerMenu.h.

References m_scaleDbKey.

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

◆ gtScales()

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

get the scales

Definition at line 208 of file TriggerMenu.h.

References m_gtScales.

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

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

◆ gtTriggerMenuImplementation()

const unsigned long TriggerMenu::gtTriggerMenuImplementation ( ) const
inline

Definition at line 104 of file TriggerMenu.h.

References m_triggerMenuImplementation.

104 { return m_triggerMenuImplementation; }
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:237

◆ gtTriggerMenuInterface()

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

get / set the trigger menu names

Definition at line 89 of file TriggerMenu.h.

References m_triggerMenuInterface.

89 { return m_triggerMenuInterface; }
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:235

◆ gtTriggerMenuName()

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

Definition at line 94 of file TriggerMenu.h.

References m_triggerMenuName.

94 { return m_triggerMenuName; }
std::string m_triggerMenuName
Definition: TriggerMenu.h:236

◆ gtTriggerMenuUUID()

const unsigned long TriggerMenu::gtTriggerMenuUUID ( ) const
inline

Definition at line 99 of file TriggerMenu.h.

References m_triggerMenuUUID.

99 { return m_triggerMenuUUID; }
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:239

◆ operator=()

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

Definition at line 132 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_vecCorrelationTemplate, m_vecCorrelationThreeBodyTemplate, m_vecCorrelationWithOverlapRemovalTemplate, m_vecEnergySumTemplate, m_vecEnergySumZdcTemplate, m_vecExternalTemplate, m_vecMuonShowerTemplate, and m_vecMuonTemplate.

132  {
133  if (this != &rhs) {
138 
146 
153 
156 
157  // m_technicalTriggerMap = rhs.m_technicalTriggerMap;
158  }
159 
160  // rebuild condition map to update the pointers
161  // (only physics conditions are included in it)
162  m_conditionMap.resize(rhs.m_conditionMap.size());
163  (*this).buildGtConditionMap();
164 
165  // return the object
166  return *this;
167 }
std::string m_triggerMenuName
Definition: TriggerMenu.h:236
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:256
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:246
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:253
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:258
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:259
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:249
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:263
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:250
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:257
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:239
std::vector< std::vector< AXOL1TLTemplate > > m_vecAXOL1TLTemplate
Definition: TriggerMenu.h:251
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:231
l1t::AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
Definition: TriggerMenu.h:266
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:237
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:235
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:260
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:247
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:255
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:248

◆ print()

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

print the trigger menu allow various verbosity levels

Definition at line 469 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.

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

◆ setCorCaloTemplate()

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

Definition at line 447 of file TriggerMenu.cc.

References m_corCaloTemplate.

447  {
448  m_corCaloTemplate = corCaloTempl;
449 }
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:259

◆ setCorEnergySumTemplate()

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

Definition at line 451 of file TriggerMenu.cc.

References m_corEnergySumTemplate.

451  {
452  m_corEnergySumTemplate = corEnergySumTempl;
453 }
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:260

◆ setCorMuonTemplate()

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

Definition at line 443 of file TriggerMenu.cc.

References m_corMuonTemplate.

443  {
444  m_corMuonTemplate = corMuonTempl;
445 }
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:258

◆ setGtAlgorithmAliasMap()

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

Definition at line 459 of file TriggerMenu.cc.

References m_algorithmAliasMap.

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

◆ setGtAlgorithmMap()

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

Definition at line 456 of file TriggerMenu.cc.

References m_algorithmMap.

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

◆ setGtConditionMap()

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

Definition at line 170 of file TriggerMenu.cc.

References m_conditionMap.

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

◆ setGtScaleDbKey()

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

Definition at line 397 of file TriggerMenu.cc.

References m_scaleDbKey.

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

◆ setGtScales()

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

Definition at line 400 of file TriggerMenu.cc.

References m_gtScales, and l1tGTDoubleObjectCond_cfi::scales.

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

◆ setGtTriggerMenuImplementation()

void TriggerMenu::setGtTriggerMenuImplementation ( const unsigned long  menuImplementation)

Definition at line 390 of file TriggerMenu.cc.

References m_triggerMenuImplementation.

390  {
391  m_triggerMenuImplementation = menuImplementation;
392 }
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:237

◆ setGtTriggerMenuInterface()

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

Definition at line 384 of file TriggerMenu.cc.

References m_triggerMenuInterface.

384  {
385  m_triggerMenuInterface = menuInterface;
386 }
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:235

◆ setGtTriggerMenuName()

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

Definition at line 388 of file TriggerMenu.cc.

References m_triggerMenuName.

388 { m_triggerMenuName = menuName; }
std::string m_triggerMenuName
Definition: TriggerMenu.h:236

◆ setGtTriggerMenuUUID()

void TriggerMenu::setGtTriggerMenuUUID ( const unsigned long  uuid)

Definition at line 394 of file TriggerMenu.cc.

References m_triggerMenuUUID, and createPayload::uuid.

394 { m_triggerMenuUUID = uuid; }
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:239

◆ setVecAXOL1TLTemplate()

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

Definition at line 420 of file TriggerMenu.cc.

References m_vecAXOL1TLTemplate.

420  {
421  m_vecAXOL1TLTemplate = vecAXOL1TLTempl;
422 }
std::vector< std::vector< AXOL1TLTemplate > > m_vecAXOL1TLTemplate
Definition: TriggerMenu.h:251

◆ setVecCaloTemplate()

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

Definition at line 407 of file TriggerMenu.cc.

References m_vecCaloTemplate.

407  {
408  m_vecCaloTemplate = vecCaloTempl;
409 }
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:248

◆ setVecCorrelationTemplate()

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

Definition at line 428 of file TriggerMenu.cc.

References m_vecCorrelationTemplate.

428  {
429  m_vecCorrelationTemplate = vecCorrelationTempl;
430 }
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:255

◆ setVecCorrelationThreeBodyTemplate()

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

Definition at line 432 of file TriggerMenu.cc.

References m_vecCorrelationThreeBodyTemplate.

433  {
434  m_vecCorrelationThreeBodyTemplate = vecCorrelationThreeBodyTempl;
435 }
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:256

◆ setVecCorrelationWithOverlapRemovalTemplate()

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

Definition at line 437 of file TriggerMenu.cc.

References m_vecCorrelationWithOverlapRemovalTemplate.

438  {
439  m_vecCorrelationWithOverlapRemovalTemplate = vecCorrelationTempl;
440 }
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:257

◆ setVecEnergySumTemplate()

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

Definition at line 411 of file TriggerMenu.cc.

References m_vecEnergySumTemplate.

411  {
412  m_vecEnergySumTemplate = vecEnergySumTempl;
413 }
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:249

◆ setVecEnergySumZdcTemplate()

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

Definition at line 415 of file TriggerMenu.cc.

References m_vecEnergySumZdcTemplate.

416  {
417  m_vecEnergySumZdcTemplate = vecEnergySumZdcTempl;
418 }
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:250

◆ setVecExternalTemplate()

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

Definition at line 424 of file TriggerMenu.cc.

References m_vecExternalTemplate.

424  {
425  m_vecExternalTemplate = vecExternalTempl;
426 }
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:253

◆ setVecMuonShowerTemplate()

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

◆ setVecMuonTemplate()

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

Definition at line 403 of file TriggerMenu.cc.

References m_vecMuonTemplate.

403  {
404  m_vecMuonTemplate = vecMuonTempl;
405 }
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:246

◆ vecAXOL1TLTemplate()

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

Definition at line 145 of file TriggerMenu.h.

References m_vecAXOL1TLTemplate.

145 { return m_vecAXOL1TLTemplate; }
std::vector< std::vector< AXOL1TLTemplate > > m_vecAXOL1TLTemplate
Definition: TriggerMenu.h:251

◆ vecCaloTemplate()

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

Definition at line 126 of file TriggerMenu.h.

References m_vecCaloTemplate.

126 { return m_vecCaloTemplate; }
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:248

◆ vecCorrelationTemplate()

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

Definition at line 157 of file TriggerMenu.h.

References m_vecCorrelationTemplate.

157  {
159  }
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:255

◆ vecCorrelationThreeBodyTemplate()

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

Definition at line 164 of file TriggerMenu.h.

References m_vecCorrelationThreeBodyTemplate.

164  {
166  }
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:256

◆ vecCorrelationWithOverlapRemovalTemplate()

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

Definition at line 172 of file TriggerMenu.h.

References m_vecCorrelationWithOverlapRemovalTemplate.

172  {
174  }
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:257

◆ vecEnergySumTemplate()

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

Definition at line 131 of file TriggerMenu.h.

References m_vecEnergySumTemplate.

131  {
132  return m_vecEnergySumTemplate;
133  }
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:249

◆ vecEnergySumZdcTemplate()

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

Definition at line 138 of file TriggerMenu.h.

References m_vecEnergySumZdcTemplate.

138  {
140  }
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:250

◆ vecExternalTemplate()

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

Definition at line 150 of file TriggerMenu.h.

References m_vecExternalTemplate.

150  {
151  return m_vecExternalTemplate;
152  }
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:253

◆ vecMuonShowerTemplate()

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

Definition at line 119 of file TriggerMenu.h.

References m_vecMuonShowerTemplate.

119  {
121  }
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:247

◆ vecMuonTemplate()

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

get / set the vectors containing the conditions

Definition at line 114 of file TriggerMenu.h.

References m_vecMuonTemplate.

114 { return m_vecMuonTemplate; }
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:246

Member Data Documentation

◆ m_algorithmAliasMap

l1t::AlgorithmMap TriggerMenu::m_algorithmAliasMap
private

map containing the physics algorithms (by alias)

Definition at line 266 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 263 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 231 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 259 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 258 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 272 of file TriggerMenu.h.

Referenced by gtScales(), and setGtScales().

◆ m_scaleDbKey

std::string TriggerMenu::m_scaleDbKey
private

menu associated scale key

Definition at line 242 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 235 of file TriggerMenu.h.

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

◆ m_triggerMenuName

std::string TriggerMenu::m_triggerMenuName
private

Definition at line 236 of file TriggerMenu.h.

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

◆ m_triggerMenuUUID

unsigned long TriggerMenu::m_triggerMenuUUID
private

Definition at line 239 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_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 247 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 246 of file TriggerMenu.h.

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