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 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< 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< 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< 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 50 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:229
std::string m_scaleDbKey
menu associated scale key
Definition: TriggerMenu.h:235
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:230
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:228

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

57  : m_triggerMenuInterface("NULL"),
58  m_triggerMenuName(triggerMenuNameVal),
60  m_scaleDbKey("NULL"),
61  m_vecMuonTemplate(vecMuonTemplateVal),
62  m_vecMuonShowerTemplate(vecMuonShowerTemplateVal),
63  m_vecCaloTemplate(vecCaloTemplateVal),
64  m_vecEnergySumTemplate(vecEnergySumTemplateVal),
65  m_vecEnergySumZdcTemplate(vecEnergySumZdcTemplateVal),
66  m_vecExternalTemplate(vecExternalTemplateVal),
67  m_vecCorrelationTemplate(vecCorrelationTemplateVal),
68  m_vecCorrelationThreeBodyTemplate(vecCorrelationThreeBodyTemplateVal),
69  m_vecCorrelationWithOverlapRemovalTemplate(vecCorrelationWithOverlapRemovalTemplateVal),
70  m_corMuonTemplate(corMuonTemplateVal),
71  m_corCaloTemplate(corCaloTemplateVal),
72  m_corEnergySumTemplate(corEnergySumTemplateVal) {
73  m_conditionMap.resize(numberConditionChips);
76 }
std::string m_triggerMenuName
Definition: TriggerMenu.h:229
std::string m_scaleDbKey
menu associated scale key
Definition: TriggerMenu.h:235
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:248
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:239
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:245
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:250
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:251
void buildGtConditionMap()
Definition: TriggerMenu.cc:169
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:242
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:243
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:249
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:232
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:224
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:230
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:228
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:252
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:240
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:247
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:241

◆ TriggerMenu() [3/3]

TriggerMenu::TriggerMenu ( const TriggerMenu rhs)

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

79  {
85 
86  // copy physics conditions
93 
100 
101  // rebuild condition map to update the pointers
102  // (only physics conditions are included in it)
103  m_conditionMap.resize(rhs.m_conditionMap.size());
104  (*this).buildGtConditionMap();
105 
106  // copy algorithm map
109 
110  // copy technical triggers
111  // (separate map for technical triggers and physics triggers)
112  //m_technicalTriggerMap = rhs.m_technicalTriggerMap;
113 }
std::string m_triggerMenuName
Definition: TriggerMenu.h:229
std::string m_scaleDbKey
menu associated scale key
Definition: TriggerMenu.h:235
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:248
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:239
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:245
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:250
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:251
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:242
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:255
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:243
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:249
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:232
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:224
l1t::AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
Definition: TriggerMenu.h:258
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:230
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:228
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:252
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:240
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:247
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:241

◆ ~TriggerMenu()

TriggerMenu::~TriggerMenu ( )
virtual

Definition at line 116 of file TriggerMenu.cc.

References m_algorithmAliasMap, m_algorithmMap, and m_conditionMap.

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

Member Function Documentation

◆ buildGtConditionMap()

void TriggerMenu::buildGtConditionMap ( )

DMP: Comment out unused templates for now

Definition at line 169 of file TriggerMenu.cc.

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

Referenced by TriggerMenu().

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

◆ corCaloTemplate()

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

Definition at line 178 of file TriggerMenu.h.

References m_corCaloTemplate.

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

178 { return m_corCaloTemplate; }
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:251

◆ corEnergySumTemplate()

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

Definition at line 184 of file TriggerMenu.h.

References m_corEnergySumTemplate.

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

184  {
185  return m_corEnergySumTemplate;
186  }
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:252

◆ corMuonTemplate()

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

Definition at line 173 of file TriggerMenu.h.

References m_corMuonTemplate.

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

173 { return m_corMuonTemplate; }
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:250

◆ gtAlgorithmAliasMap()

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

get / set the algorithm map (by alias)

Definition at line 196 of file TriggerMenu.h.

References m_algorithmAliasMap.

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

◆ gtAlgorithmMap()

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

get / set the algorithm map (by name)

Definition at line 191 of file TriggerMenu.h.

References m_algorithmMap.

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

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

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

References L1TBPTX_cfi::bitNumber, and m_algorithmMap.

623  {
624  bool algResult = false;
625 
626  l1t::CItAlgo itAlgo = m_algorithmMap.find(algName);
627  if (itAlgo != m_algorithmMap.end()) {
628  int bitNumber = (itAlgo->second).algoBitNumber();
629  algResult = decWord.at(bitNumber);
630  return algResult;
631  }
632 
633  // return false if the algorithm name is not found in the menu
634  // TODO throw exception or LogInfo would be better - but the class is used in
635  // XDAQ Trigger Supervisor (outside CMSSW) hence no CMSSW dependence
636  // is allowed here...
637 
638  return false;
639 }
AlgorithmMap::const_iterator CItAlgo
iterators through map containing the algorithms
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:255

◆ gtConditionMap()

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

get / set / build the condition maps

Definition at line 81 of file TriggerMenu.h.

References m_conditionMap.

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

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

◆ gtScaleDbKey()

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

menu associated scale key

Definition at line 107 of file TriggerMenu.h.

References m_scaleDbKey.

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

◆ gtScales()

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

get the scales

Definition at line 201 of file TriggerMenu.h.

References m_gtScales.

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

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

◆ gtTriggerMenuImplementation()

const unsigned long TriggerMenu::gtTriggerMenuImplementation ( ) const
inline

Definition at line 102 of file TriggerMenu.h.

References m_triggerMenuImplementation.

102 { return m_triggerMenuImplementation; }
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:230

◆ gtTriggerMenuInterface()

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

get / set the trigger menu names

Definition at line 87 of file TriggerMenu.h.

References m_triggerMenuInterface.

87 { return m_triggerMenuInterface; }
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:228

◆ gtTriggerMenuName()

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

Definition at line 92 of file TriggerMenu.h.

References m_triggerMenuName.

92 { return m_triggerMenuName; }
std::string m_triggerMenuName
Definition: TriggerMenu.h:229

◆ gtTriggerMenuUUID()

const unsigned long TriggerMenu::gtTriggerMenuUUID ( ) const
inline

Definition at line 97 of file TriggerMenu.h.

References m_triggerMenuUUID.

97 { return m_triggerMenuUUID; }
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:232

◆ operator=()

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

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

129  {
130  if (this != &rhs) {
135 
142 
149 
152 
153  // m_technicalTriggerMap = rhs.m_technicalTriggerMap;
154  }
155 
156  // rebuild condition map to update the pointers
157  // (only physics conditions are included in it)
158  m_conditionMap.resize(rhs.m_conditionMap.size());
159  (*this).buildGtConditionMap();
160 
161  // return the object
162  return *this;
163 }
std::string m_triggerMenuName
Definition: TriggerMenu.h:229
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:248
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:239
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:245
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:250
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:251
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:242
l1t::AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: TriggerMenu.h:255
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:243
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:249
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:232
std::vector< l1t::ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: TriggerMenu.h:224
l1t::AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
Definition: TriggerMenu.h:258
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:230
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:228
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:252
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:240
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:247
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:241

◆ print()

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

print the trigger menu allow various verbosity levels

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

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

◆ setCorCaloTemplate()

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

Definition at line 419 of file TriggerMenu.cc.

References m_corCaloTemplate.

419  {
420  m_corCaloTemplate = corCaloTempl;
421 }
std::vector< std::vector< CaloTemplate > > m_corCaloTemplate
Definition: TriggerMenu.h:251

◆ setCorEnergySumTemplate()

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

Definition at line 423 of file TriggerMenu.cc.

References m_corEnergySumTemplate.

423  {
424  m_corEnergySumTemplate = corEnergySumTempl;
425 }
std::vector< std::vector< EnergySumTemplate > > m_corEnergySumTemplate
Definition: TriggerMenu.h:252

◆ setCorMuonTemplate()

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

Definition at line 415 of file TriggerMenu.cc.

References m_corMuonTemplate.

415  {
416  m_corMuonTemplate = corMuonTempl;
417 }
std::vector< std::vector< MuonTemplate > > m_corMuonTemplate
Definition: TriggerMenu.h:250

◆ setGtAlgorithmAliasMap()

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

Definition at line 431 of file TriggerMenu.cc.

References m_algorithmAliasMap.

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

◆ setGtAlgorithmMap()

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

Definition at line 428 of file TriggerMenu.cc.

References m_algorithmMap.

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

◆ setGtConditionMap()

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

Definition at line 166 of file TriggerMenu.cc.

References m_conditionMap.

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

◆ setGtScaleDbKey()

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

Definition at line 373 of file TriggerMenu.cc.

References m_scaleDbKey.

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

◆ setGtScales()

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

Definition at line 376 of file TriggerMenu.cc.

References m_gtScales.

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

◆ setGtTriggerMenuImplementation()

void TriggerMenu::setGtTriggerMenuImplementation ( const unsigned long  menuImplementation)

Definition at line 366 of file TriggerMenu.cc.

References m_triggerMenuImplementation.

366  {
367  m_triggerMenuImplementation = menuImplementation;
368 }
unsigned long m_triggerMenuImplementation
Definition: TriggerMenu.h:230

◆ setGtTriggerMenuInterface()

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

Definition at line 360 of file TriggerMenu.cc.

References m_triggerMenuInterface.

360  {
361  m_triggerMenuInterface = menuInterface;
362 }
std::string m_triggerMenuInterface
menu names
Definition: TriggerMenu.h:228

◆ setGtTriggerMenuName()

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

Definition at line 364 of file TriggerMenu.cc.

References m_triggerMenuName.

364 { m_triggerMenuName = menuName; }
std::string m_triggerMenuName
Definition: TriggerMenu.h:229

◆ setGtTriggerMenuUUID()

void TriggerMenu::setGtTriggerMenuUUID ( const unsigned long  uuid)

Definition at line 370 of file TriggerMenu.cc.

References m_triggerMenuUUID, and createPayload::uuid.

370 { m_triggerMenuUUID = uuid; }
unsigned long m_triggerMenuUUID
Definition: TriggerMenu.h:232

◆ setVecCaloTemplate()

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

Definition at line 383 of file TriggerMenu.cc.

References m_vecCaloTemplate.

383  {
384  m_vecCaloTemplate = vecCaloTempl;
385 }
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:241

◆ setVecCorrelationTemplate()

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

Definition at line 400 of file TriggerMenu.cc.

References m_vecCorrelationTemplate.

400  {
401  m_vecCorrelationTemplate = vecCorrelationTempl;
402 }
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:247

◆ setVecCorrelationThreeBodyTemplate()

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

Definition at line 404 of file TriggerMenu.cc.

References m_vecCorrelationThreeBodyTemplate.

405  {
406  m_vecCorrelationThreeBodyTemplate = vecCorrelationThreeBodyTempl;
407 }
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:248

◆ setVecCorrelationWithOverlapRemovalTemplate()

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

Definition at line 409 of file TriggerMenu.cc.

References m_vecCorrelationWithOverlapRemovalTemplate.

410  {
411  m_vecCorrelationWithOverlapRemovalTemplate = vecCorrelationTempl;
412 }
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:249

◆ setVecEnergySumTemplate()

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

Definition at line 387 of file TriggerMenu.cc.

References m_vecEnergySumTemplate.

387  {
388  m_vecEnergySumTemplate = vecEnergySumTempl;
389 }
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:242

◆ setVecEnergySumZdcTemplate()

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

Definition at line 391 of file TriggerMenu.cc.

References m_vecEnergySumZdcTemplate.

392  {
393  m_vecEnergySumZdcTemplate = vecEnergySumZdcTempl;
394 }
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:243

◆ setVecExternalTemplate()

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

Definition at line 396 of file TriggerMenu.cc.

References m_vecExternalTemplate.

396  {
397  m_vecExternalTemplate = vecExternalTempl;
398 }
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:245

◆ setVecMuonShowerTemplate()

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

◆ setVecMuonTemplate()

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

Definition at line 379 of file TriggerMenu.cc.

References m_vecMuonTemplate.

379  {
380  m_vecMuonTemplate = vecMuonTempl;
381 }
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:239

◆ vecCaloTemplate()

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

Definition at line 124 of file TriggerMenu.h.

References m_vecCaloTemplate.

124 { return m_vecCaloTemplate; }
std::vector< std::vector< CaloTemplate > > m_vecCaloTemplate
Definition: TriggerMenu.h:241

◆ vecCorrelationTemplate()

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

Definition at line 150 of file TriggerMenu.h.

References m_vecCorrelationTemplate.

150  {
152  }
std::vector< std::vector< CorrelationTemplate > > m_vecCorrelationTemplate
Definition: TriggerMenu.h:247

◆ vecCorrelationThreeBodyTemplate()

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

Definition at line 157 of file TriggerMenu.h.

References m_vecCorrelationThreeBodyTemplate.

157  {
159  }
std::vector< std::vector< CorrelationThreeBodyTemplate > > m_vecCorrelationThreeBodyTemplate
Definition: TriggerMenu.h:248

◆ vecCorrelationWithOverlapRemovalTemplate()

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

Definition at line 165 of file TriggerMenu.h.

References m_vecCorrelationWithOverlapRemovalTemplate.

165  {
167  }
std::vector< std::vector< CorrelationWithOverlapRemovalTemplate > > m_vecCorrelationWithOverlapRemovalTemplate
Definition: TriggerMenu.h:249

◆ vecEnergySumTemplate()

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

Definition at line 129 of file TriggerMenu.h.

References m_vecEnergySumTemplate.

129  {
130  return m_vecEnergySumTemplate;
131  }
std::vector< std::vector< EnergySumTemplate > > m_vecEnergySumTemplate
Definition: TriggerMenu.h:242

◆ vecEnergySumZdcTemplate()

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

Definition at line 136 of file TriggerMenu.h.

References m_vecEnergySumZdcTemplate.

136  {
138  }
std::vector< std::vector< EnergySumZdcTemplate > > m_vecEnergySumZdcTemplate
Definition: TriggerMenu.h:243

◆ vecExternalTemplate()

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

Definition at line 143 of file TriggerMenu.h.

References m_vecExternalTemplate.

143  {
144  return m_vecExternalTemplate;
145  }
std::vector< std::vector< ExternalTemplate > > m_vecExternalTemplate
Definition: TriggerMenu.h:245

◆ vecMuonShowerTemplate()

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

Definition at line 117 of file TriggerMenu.h.

References m_vecMuonShowerTemplate.

117  {
119  }
std::vector< std::vector< MuonShowerTemplate > > m_vecMuonShowerTemplate
Definition: TriggerMenu.h:240

◆ vecMuonTemplate()

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

get / set the vectors containing the conditions

Definition at line 112 of file TriggerMenu.h.

References m_vecMuonTemplate.

112 { return m_vecMuonTemplate; }
std::vector< std::vector< MuonTemplate > > m_vecMuonTemplate
Definition: TriggerMenu.h:239

Member Data Documentation

◆ m_algorithmAliasMap

l1t::AlgorithmMap TriggerMenu::m_algorithmAliasMap
private

map containing the physics algorithms (by alias)

Definition at line 258 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 255 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 224 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 251 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 250 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 264 of file TriggerMenu.h.

Referenced by gtScales(), and setGtScales().

◆ m_scaleDbKey

std::string TriggerMenu::m_scaleDbKey
private

menu associated scale key

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

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

◆ m_triggerMenuName

std::string TriggerMenu::m_triggerMenuName
private

Definition at line 229 of file TriggerMenu.h.

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

◆ m_triggerMenuUUID

unsigned long TriggerMenu::m_triggerMenuUUID
private

Definition at line 232 of file TriggerMenu.h.

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

◆ 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 240 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 239 of file TriggerMenu.h.

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