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  }
390 
391  chipNr = -1;
392  for (std::vector<std::vector<CorrelationWithOverlapRemovalTemplate> >::iterator itCondOnChip =
394  itCondOnChip != m_vecCorrelationWithOverlapRemovalTemplate.end();
395  itCondOnChip++) {
396  chipNr++;
397 
398  for (std::vector<CorrelationWithOverlapRemovalTemplate>::iterator itCond = itCondOnChip->begin();
399  itCond != itCondOnChip->end();
400  itCond++) {
401  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
402  }
403  }
404 }
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 678 of file TriggerMenu.cc.

References L1TBPTX_cfi::bitNumber, and m_algorithmMap.

678  {
679  bool algResult = false;
680 
681  l1t::CItAlgo itAlgo = m_algorithmMap.find(algName);
682  if (itAlgo != m_algorithmMap.end()) {
683  int bitNumber = (itAlgo->second).algoBitNumber();
684  algResult = decWord.at(bitNumber);
685  return algResult;
686  }
687 
688  // return false if the algorithm name is not found in the menu
689  // TODO throw exception or LogInfo would be better - but the class is used in
690  // XDAQ Trigger Supervisor (outside CMSSW) hence no CMSSW dependence
691  // is allowed here...
692 
693  return false;
694 }
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 496 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.

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

◆ setCorCaloTemplate()

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

Definition at line 474 of file TriggerMenu.cc.

References m_corCaloTemplate.

474  {
475  m_corCaloTemplate = corCaloTempl;
476 }
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 478 of file TriggerMenu.cc.

References m_corEnergySumTemplate.

478  {
479  m_corEnergySumTemplate = corEnergySumTempl;
480 }
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 470 of file TriggerMenu.cc.

References m_corMuonTemplate.

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

◆ setGtAlgorithmAliasMap()

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

Definition at line 486 of file TriggerMenu.cc.

References m_algorithmAliasMap.

486 { 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 483 of file TriggerMenu.cc.

References m_algorithmMap.

483 { 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 420 of file TriggerMenu.cc.

References m_scaleDbKey.

420 { 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 423 of file TriggerMenu.cc.

References m_gtScales, and l1tGTDoubleObjectCond_cfi::scales.

423 { 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 413 of file TriggerMenu.cc.

References m_triggerMenuImplementation.

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

◆ setGtTriggerMenuInterface()

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

Definition at line 407 of file TriggerMenu.cc.

References m_triggerMenuInterface.

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

◆ setGtTriggerMenuName()

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

Definition at line 411 of file TriggerMenu.cc.

References m_triggerMenuName.

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

◆ setGtTriggerMenuUUID()

void TriggerMenu::setGtTriggerMenuUUID ( const unsigned long  uuid)

Definition at line 417 of file TriggerMenu.cc.

References m_triggerMenuUUID, and createPayload::uuid.

417 { 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 443 of file TriggerMenu.cc.

References m_vecAXOL1TLTemplate.

443  {
444  m_vecAXOL1TLTemplate = vecAXOL1TLTempl;
445 }
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 430 of file TriggerMenu.cc.

References m_vecCaloTemplate.

430  {
431  m_vecCaloTemplate = vecCaloTempl;
432 }
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 447 of file TriggerMenu.cc.

References m_vecCICADATemplate.

447  {
448  m_vecCICADATemplate = vecCICADATempl;
449 }
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 455 of file TriggerMenu.cc.

References m_vecCorrelationTemplate.

455  {
456  m_vecCorrelationTemplate = vecCorrelationTempl;
457 }
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 459 of file TriggerMenu.cc.

References m_vecCorrelationThreeBodyTemplate.

460  {
461  m_vecCorrelationThreeBodyTemplate = vecCorrelationThreeBodyTempl;
462 }
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 464 of file TriggerMenu.cc.

References m_vecCorrelationWithOverlapRemovalTemplate.

465  {
466  m_vecCorrelationWithOverlapRemovalTemplate = vecCorrelationTempl;
467 }
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 434 of file TriggerMenu.cc.

References m_vecEnergySumTemplate.

434  {
435  m_vecEnergySumTemplate = vecEnergySumTempl;
436 }
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 438 of file TriggerMenu.cc.

References m_vecEnergySumZdcTemplate.

439  {
440  m_vecEnergySumZdcTemplate = vecEnergySumZdcTempl;
441 }
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 451 of file TriggerMenu.cc.

References m_vecExternalTemplate.

451  {
452  m_vecExternalTemplate = vecExternalTempl;
453 }
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 426 of file TriggerMenu.cc.

References m_vecMuonTemplate.

426  {
427  m_vecMuonTemplate = vecMuonTempl;
428 }
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().