CMS 3D CMS Logo

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

#include <L1GtTriggerMenu.h>

Public Member Functions

void buildGtConditionMap ()
 
const std::vector< std::vector< L1GtCaloTemplate > > & corCaloTemplate () const
 
const std::vector< std::vector< L1GtEnergySumTemplate > > & corEnergySumTemplate () const
 
const std::vector< std::vector< L1GtMuonTemplate > > & corMuonTemplate () const
 
const AlgorithmMapgtAlgorithmAliasMap () const
 get / set the algorithm map (by alias) More...
 
const 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< ConditionMap > & gtConditionMap () const
 get / set / build the condition maps More...
 
const std::string & gtScaleDbKey () const
 menu associated scale key More...
 
const AlgorithmMapgtTechnicalTriggerMap () const
 get / set the technical trigger map More...
 
const std::string & gtTriggerMenuImplementation () const
 
const std::string & gtTriggerMenuInterface () const
 get / set the trigger menu names More...
 
const std::string & gtTriggerMenuName () const
 
 L1GtTriggerMenu ()
 
 L1GtTriggerMenu (const std::string &, const unsigned int numberConditionChips, const std::vector< std::vector< L1GtMuonTemplate > > &, const std::vector< std::vector< L1GtCaloTemplate > > &, const std::vector< std::vector< L1GtEnergySumTemplate > > &, const std::vector< std::vector< L1GtJetCountsTemplate > > &, const std::vector< std::vector< L1GtCastorTemplate > > &, const std::vector< std::vector< L1GtHfBitCountsTemplate > > &, const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > &, const std::vector< std::vector< L1GtBptxTemplate > > &, const std::vector< std::vector< L1GtExternalTemplate > > &, const std::vector< std::vector< L1GtCorrelationTemplate > > &, const std::vector< std::vector< L1GtMuonTemplate > > &, const std::vector< std::vector< L1GtCaloTemplate > > &, const std::vector< std::vector< L1GtEnergySumTemplate > > &)
 
 L1GtTriggerMenu (const L1GtTriggerMenu &)
 
L1GtTriggerMenuoperator= (const L1GtTriggerMenu &)
 
void print (std::ostream &, int &) const
 
void setCorCaloTemplate (const std::vector< std::vector< L1GtCaloTemplate > > &)
 
void setCorEnergySumTemplate (const std::vector< std::vector< L1GtEnergySumTemplate > > &)
 
void setCorMuonTemplate (const std::vector< std::vector< L1GtMuonTemplate > > &)
 
void setGtAlgorithmAliasMap (const AlgorithmMap &)
 
void setGtAlgorithmMap (const AlgorithmMap &)
 
void setGtConditionMap (const std::vector< ConditionMap > &)
 
void setGtScaleDbKey (const std::string &)
 
void setGtTechnicalTriggerMap (const AlgorithmMap &)
 
void setGtTriggerMenuImplementation (const std::string &)
 
void setGtTriggerMenuInterface (const std::string &)
 
void setGtTriggerMenuName (const std::string &)
 
void setVecBptxTemplate (const std::vector< std::vector< L1GtBptxTemplate > > &)
 
void setVecCaloTemplate (const std::vector< std::vector< L1GtCaloTemplate > > &)
 
void setVecCastorTemplate (const std::vector< std::vector< L1GtCastorTemplate > > &)
 
void setVecCorrelationTemplate (const std::vector< std::vector< L1GtCorrelationTemplate > > &)
 
void setVecEnergySumTemplate (const std::vector< std::vector< L1GtEnergySumTemplate > > &)
 
void setVecExternalTemplate (const std::vector< std::vector< L1GtExternalTemplate > > &)
 
void setVecHfBitCountsTemplate (const std::vector< std::vector< L1GtHfBitCountsTemplate > > &)
 
void setVecHfRingEtSumsTemplate (const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > &)
 
void setVecJetCountsTemplate (const std::vector< std::vector< L1GtJetCountsTemplate > > &)
 
void setVecMuonTemplate (const std::vector< std::vector< L1GtMuonTemplate > > &)
 
const std::vector< std::vector< L1GtBptxTemplate > > & vecBptxTemplate () const
 
const std::vector< std::vector< L1GtCaloTemplate > > & vecCaloTemplate () const
 
const std::vector< std::vector< L1GtCastorTemplate > > & vecCastorTemplate () const
 
const std::vector< std::vector< L1GtCorrelationTemplate > > & vecCorrelationTemplate () const
 
const std::vector< std::vector< L1GtEnergySumTemplate > > & vecEnergySumTemplate () const
 
const std::vector< std::vector< L1GtExternalTemplate > > & vecExternalTemplate () const
 
const std::vector< std::vector< L1GtHfBitCountsTemplate > > & vecHfBitCountsTemplate () const
 
const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > & vecHfRingEtSumsTemplate () const
 
const std::vector< std::vector< L1GtJetCountsTemplate > > & vecJetCountsTemplate () const
 
const std::vector< std::vector< L1GtMuonTemplate > > & vecMuonTemplate () const
 get / set the vectors containing the conditions More...
 
virtual ~L1GtTriggerMenu ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

AlgorithmMap m_algorithmAliasMap
 map containing the physics algorithms (by alias) More...
 
AlgorithmMap m_algorithmMap
 map containing the physics algorithms (by name) More...
 
std::vector< ConditionMapm_conditionMap
 map containing the conditions (per condition chip) - transient More...
 
std::vector< std::vector< L1GtCaloTemplate > > m_corCaloTemplate
 
std::vector< std::vector< L1GtEnergySumTemplate > > m_corEnergySumTemplate
 
std::vector< std::vector< L1GtMuonTemplate > > m_corMuonTemplate
 
std::string m_scaleDbKey
 menu associated scale key More...
 
AlgorithmMap m_technicalTriggerMap
 map containing the technical triggers More...
 
std::string m_triggerMenuImplementation
 
std::string m_triggerMenuInterface
 menu names More...
 
std::string m_triggerMenuName
 
std::vector< std::vector< L1GtBptxTemplate > > m_vecBptxTemplate
 
std::vector< std::vector< L1GtCaloTemplate > > m_vecCaloTemplate
 
std::vector< std::vector< L1GtCastorTemplate > > m_vecCastorTemplate
 
std::vector< std::vector< L1GtCorrelationTemplate > > m_vecCorrelationTemplate
 
std::vector< std::vector< L1GtEnergySumTemplate > > m_vecEnergySumTemplate
 
std::vector< std::vector< L1GtExternalTemplate > > m_vecExternalTemplate
 
std::vector< std::vector< L1GtHfBitCountsTemplate > > m_vecHfBitCountsTemplate
 
std::vector< std::vector< L1GtHfRingEtSumsTemplate > > m_vecHfRingEtSumsTemplate
 
std::vector< std::vector< L1GtJetCountsTemplate > > m_vecJetCountsTemplate
 
std::vector< std::vector< L1GtMuonTemplate > > m_vecMuonTemplate
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Description: L1 trigger menu.

Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna

$Date$ $Revision$

Description: forward header for L1 Global Trigger menu.
Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna

$Date$ $Revision$

Definition at line 48 of file L1GtTriggerMenu.h.

Constructor & Destructor Documentation

◆ L1GtTriggerMenu() [1/3]

L1GtTriggerMenu::L1GtTriggerMenu ( )

Definition at line 31 of file L1GtTriggerMenu.cc.

32  : m_triggerMenuInterface("NULL"),
33  m_triggerMenuName("NULL"),
35  m_scaleDbKey("NULL") {
36  // empty
37 }
std::string m_scaleDbKey
menu associated scale key
std::string m_triggerMenuName
std::string m_triggerMenuImplementation
std::string m_triggerMenuInterface
menu names

◆ L1GtTriggerMenu() [2/3]

L1GtTriggerMenu::L1GtTriggerMenu ( const std::string &  triggerMenuNameVal,
const unsigned int  numberConditionChips,
const std::vector< std::vector< L1GtMuonTemplate > > &  vecMuonTemplateVal,
const std::vector< std::vector< L1GtCaloTemplate > > &  vecCaloTemplateVal,
const std::vector< std::vector< L1GtEnergySumTemplate > > &  vecEnergySumTemplateVal,
const std::vector< std::vector< L1GtJetCountsTemplate > > &  vecJetCountsTemplateVal,
const std::vector< std::vector< L1GtCastorTemplate > > &  vecCastorTemplateVal,
const std::vector< std::vector< L1GtHfBitCountsTemplate > > &  vecHfBitCountsTemplateVal,
const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > &  vecHfRingEtSumsTemplateVal,
const std::vector< std::vector< L1GtBptxTemplate > > &  vecBptxTemplateVal,
const std::vector< std::vector< L1GtExternalTemplate > > &  vecExternalTemplateVal,
const std::vector< std::vector< L1GtCorrelationTemplate > > &  vecCorrelationTemplateVal,
const std::vector< std::vector< L1GtMuonTemplate > > &  corMuonTemplateVal,
const std::vector< std::vector< L1GtCaloTemplate > > &  corCaloTemplateVal,
const std::vector< std::vector< L1GtEnergySumTemplate > > &  corEnergySumTemplateVal 
)

Definition at line 39 of file L1GtTriggerMenu.cc.

References buildGtConditionMap(), and m_conditionMap.

56  : m_triggerMenuInterface("NULL"),
57  m_triggerMenuName(triggerMenuNameVal),
59  m_scaleDbKey("NULL"),
60  m_vecMuonTemplate(vecMuonTemplateVal),
61  m_vecCaloTemplate(vecCaloTemplateVal),
62  m_vecEnergySumTemplate(vecEnergySumTemplateVal),
63  m_vecJetCountsTemplate(vecJetCountsTemplateVal),
64  m_vecCastorTemplate(vecCastorTemplateVal),
65  m_vecHfBitCountsTemplate(vecHfBitCountsTemplateVal),
66  m_vecHfRingEtSumsTemplate(vecHfRingEtSumsTemplateVal),
67  m_vecBptxTemplate(vecBptxTemplateVal),
68  m_vecExternalTemplate(vecExternalTemplateVal),
69  m_vecCorrelationTemplate(vecCorrelationTemplateVal),
70  m_corMuonTemplate(corMuonTemplateVal),
71  m_corCaloTemplate(corCaloTemplateVal),
72  m_corEnergySumTemplate(corEnergySumTemplateVal) {
73  m_conditionMap.resize(numberConditionChips);
75 }
std::vector< std::vector< L1GtBptxTemplate > > m_vecBptxTemplate
std::vector< std::vector< L1GtCaloTemplate > > m_vecCaloTemplate
std::vector< std::vector< L1GtMuonTemplate > > m_vecMuonTemplate
std::vector< std::vector< L1GtHfBitCountsTemplate > > m_vecHfBitCountsTemplate
std::vector< std::vector< L1GtMuonTemplate > > m_corMuonTemplate
std::vector< ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
std::vector< std::vector< L1GtJetCountsTemplate > > m_vecJetCountsTemplate
std::vector< std::vector< L1GtCastorTemplate > > m_vecCastorTemplate
std::string m_scaleDbKey
menu associated scale key
std::string m_triggerMenuName
std::vector< std::vector< L1GtCaloTemplate > > m_corCaloTemplate
std::vector< std::vector< L1GtEnergySumTemplate > > m_vecEnergySumTemplate
std::vector< std::vector< L1GtExternalTemplate > > m_vecExternalTemplate
std::vector< std::vector< L1GtHfRingEtSumsTemplate > > m_vecHfRingEtSumsTemplate
std::vector< std::vector< L1GtEnergySumTemplate > > m_corEnergySumTemplate
std::vector< std::vector< L1GtCorrelationTemplate > > m_vecCorrelationTemplate
std::string m_triggerMenuImplementation
std::string m_triggerMenuInterface
menu names

◆ L1GtTriggerMenu() [3/3]

L1GtTriggerMenu::L1GtTriggerMenu ( const L1GtTriggerMenu rhs)

Definition at line 78 of file L1GtTriggerMenu.cc.

References m_algorithmAliasMap, m_algorithmMap, m_conditionMap, m_corCaloTemplate, m_corEnergySumTemplate, m_corMuonTemplate, m_scaleDbKey, m_technicalTriggerMap, m_triggerMenuImplementation, m_triggerMenuInterface, m_triggerMenuName, m_vecBptxTemplate, m_vecCaloTemplate, m_vecCastorTemplate, m_vecCorrelationTemplate, m_vecEnergySumTemplate, m_vecExternalTemplate, m_vecHfBitCountsTemplate, m_vecHfRingEtSumsTemplate, m_vecJetCountsTemplate, and m_vecMuonTemplate.

78  {
83 
84  // copy physics conditions
94 
99 
100  // rebuild condition map to update the pointers
101  // (only physics conditions are included in it)
102  m_conditionMap.resize(rhs.m_conditionMap.size());
103  (*this).buildGtConditionMap();
104 
105  // copy algorithm map
108 
109  // copy technical triggers
110  // (separate map for technical triggers and physics triggers)
112 }
std::vector< std::vector< L1GtBptxTemplate > > m_vecBptxTemplate
AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
std::vector< std::vector< L1GtCaloTemplate > > m_vecCaloTemplate
std::vector< std::vector< L1GtMuonTemplate > > m_vecMuonTemplate
std::vector< std::vector< L1GtHfBitCountsTemplate > > m_vecHfBitCountsTemplate
std::vector< std::vector< L1GtMuonTemplate > > m_corMuonTemplate
std::vector< ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
std::vector< std::vector< L1GtJetCountsTemplate > > m_vecJetCountsTemplate
std::vector< std::vector< L1GtCastorTemplate > > m_vecCastorTemplate
std::string m_scaleDbKey
menu associated scale key
std::string m_triggerMenuName
std::vector< std::vector< L1GtCaloTemplate > > m_corCaloTemplate
std::vector< std::vector< L1GtEnergySumTemplate > > m_vecEnergySumTemplate
std::vector< std::vector< L1GtExternalTemplate > > m_vecExternalTemplate
std::vector< std::vector< L1GtHfRingEtSumsTemplate > > m_vecHfRingEtSumsTemplate
std::vector< std::vector< L1GtEnergySumTemplate > > m_corEnergySumTemplate
AlgorithmMap m_technicalTriggerMap
map containing the technical triggers
std::vector< std::vector< L1GtCorrelationTemplate > > m_vecCorrelationTemplate
std::string m_triggerMenuImplementation
AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
std::string m_triggerMenuInterface
menu names

◆ ~L1GtTriggerMenu()

L1GtTriggerMenu::~L1GtTriggerMenu ( )
virtual

Definition at line 115 of file L1GtTriggerMenu.cc.

References m_algorithmAliasMap, m_algorithmMap, and m_conditionMap.

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

Member Function Documentation

◆ buildGtConditionMap()

void L1GtTriggerMenu::buildGtConditionMap ( )

Definition at line 167 of file L1GtTriggerMenu.cc.

References m_conditionMap, m_vecBptxTemplate, m_vecCaloTemplate, m_vecCastorTemplate, m_vecCorrelationTemplate, m_vecEnergySumTemplate, m_vecExternalTemplate, m_vecHfBitCountsTemplate, m_vecHfRingEtSumsTemplate, m_vecJetCountsTemplate, m_vecMuonTemplate, and trackerHitRTTI::vector.

Referenced by L1GtTriggerMenu().

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

◆ corCaloTemplate()

const std::vector<std::vector<L1GtCaloTemplate> >& L1GtTriggerMenu::corCaloTemplate ( ) const
inline

Definition at line 174 of file L1GtTriggerMenu.h.

References m_corCaloTemplate.

174 { return m_corCaloTemplate; }
std::vector< std::vector< L1GtCaloTemplate > > m_corCaloTemplate

◆ corEnergySumTemplate()

const std::vector<std::vector<L1GtEnergySumTemplate> >& L1GtTriggerMenu::corEnergySumTemplate ( ) const
inline

Definition at line 180 of file L1GtTriggerMenu.h.

References m_corEnergySumTemplate.

180  {
181  return m_corEnergySumTemplate;
182  }
std::vector< std::vector< L1GtEnergySumTemplate > > m_corEnergySumTemplate

◆ corMuonTemplate()

const std::vector<std::vector<L1GtMuonTemplate> >& L1GtTriggerMenu::corMuonTemplate ( ) const
inline

Definition at line 169 of file L1GtTriggerMenu.h.

References m_corMuonTemplate.

169 { return m_corMuonTemplate; }
std::vector< std::vector< L1GtMuonTemplate > > m_corMuonTemplate

◆ gtAlgorithmAliasMap()

const AlgorithmMap& L1GtTriggerMenu::gtAlgorithmAliasMap ( ) const
inline

get / set the algorithm map (by alias)

Definition at line 192 of file L1GtTriggerMenu.h.

References m_algorithmAliasMap.

Referenced by L1GtTriggerMenuLiteProducer::retrieveL1EventSetup(), L1GtTriggerMenuTester::retrieveL1EventSetup(), and L1GtUtils::retrieveL1EventSetup().

192 { return m_algorithmAliasMap; }
AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)

◆ gtAlgorithmMap()

const AlgorithmMap& L1GtTriggerMenu::gtAlgorithmMap ( ) const
inline

◆ gtAlgorithmResult()

const bool L1GtTriggerMenu::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 629 of file L1GtTriggerMenu.cc.

References L1TBPTX_cfi::bitNumber, and m_algorithmMap.

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

◆ gtConditionMap()

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

get / set / build the condition maps

Definition at line 80 of file L1GtTriggerMenu.h.

References m_conditionMap.

Referenced by L1GtVhdlWriter::analyze(), L1GtHwValidation::excludedAlgoList(), and HLTLevel1GTSeed::objectTypeVec().

80 { return m_conditionMap; }
std::vector< ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient

◆ gtScaleDbKey()

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

menu associated scale key

Definition at line 101 of file L1GtTriggerMenu.h.

References m_scaleDbKey.

Referenced by L1GtTriggerMenuLiteProducer::beginRunProduce().

101 { return m_scaleDbKey; }
std::string m_scaleDbKey
menu associated scale key

◆ gtTechnicalTriggerMap()

const AlgorithmMap& L1GtTriggerMenu::gtTechnicalTriggerMap ( ) const
inline

get / set the technical trigger map

Definition at line 197 of file L1GtTriggerMenu.h.

References m_technicalTriggerMap.

Referenced by L1GtTrigReport::analyze(), GenericTriggerEventFlag::initRun(), L1GtTriggerMenuLiteProducer::retrieveL1EventSetup(), L1GtTriggerMenuTester::retrieveL1EventSetup(), and L1GtUtils::retrieveL1EventSetup().

197 { return m_technicalTriggerMap; }
AlgorithmMap m_technicalTriggerMap
map containing the technical triggers

◆ gtTriggerMenuImplementation()

const std::string& L1GtTriggerMenu::gtTriggerMenuImplementation ( ) const
inline

◆ gtTriggerMenuInterface()

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

get / set the trigger menu names

Definition at line 86 of file L1GtTriggerMenu.h.

References m_triggerMenuInterface.

Referenced by L1GtTriggerMenuLiteProducer::beginRunProduce().

86 { return m_triggerMenuInterface; }
std::string m_triggerMenuInterface
menu names

◆ gtTriggerMenuName()

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

◆ operator=()

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

Definition at line 127 of file L1GtTriggerMenu.cc.

References m_algorithmAliasMap, m_algorithmMap, m_conditionMap, m_corCaloTemplate, m_corEnergySumTemplate, m_corMuonTemplate, m_technicalTriggerMap, m_triggerMenuImplementation, m_triggerMenuInterface, m_triggerMenuName, m_vecBptxTemplate, m_vecCaloTemplate, m_vecCastorTemplate, m_vecCorrelationTemplate, m_vecEnergySumTemplate, m_vecExternalTemplate, m_vecHfBitCountsTemplate, m_vecHfRingEtSumsTemplate, m_vecJetCountsTemplate, and m_vecMuonTemplate.

127  {
128  if (this != &rhs) {
132 
142 
147 
150 
152  }
153 
154  // rebuild condition map to update the pointers
155  // (only physics conditions are included in it)
156  m_conditionMap.resize(rhs.m_conditionMap.size());
157  (*this).buildGtConditionMap();
158 
159  // return the object
160  return *this;
161 }
std::vector< std::vector< L1GtBptxTemplate > > m_vecBptxTemplate
AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
std::vector< std::vector< L1GtCaloTemplate > > m_vecCaloTemplate
std::vector< std::vector< L1GtMuonTemplate > > m_vecMuonTemplate
std::vector< std::vector< L1GtHfBitCountsTemplate > > m_vecHfBitCountsTemplate
std::vector< std::vector< L1GtMuonTemplate > > m_corMuonTemplate
std::vector< ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
std::vector< std::vector< L1GtJetCountsTemplate > > m_vecJetCountsTemplate
std::vector< std::vector< L1GtCastorTemplate > > m_vecCastorTemplate
std::string m_triggerMenuName
std::vector< std::vector< L1GtCaloTemplate > > m_corCaloTemplate
std::vector< std::vector< L1GtEnergySumTemplate > > m_vecEnergySumTemplate
std::vector< std::vector< L1GtExternalTemplate > > m_vecExternalTemplate
std::vector< std::vector< L1GtHfRingEtSumsTemplate > > m_vecHfRingEtSumsTemplate
std::vector< std::vector< L1GtEnergySumTemplate > > m_corEnergySumTemplate
AlgorithmMap m_technicalTriggerMap
map containing the technical triggers
std::vector< std::vector< L1GtCorrelationTemplate > > m_vecCorrelationTemplate
std::string m_triggerMenuImplementation
AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
std::string m_triggerMenuInterface
menu names

◆ print()

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

print the trigger menu allow various verbosity levels

Definition at line 454 of file L1GtTriggerMenu.cc.

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

Referenced by L1GtVhdlWriter::analyze(), L1TConfigDumper::analyze(), and L1GtTriggerMenuTester::beginRun().

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

◆ serialize()

template<class Archive >
void L1GtTriggerMenu::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ setCorCaloTemplate()

void L1GtTriggerMenu::setCorCaloTemplate ( const std::vector< std::vector< L1GtCaloTemplate > > &  corCaloTempl)

Definition at line 435 of file L1GtTriggerMenu.cc.

References m_corCaloTemplate.

435  {
436  m_corCaloTemplate = corCaloTempl;
437 }
std::vector< std::vector< L1GtCaloTemplate > > m_corCaloTemplate

◆ setCorEnergySumTemplate()

void L1GtTriggerMenu::setCorEnergySumTemplate ( const std::vector< std::vector< L1GtEnergySumTemplate > > &  corEnergySumTempl)

Definition at line 439 of file L1GtTriggerMenu.cc.

References m_corEnergySumTemplate.

440  {
441  m_corEnergySumTemplate = corEnergySumTempl;
442 }
std::vector< std::vector< L1GtEnergySumTemplate > > m_corEnergySumTemplate

◆ setCorMuonTemplate()

void L1GtTriggerMenu::setCorMuonTemplate ( const std::vector< std::vector< L1GtMuonTemplate > > &  corMuonTempl)

Definition at line 431 of file L1GtTriggerMenu.cc.

References m_corMuonTemplate.

431  {
432  m_corMuonTemplate = corMuonTempl;
433 }
std::vector< std::vector< L1GtMuonTemplate > > m_corMuonTemplate

◆ setGtAlgorithmAliasMap()

void L1GtTriggerMenu::setGtAlgorithmAliasMap ( const AlgorithmMap algoMap)

Definition at line 448 of file L1GtTriggerMenu.cc.

References m_algorithmAliasMap.

448 { m_algorithmAliasMap = algoMap; }
AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)

◆ setGtAlgorithmMap()

void L1GtTriggerMenu::setGtAlgorithmMap ( const AlgorithmMap algoMap)

Definition at line 445 of file L1GtTriggerMenu.cc.

References m_algorithmMap.

445 { m_algorithmMap = algoMap; }
AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)

◆ setGtConditionMap()

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

Definition at line 164 of file L1GtTriggerMenu.cc.

References m_conditionMap.

164 { m_conditionMap = condMap; }
std::vector< ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient

◆ setGtScaleDbKey()

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

Definition at line 382 of file L1GtTriggerMenu.cc.

References m_scaleDbKey.

382 { m_scaleDbKey = scaleKey; }
std::string m_scaleDbKey
menu associated scale key

◆ setGtTechnicalTriggerMap()

void L1GtTriggerMenu::setGtTechnicalTriggerMap ( const AlgorithmMap ttMap)

Definition at line 451 of file L1GtTriggerMenu.cc.

References m_technicalTriggerMap.

451 { m_technicalTriggerMap = ttMap; }
AlgorithmMap m_technicalTriggerMap
map containing the technical triggers

◆ setGtTriggerMenuImplementation()

void L1GtTriggerMenu::setGtTriggerMenuImplementation ( const std::string &  menuImplementation)

Definition at line 377 of file L1GtTriggerMenu.cc.

References m_triggerMenuImplementation.

377  {
378  m_triggerMenuImplementation = menuImplementation;
379 }
std::string m_triggerMenuImplementation

◆ setGtTriggerMenuInterface()

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

Definition at line 371 of file L1GtTriggerMenu.cc.

References m_triggerMenuInterface.

371  {
372  m_triggerMenuInterface = menuInterface;
373 }
std::string m_triggerMenuInterface
menu names

◆ setGtTriggerMenuName()

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

Definition at line 375 of file L1GtTriggerMenu.cc.

References m_triggerMenuName.

375 { m_triggerMenuName = menuName; }
std::string m_triggerMenuName

◆ setVecBptxTemplate()

void L1GtTriggerMenu::setVecBptxTemplate ( const std::vector< std::vector< L1GtBptxTemplate > > &  vecBptxTempl)

Definition at line 417 of file L1GtTriggerMenu.cc.

References m_vecBptxTemplate.

417  {
418  m_vecBptxTemplate = vecBptxTempl;
419 }
std::vector< std::vector< L1GtBptxTemplate > > m_vecBptxTemplate

◆ setVecCaloTemplate()

void L1GtTriggerMenu::setVecCaloTemplate ( const std::vector< std::vector< L1GtCaloTemplate > > &  vecCaloTempl)

Definition at line 389 of file L1GtTriggerMenu.cc.

References m_vecCaloTemplate.

389  {
390  m_vecCaloTemplate = vecCaloTempl;
391 }
std::vector< std::vector< L1GtCaloTemplate > > m_vecCaloTemplate

◆ setVecCastorTemplate()

void L1GtTriggerMenu::setVecCastorTemplate ( const std::vector< std::vector< L1GtCastorTemplate > > &  vecCastorTempl)

Definition at line 403 of file L1GtTriggerMenu.cc.

References m_vecCastorTemplate.

403  {
404  m_vecCastorTemplate = vecCastorTempl;
405 }
std::vector< std::vector< L1GtCastorTemplate > > m_vecCastorTemplate

◆ setVecCorrelationTemplate()

void L1GtTriggerMenu::setVecCorrelationTemplate ( const std::vector< std::vector< L1GtCorrelationTemplate > > &  vecCorrelationTempl)

Definition at line 425 of file L1GtTriggerMenu.cc.

References m_vecCorrelationTemplate.

426  {
427  m_vecCorrelationTemplate = vecCorrelationTempl;
428 }
std::vector< std::vector< L1GtCorrelationTemplate > > m_vecCorrelationTemplate

◆ setVecEnergySumTemplate()

void L1GtTriggerMenu::setVecEnergySumTemplate ( const std::vector< std::vector< L1GtEnergySumTemplate > > &  vecEnergySumTempl)

Definition at line 393 of file L1GtTriggerMenu.cc.

References m_vecEnergySumTemplate.

394  {
395  m_vecEnergySumTemplate = vecEnergySumTempl;
396 }
std::vector< std::vector< L1GtEnergySumTemplate > > m_vecEnergySumTemplate

◆ setVecExternalTemplate()

void L1GtTriggerMenu::setVecExternalTemplate ( const std::vector< std::vector< L1GtExternalTemplate > > &  vecExternalTempl)

Definition at line 421 of file L1GtTriggerMenu.cc.

References m_vecExternalTemplate.

421  {
422  m_vecExternalTemplate = vecExternalTempl;
423 }
std::vector< std::vector< L1GtExternalTemplate > > m_vecExternalTemplate

◆ setVecHfBitCountsTemplate()

void L1GtTriggerMenu::setVecHfBitCountsTemplate ( const std::vector< std::vector< L1GtHfBitCountsTemplate > > &  vecHfBitCountsTempl)

Definition at line 407 of file L1GtTriggerMenu.cc.

References m_vecHfBitCountsTemplate.

408  {
409  m_vecHfBitCountsTemplate = vecHfBitCountsTempl;
410 }
std::vector< std::vector< L1GtHfBitCountsTemplate > > m_vecHfBitCountsTemplate

◆ setVecHfRingEtSumsTemplate()

void L1GtTriggerMenu::setVecHfRingEtSumsTemplate ( const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > &  vecHfRingEtSumsTempl)

Definition at line 412 of file L1GtTriggerMenu.cc.

References m_vecHfRingEtSumsTemplate.

413  {
414  m_vecHfRingEtSumsTemplate = vecHfRingEtSumsTempl;
415 }
std::vector< std::vector< L1GtHfRingEtSumsTemplate > > m_vecHfRingEtSumsTemplate

◆ setVecJetCountsTemplate()

void L1GtTriggerMenu::setVecJetCountsTemplate ( const std::vector< std::vector< L1GtJetCountsTemplate > > &  vecJetCountsTempl)

Definition at line 398 of file L1GtTriggerMenu.cc.

References m_vecJetCountsTemplate.

399  {
400  m_vecJetCountsTemplate = vecJetCountsTempl;
401 }
std::vector< std::vector< L1GtJetCountsTemplate > > m_vecJetCountsTemplate

◆ setVecMuonTemplate()

void L1GtTriggerMenu::setVecMuonTemplate ( const std::vector< std::vector< L1GtMuonTemplate > > &  vecMuonTempl)

Definition at line 385 of file L1GtTriggerMenu.cc.

References m_vecMuonTemplate.

385  {
386  m_vecMuonTemplate = vecMuonTempl;
387 }
std::vector< std::vector< L1GtMuonTemplate > > m_vecMuonTemplate

◆ vecBptxTemplate()

const std::vector<std::vector<L1GtBptxTemplate> >& L1GtTriggerMenu::vecBptxTemplate ( ) const
inline

Definition at line 149 of file L1GtTriggerMenu.h.

References m_vecBptxTemplate.

149 { return m_vecBptxTemplate; }
std::vector< std::vector< L1GtBptxTemplate > > m_vecBptxTemplate

◆ vecCaloTemplate()

const std::vector<std::vector<L1GtCaloTemplate> >& L1GtTriggerMenu::vecCaloTemplate ( ) const
inline

Definition at line 111 of file L1GtTriggerMenu.h.

References m_vecCaloTemplate.

111 { return m_vecCaloTemplate; }
std::vector< std::vector< L1GtCaloTemplate > > m_vecCaloTemplate

◆ vecCastorTemplate()

const std::vector<std::vector<L1GtCastorTemplate> >& L1GtTriggerMenu::vecCastorTemplate ( ) const
inline

Definition at line 130 of file L1GtTriggerMenu.h.

References m_vecCastorTemplate.

130 { return m_vecCastorTemplate; }
std::vector< std::vector< L1GtCastorTemplate > > m_vecCastorTemplate

◆ vecCorrelationTemplate()

const std::vector<std::vector<L1GtCorrelationTemplate> >& L1GtTriggerMenu::vecCorrelationTemplate ( ) const
inline

Definition at line 162 of file L1GtTriggerMenu.h.

References m_vecCorrelationTemplate.

162  {
164  }
std::vector< std::vector< L1GtCorrelationTemplate > > m_vecCorrelationTemplate

◆ vecEnergySumTemplate()

const std::vector<std::vector<L1GtEnergySumTemplate> >& L1GtTriggerMenu::vecEnergySumTemplate ( ) const
inline

Definition at line 116 of file L1GtTriggerMenu.h.

References m_vecEnergySumTemplate.

116  {
117  return m_vecEnergySumTemplate;
118  }
std::vector< std::vector< L1GtEnergySumTemplate > > m_vecEnergySumTemplate

◆ vecExternalTemplate()

const std::vector<std::vector<L1GtExternalTemplate> >& L1GtTriggerMenu::vecExternalTemplate ( ) const
inline

Definition at line 155 of file L1GtTriggerMenu.h.

References m_vecExternalTemplate.

155  {
156  return m_vecExternalTemplate;
157  }
std::vector< std::vector< L1GtExternalTemplate > > m_vecExternalTemplate

◆ vecHfBitCountsTemplate()

const std::vector<std::vector<L1GtHfBitCountsTemplate> >& L1GtTriggerMenu::vecHfBitCountsTemplate ( ) const
inline

Definition at line 135 of file L1GtTriggerMenu.h.

References m_vecHfBitCountsTemplate.

135  {
137  }
std::vector< std::vector< L1GtHfBitCountsTemplate > > m_vecHfBitCountsTemplate

◆ vecHfRingEtSumsTemplate()

const std::vector<std::vector<L1GtHfRingEtSumsTemplate> >& L1GtTriggerMenu::vecHfRingEtSumsTemplate ( ) const
inline

Definition at line 142 of file L1GtTriggerMenu.h.

References m_vecHfRingEtSumsTemplate.

142  {
144  }
std::vector< std::vector< L1GtHfRingEtSumsTemplate > > m_vecHfRingEtSumsTemplate

◆ vecJetCountsTemplate()

const std::vector<std::vector<L1GtJetCountsTemplate> >& L1GtTriggerMenu::vecJetCountsTemplate ( ) const
inline

Definition at line 123 of file L1GtTriggerMenu.h.

References m_vecJetCountsTemplate.

123  {
124  return m_vecJetCountsTemplate;
125  }
std::vector< std::vector< L1GtJetCountsTemplate > > m_vecJetCountsTemplate

◆ vecMuonTemplate()

const std::vector<std::vector<L1GtMuonTemplate> >& L1GtTriggerMenu::vecMuonTemplate ( ) const
inline

get / set the vectors containing the conditions

Definition at line 106 of file L1GtTriggerMenu.h.

References m_vecMuonTemplate.

106 { return m_vecMuonTemplate; }
std::vector< std::vector< L1GtMuonTemplate > > m_vecMuonTemplate

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 249 of file L1GtTriggerMenu.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 249 of file L1GtTriggerMenu.h.

Member Data Documentation

◆ m_algorithmAliasMap

AlgorithmMap L1GtTriggerMenu::m_algorithmAliasMap
private

map containing the physics algorithms (by alias)

Definition at line 244 of file L1GtTriggerMenu.h.

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

◆ m_algorithmMap

AlgorithmMap L1GtTriggerMenu::m_algorithmMap
private

map containing the physics algorithms (by name)

Definition at line 241 of file L1GtTriggerMenu.h.

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

◆ m_conditionMap

std::vector<ConditionMap> L1GtTriggerMenu::m_conditionMap
private

map containing the conditions (per condition chip) - transient

Definition at line 212 of file L1GtTriggerMenu.h.

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

◆ m_corCaloTemplate

std::vector<std::vector<L1GtCaloTemplate> > L1GtTriggerMenu::m_corCaloTemplate
private

Definition at line 237 of file L1GtTriggerMenu.h.

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

◆ m_corEnergySumTemplate

std::vector<std::vector<L1GtEnergySumTemplate> > L1GtTriggerMenu::m_corEnergySumTemplate
private

◆ m_corMuonTemplate

std::vector<std::vector<L1GtMuonTemplate> > L1GtTriggerMenu::m_corMuonTemplate
private

Definition at line 236 of file L1GtTriggerMenu.h.

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

◆ m_scaleDbKey

std::string L1GtTriggerMenu::m_scaleDbKey
private

menu associated scale key

Definition at line 221 of file L1GtTriggerMenu.h.

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

◆ m_technicalTriggerMap

AlgorithmMap L1GtTriggerMenu::m_technicalTriggerMap
private

map containing the technical triggers

Definition at line 247 of file L1GtTriggerMenu.h.

Referenced by gtTechnicalTriggerMap(), L1GtTriggerMenu(), operator=(), print(), and setGtTechnicalTriggerMap().

◆ m_triggerMenuImplementation

std::string L1GtTriggerMenu::m_triggerMenuImplementation
private

◆ m_triggerMenuInterface

std::string L1GtTriggerMenu::m_triggerMenuInterface
private

◆ m_triggerMenuName

std::string L1GtTriggerMenu::m_triggerMenuName
private

◆ m_vecBptxTemplate

std::vector<std::vector<L1GtBptxTemplate> > L1GtTriggerMenu::m_vecBptxTemplate
private

◆ m_vecCaloTemplate

std::vector<std::vector<L1GtCaloTemplate> > L1GtTriggerMenu::m_vecCaloTemplate
private

◆ m_vecCastorTemplate

std::vector<std::vector<L1GtCastorTemplate> > L1GtTriggerMenu::m_vecCastorTemplate
private

◆ m_vecCorrelationTemplate

std::vector<std::vector<L1GtCorrelationTemplate> > L1GtTriggerMenu::m_vecCorrelationTemplate
private

◆ m_vecEnergySumTemplate

std::vector<std::vector<L1GtEnergySumTemplate> > L1GtTriggerMenu::m_vecEnergySumTemplate
private

◆ m_vecExternalTemplate

std::vector<std::vector<L1GtExternalTemplate> > L1GtTriggerMenu::m_vecExternalTemplate
private

◆ m_vecHfBitCountsTemplate

std::vector<std::vector<L1GtHfBitCountsTemplate> > L1GtTriggerMenu::m_vecHfBitCountsTemplate
private

◆ m_vecHfRingEtSumsTemplate

std::vector<std::vector<L1GtHfRingEtSumsTemplate> > L1GtTriggerMenu::m_vecHfRingEtSumsTemplate
private

◆ m_vecJetCountsTemplate

std::vector<std::vector<L1GtJetCountsTemplate> > L1GtTriggerMenu::m_vecJetCountsTemplate
private

◆ m_vecMuonTemplate

std::vector<std::vector<L1GtMuonTemplate> > L1GtTriggerMenu::m_vecMuonTemplate
private

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

Definition at line 225 of file L1GtTriggerMenu.h.

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