CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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::L1GtTriggerMenu ( )

Definition at line 32 of file L1GtTriggerMenu.cc.

33  : m_triggerMenuInterface( "NULL" ),
34  m_triggerMenuName( "NULL" ),
36  m_scaleDbKey( "NULL" )
37 {
38  // empty
39 }
std::string m_scaleDbKey
menu associated scale key
std::string m_triggerMenuName
std::string m_triggerMenuImplementation
std::string m_triggerMenuInterface
menu names
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 41 of file L1GtTriggerMenu.cc.

References buildGtConditionMap(), and m_conditionMap.

58  :
59  m_triggerMenuInterface( "NULL" ),
60  m_triggerMenuName(triggerMenuNameVal),
62  m_scaleDbKey( "NULL" ),
63  m_vecMuonTemplate(vecMuonTemplateVal),
64  m_vecCaloTemplate(vecCaloTemplateVal),
65  m_vecEnergySumTemplate(vecEnergySumTemplateVal),
66  m_vecJetCountsTemplate(vecJetCountsTemplateVal),
67  m_vecCastorTemplate(vecCastorTemplateVal),
68  m_vecHfBitCountsTemplate(vecHfBitCountsTemplateVal),
69  m_vecHfRingEtSumsTemplate(vecHfRingEtSumsTemplateVal),
70  m_vecBptxTemplate(vecBptxTemplateVal),
71  m_vecExternalTemplate(vecExternalTemplateVal),
72  m_vecCorrelationTemplate(vecCorrelationTemplateVal),
73  m_corMuonTemplate(corMuonTemplateVal),
74  m_corCaloTemplate(corCaloTemplateVal),
75  m_corEnergySumTemplate(corEnergySumTemplateVal)
76 {
77 
78  m_conditionMap.resize(numberConditionChips);
80 
81 }
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::L1GtTriggerMenu ( const L1GtTriggerMenu rhs)

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

85 {
86 
91 
92  // copy physics conditions
102 
107 
108  // rebuild condition map to update the pointers
109  // (only physics conditions are included in it)
110  m_conditionMap.resize(rhs.m_conditionMap.size());
111  (*this).buildGtConditionMap();
112 
113  // copy algorithm map
116 
117  // copy technical triggers
118  // (separate map for technical triggers and physics triggers)
120 
121 }
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 ( )
virtual

Definition at line 124 of file L1GtTriggerMenu.cc.

References m_algorithmAliasMap, m_algorithmMap, and m_conditionMap.

125 {
126 
127  // loop over condition maps (one map per condition chip)
128  for (std::vector<ConditionMap>::iterator
129  itCondOnChip = m_conditionMap.begin(); itCondOnChip != m_conditionMap.end(); itCondOnChip++) {
130 
131  itCondOnChip->clear();
132 
133  }
134 
135  m_algorithmMap.clear();
136  m_algorithmAliasMap.clear();
137 }
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

void L1GtTriggerMenu::buildGtConditionMap ( )

Definition at line 186 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, and m_vecMuonTemplate.

Referenced by HLTLevel1GTSeed::hltFilter(), L1GtTriggerMenu(), pat::PATTriggerProducer::produce(), and triggerExpression::Data::setEvent().

186  {
187 
188  // clear the conditions from the maps, if any
189  for (std::vector<ConditionMap>::iterator itCondOnChip =
190  m_conditionMap.begin(); itCondOnChip != m_conditionMap.end(); itCondOnChip++) {
191 
192  itCondOnChip->clear();
193 
194  }
195 
196  // always check that the size of the condition map is greater than the size
197  // of the specific condition vector
198  size_t condMapSize = m_conditionMap.size();
199 
200  //
201  size_t vecMuonSize = m_vecMuonTemplate.size();
202  if (condMapSize < vecMuonSize) {
203  m_conditionMap.resize(vecMuonSize);
204  condMapSize = m_conditionMap.size();
205  }
206 
207  int chipNr = -1;
208 
209  for (std::vector<std::vector<L1GtMuonTemplate> >::iterator
210  itCondOnChip = m_vecMuonTemplate.begin();
211  itCondOnChip != m_vecMuonTemplate.end();
212  itCondOnChip++) {
213 
214  chipNr++;
215 
216  for (std::vector<L1GtMuonTemplate>::iterator
217  itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
218  itCond++) {
219 
220  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
221  }
222  }
223 
224  //
225  size_t vecCaloSize = m_vecCaloTemplate.size();
226  if (condMapSize < vecCaloSize) {
227  m_conditionMap.resize(vecCaloSize);
228  condMapSize = m_conditionMap.size();
229  }
230 
231  chipNr = -1;
232  for (std::vector<std::vector<L1GtCaloTemplate> >::iterator
233  itCondOnChip = m_vecCaloTemplate.begin();
234  itCondOnChip != m_vecCaloTemplate.end();
235  itCondOnChip++) {
236 
237  chipNr++;
238 
239  for (std::vector<L1GtCaloTemplate>::iterator
240  itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
241  itCond++) {
242 
243  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
244  }
245  }
246 
247  //
248  size_t vecEnergySumSize = m_vecEnergySumTemplate.size();
249  if (condMapSize < vecEnergySumSize) {
250  m_conditionMap.resize(vecEnergySumSize);
251  condMapSize = m_conditionMap.size();
252  }
253 
254  chipNr = -1;
255  for (std::vector<std::vector<L1GtEnergySumTemplate> >::iterator
256  itCondOnChip = m_vecEnergySumTemplate.begin();
257  itCondOnChip != m_vecEnergySumTemplate.end();
258  itCondOnChip++) {
259 
260  chipNr++;
261 
262  for (std::vector<L1GtEnergySumTemplate>::iterator
263  itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
264  itCond++) {
265 
266  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
267  }
268  }
269 
270  //
271  size_t vecJetCountsSize = m_vecJetCountsTemplate.size();
272  if (condMapSize < vecJetCountsSize) {
273  m_conditionMap.resize(vecJetCountsSize);
274  condMapSize = m_conditionMap.size();
275  }
276 
277  chipNr = -1;
278  for (std::vector<std::vector<L1GtJetCountsTemplate> >::iterator
279  itCondOnChip = m_vecJetCountsTemplate.begin();
280  itCondOnChip != m_vecJetCountsTemplate.end();
281  itCondOnChip++) {
282 
283  chipNr++;
284 
285  for (std::vector<L1GtJetCountsTemplate>::iterator
286  itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
287  itCond++) {
288 
289  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
290  }
291  }
292 
293 
294  //
295  size_t vecCastorSize = m_vecCastorTemplate.size();
296  if (condMapSize < vecCastorSize) {
297  m_conditionMap.resize(vecCastorSize);
298  condMapSize = m_conditionMap.size();
299  }
300 
301  chipNr = -1;
302  for (std::vector<std::vector<L1GtCastorTemplate> >::iterator
303  itCondOnChip = m_vecCastorTemplate.begin();
304  itCondOnChip != m_vecCastorTemplate.end();
305  itCondOnChip++) {
306 
307  chipNr++;
308 
309  for (std::vector<L1GtCastorTemplate>::iterator
310  itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
311  itCond++) {
312 
313  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
314  }
315  }
316 
317  //
318  size_t vecHfBitCountsSize = m_vecHfBitCountsTemplate.size();
319  if (condMapSize < vecHfBitCountsSize) {
320  m_conditionMap.resize(vecHfBitCountsSize);
321  condMapSize = m_conditionMap.size();
322  }
323 
324  chipNr = -1;
325  for (std::vector<std::vector<L1GtHfBitCountsTemplate> >::iterator
326  itCondOnChip = m_vecHfBitCountsTemplate.begin();
327  itCondOnChip != m_vecHfBitCountsTemplate.end();
328  itCondOnChip++) {
329 
330  chipNr++;
331 
332  for (std::vector<L1GtHfBitCountsTemplate>::iterator
333  itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
334  itCond++) {
335 
336  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
337  }
338  }
339 
340  //
341  size_t vecHfRingEtSumsSize = m_vecHfRingEtSumsTemplate.size();
342  if (condMapSize < vecHfRingEtSumsSize) {
343  m_conditionMap.resize(vecHfRingEtSumsSize);
344  condMapSize = m_conditionMap.size();
345  }
346 
347  chipNr = -1;
348  for (std::vector<std::vector<L1GtHfRingEtSumsTemplate> >::iterator
349  itCondOnChip = m_vecHfRingEtSumsTemplate.begin();
350  itCondOnChip != m_vecHfRingEtSumsTemplate.end();
351  itCondOnChip++) {
352 
353  chipNr++;
354 
355  for (std::vector<L1GtHfRingEtSumsTemplate>::iterator
356  itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
357  itCond++) {
358 
359  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
360  }
361  }
362 
363  //
364  size_t vecBptxSize = m_vecBptxTemplate.size();
365  if (condMapSize < vecBptxSize) {
366  m_conditionMap.resize(vecBptxSize);
367  condMapSize = m_conditionMap.size();
368  }
369 
370  chipNr = -1;
371  for (std::vector<std::vector<L1GtBptxTemplate> >::iterator
372  itCondOnChip = m_vecBptxTemplate.begin();
373  itCondOnChip != m_vecBptxTemplate.end();
374  itCondOnChip++) {
375 
376  chipNr++;
377 
378  for (std::vector<L1GtBptxTemplate>::iterator
379  itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
380  itCond++) {
381 
382  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
383  }
384  }
385 
386  //
387  size_t vecExternalSize = m_vecExternalTemplate.size();
388  if (condMapSize < vecExternalSize) {
389  m_conditionMap.resize(vecExternalSize);
390  condMapSize = m_conditionMap.size();
391  }
392 
393  chipNr = -1;
394  for (std::vector<std::vector<L1GtExternalTemplate> >::iterator
395  itCondOnChip = m_vecExternalTemplate.begin();
396  itCondOnChip != m_vecExternalTemplate.end();
397  itCondOnChip++) {
398 
399  chipNr++;
400 
401  for (std::vector<L1GtExternalTemplate>::iterator
402  itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
403  itCond++) {
404 
405  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
406  }
407  }
408 
409  //
410  size_t vecCorrelationSize = m_vecCorrelationTemplate.size();
411  if (condMapSize < vecCorrelationSize) {
412  m_conditionMap.resize(vecCorrelationSize);
413  condMapSize = m_conditionMap.size();
414  }
415 
416  chipNr = -1;
417  for (std::vector<std::vector<L1GtCorrelationTemplate> >::iterator
418  itCondOnChip = m_vecCorrelationTemplate.begin();
419  itCondOnChip != m_vecCorrelationTemplate.end();
420  itCondOnChip++) {
421 
422  chipNr++;
423 
424  for (std::vector<L1GtCorrelationTemplate>::iterator
425  itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
426  itCond++) {
427 
428  (m_conditionMap.at(chipNr))[itCond->condName()] = &(*itCond);
429  }
430  }
431 
432 
433 
434 
435 }
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
const std::vector<std::vector<L1GtCaloTemplate> >& L1GtTriggerMenu::corCaloTemplate ( ) const
inline

Definition at line 222 of file L1GtTriggerMenu.h.

References m_corCaloTemplate.

Referenced by L1GlobalTriggerGTL::run().

222  {
223  return m_corCaloTemplate;
224  }
std::vector< std::vector< L1GtCaloTemplate > > m_corCaloTemplate
const std::vector<std::vector<L1GtEnergySumTemplate> >& L1GtTriggerMenu::corEnergySumTemplate ( ) const
inline

Definition at line 231 of file L1GtTriggerMenu.h.

References m_corEnergySumTemplate.

Referenced by L1GlobalTriggerGTL::run().

231  {
232 
233  return m_corEnergySumTemplate;
234  }
std::vector< std::vector< L1GtEnergySumTemplate > > m_corEnergySumTemplate
const std::vector<std::vector<L1GtMuonTemplate> >& L1GtTriggerMenu::corMuonTemplate ( ) const
inline

Definition at line 215 of file L1GtTriggerMenu.h.

References m_corMuonTemplate.

Referenced by L1GlobalTriggerGTL::run().

215  {
216  return m_corMuonTemplate;
217  }
std::vector< std::vector< L1GtMuonTemplate > > m_corMuonTemplate
const AlgorithmMap& L1GtTriggerMenu::gtAlgorithmAliasMap ( ) const
inline
const AlgorithmMap& L1GtTriggerMenu::gtAlgorithmMap ( ) const
inline
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 760 of file L1GtTriggerMenu.cc.

References m_algorithmMap.

Referenced by EcalCosmicsHists::determineTriggers(), and L1Filter::filter().

761  {
762 
763  bool algResult = false;
764 
765  CItAlgo itAlgo = m_algorithmMap.find(algName);
766  if (itAlgo != m_algorithmMap.end()) {
767  int bitNumber = (itAlgo->second).algoBitNumber();
768  algResult = decWord.at(bitNumber);
769  return algResult;
770  }
771 
772  // return false if the algorithm name is not found in the menu
773  // TODO throw exception or LogInfo would be better - but the class is used in
774  // XDAQ Trigger Supervisor (outside CMSSW) hence no CMSSW dependence
775  // is allowed here...
776 
777  return false;
778 
779 }
AlgorithmMap::const_iterator CItAlgo
iterators through map containing the algorithms
AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
const std::vector<ConditionMap>& L1GtTriggerMenu::gtConditionMap ( ) const
inline

get / set / build the condition maps

Definition at line 84 of file L1GtTriggerMenu.h.

References m_conditionMap.

Referenced by L1GtHwValidation::excludedAlgoList(), HLTLevel1GTSeed::objectTypeVec(), L1GtTriggerMenuTester::printWiki(), pat::PATTriggerProducer::produce(), and L1GlobalTriggerGTL::run().

84  {
85  return m_conditionMap;
86  }
std::vector< ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
const std::string& L1GtTriggerMenu::gtScaleDbKey ( ) const
inline

menu associated scale key

Definition at line 113 of file L1GtTriggerMenu.h.

References m_scaleDbKey.

Referenced by L1GtTriggerMenuLiteProducer::beginRunProduce(), and L1GtTriggerMenuTester::printWiki().

113  {
114  return m_scaleDbKey;
115  }
std::string m_scaleDbKey
menu associated scale key
const AlgorithmMap& L1GtTriggerMenu::gtTechnicalTriggerMap ( ) const
inline
const std::string& L1GtTriggerMenu::gtTriggerMenuImplementation ( ) const
inline
const std::string& L1GtTriggerMenu::gtTriggerMenuInterface ( ) const
inline

get / set the trigger menu names

Definition at line 92 of file L1GtTriggerMenu.h.

References m_triggerMenuInterface.

Referenced by L1GtTriggerMenuLiteProducer::beginRunProduce(), and L1GtTriggerMenuTester::printWiki().

92  {
94  }
std::string m_triggerMenuInterface
menu names
const std::string& L1GtTriggerMenu::gtTriggerMenuName ( ) const
inline
L1GtTriggerMenu & L1GtTriggerMenu::operator= ( const L1GtTriggerMenu rhs)

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

140  {
141 
142  if ( this != &rhs ) {
143 
147 
157 
162 
165 
167 
168  }
169 
170  // rebuild condition map to update the pointers
171  // (only physics conditions are included in it)
172  m_conditionMap.resize(rhs.m_conditionMap.size());
173  (*this).buildGtConditionMap();
174 
175  // return the object
176  return *this;
177 
178 }
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
void L1GtTriggerMenu::print ( std::ostream &  myCout,
int &  printVerbosity 
) const

print the trigger menu allow various verbosity levels

Definition at line 553 of file L1GtTriggerMenu.cc.

References m_algorithmMap, m_conditionMap, m_scaleDbKey, m_technicalTriggerMap, m_triggerMenuImplementation, m_triggerMenuInterface, m_triggerMenuName, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by L1GtTriggerMenuTester::beginRun().

553  {
554 
555  // use another map <int, L1GtAlgorithm> to get the menu sorted after bit number
556  // both algorithm and bit numbers are unique
557  std::map<int, const L1GtAlgorithm*> algoBitToAlgo;
558  typedef std::map<int, const L1GtAlgorithm*>::const_iterator CItBit;
559 
560  for (CItAlgo itAlgo = m_algorithmMap.begin(); itAlgo != m_algorithmMap.end(); itAlgo++) {
561 
562  int bitNumber = (itAlgo->second).algoBitNumber();
563  algoBitToAlgo[bitNumber] = &(itAlgo->second);
564  }
565 
566  size_t nrDefinedAlgo = algoBitToAlgo.size();
567 
568  // idem for technical trigger map - only name and bit number are relevant for them
569  std::map<int, const L1GtAlgorithm*> ttBitToTt;
570 
571  for (CItAlgo itAlgo = m_technicalTriggerMap.begin(); itAlgo
572  != m_technicalTriggerMap.end(); itAlgo++) {
573 
574  int bitNumber = (itAlgo->second).algoBitNumber();
575  ttBitToTt[bitNumber] = &(itAlgo->second);
576  }
577 
578  size_t nrDefinedTechTrig = ttBitToTt.size();
579 
580  //
581 
582  switch (printVerbosity) {
583 
584  case 0: {
585 
586  // header for printing algorithms
587 
588  myCout << "\n ********** L1 Trigger Menu - printing ********** \n"
589  << "\nL1 Trigger Menu Interface: " << m_triggerMenuInterface
590  << "\nL1 Trigger Menu Name: " << m_triggerMenuName
591  << "\nL1 Trigger Menu Implementation: " << m_triggerMenuImplementation
592  << "\nAssociated Scale DB Key: " << m_scaleDbKey << "\n\n"
593  << "\nL1 Physics Algorithms: " << nrDefinedAlgo << " algorithms defined." << "\n\n"
594  << "Bit Number "
595  << std::right << std::setw(35) << "Algorithm Name" << " "
596  << std::right << std::setw(35) << "Algorithm Alias"
597  << std::endl;
598 
599  for (CItBit itBit = algoBitToAlgo.begin(); itBit != algoBitToAlgo.end(); itBit++) {
600 
601  int bitNumber = itBit->first;
602  std::string aName = (itBit->second)->algoName();
603  std::string aAlias = (itBit->second)->algoAlias();
604 
605  myCout << std::setw(6) << bitNumber << " "
606  << std::right << std::setw(35) << aName << " "
607  << std::right << std::setw(35) << aAlias
608  << std::endl;
609  }
610 
611  myCout
612  << "\nL1 Technical Triggers: " << nrDefinedTechTrig
613  << " technical triggers defined." << "\n\n" << std::endl;
614  if (nrDefinedTechTrig) {
615  myCout << "Bit Number " << " Technical trigger name " << std::endl;
616  }
617 
618  for (CItBit itBit = ttBitToTt.begin(); itBit != ttBitToTt.end(); itBit++) {
619 
620  int bitNumber = itBit->first;
621  std::string aName = (itBit->second)->algoName();
622  std::string aAlias = (itBit->second)->algoAlias();
623 
624  myCout << std::setw(6) << bitNumber << " "
625  << std::right << std::setw(35) << aName << " "
626  << std::right << std::setw(35) << aAlias
627  << std::endl;
628  }
629 
630  }
631  break;
632 
633  case 1: {
634 
635  // header for printing algorithms
636 
637  myCout << "\n ********** L1 Trigger Menu - printing ********** \n"
638  << "\nL1 Trigger Menu Interface: " << m_triggerMenuInterface
639  << "\nL1 Trigger Menu Name: " << m_triggerMenuName
640  << "\nL1 Trigger Menu Implementation: " << m_triggerMenuImplementation
641  << "\nAssociated Scale DB Key: " << m_scaleDbKey << "\n\n"
642  << "\nL1 Physics Algorithms: " << nrDefinedAlgo << " algorithms defined." << "\n\n"
643  << "Bit Number "
644  << std::right << std::setw(35) << "Algorithm Name" << " "
645  << std::right << std::setw(35) << "Algorithm Alias"
646  << "\n Logical Expression \n"
647  << std::endl;
648 
649  for (CItBit itBit = algoBitToAlgo.begin(); itBit != algoBitToAlgo.end(); itBit++) {
650 
651  int bitNumber = itBit->first;
652  std::string aName = (itBit->second)->algoName();
653  std::string aAlias = (itBit->second)->algoAlias();
654  std::string aLogicalExpression = (itBit->second)->algoLogicalExpression();
655 
656  myCout << std::setw(6) << bitNumber << " "
657  << std::right << std::setw(35) << aName << " "
658  << std::right << std::setw(35) << aAlias
659  << "\n Logical expression: " << aLogicalExpression << "\n"
660  << std::endl;
661  }
662 
663  myCout
664  << "\nL1 Technical Triggers: " << nrDefinedTechTrig
665  << " technical triggers defined." << "\n\n" << std::endl;
666  if (nrDefinedTechTrig) {
667  myCout << "Bit Number " << " Technical trigger name " << std::endl;
668  }
669 
670  for (CItBit itBit = ttBitToTt.begin(); itBit != ttBitToTt.end(); itBit++) {
671 
672  int bitNumber = itBit->first;
673  std::string aName = (itBit->second)->algoName();
674 
675  myCout << std::setw(6) << bitNumber << " " << aName << std::endl;
676  }
677  }
678  break;
679 
680  case 2: {
681 
682  // header for printing algorithms
683 
684  myCout << "\n ********** L1 Trigger Menu - printing ********** \n"
685  << "\nL1 Trigger Menu Interface: " << m_triggerMenuInterface
686  << "\nL1 Trigger Menu Name: " << m_triggerMenuName
687  << "\nL1 Trigger Menu Implementation: " << m_triggerMenuImplementation
688  << "\nAssociated Scale DB Key: " << m_scaleDbKey << "\n\n"
689  << "\nL1 Physics Algorithms: " << nrDefinedAlgo << " algorithms defined." << "\n\n"
690  << std::endl;
691 
692  for (CItBit itBit = algoBitToAlgo.begin(); itBit != algoBitToAlgo.end(); itBit++) {
693  (itBit->second)->print(myCout);
694  }
695 
696 
697  myCout << "\nNumber of condition chips: " << m_conditionMap.size() << "\n"
698  << std::endl;
699 
700  int chipNr = -1;
701  int totalNrConditions = 0;
702 
703  for (std::vector<ConditionMap>::const_iterator
704  itCondOnChip = m_conditionMap.begin();
705  itCondOnChip != m_conditionMap.end(); itCondOnChip++) {
706 
707  chipNr++;
708 
709  int condMapSize = itCondOnChip->size();
710  totalNrConditions += condMapSize;
711 
712  myCout << "\nTotal number of conditions on condition chip " << chipNr
713  << ": " << condMapSize
714  << " conditions.\n" << std::endl;
715 
716  for (CItCond itCond = itCondOnChip->begin(); itCond != itCondOnChip->end();
717  itCond++) {
718 
719  (itCond->second)->print(myCout);
720 
721  }
722 
723  }
724 
725  myCout << "\nTotal number of conditions on all condition chips: "
726  << totalNrConditions << "\n"
727  << std::endl;
728 
729  myCout
730  << "\nL1 Technical Triggers: " << nrDefinedTechTrig
731  << " technical triggers defined." << "\n\n" << std::endl;
732  if (nrDefinedTechTrig) {
733  myCout << "Bit Number " << " Technical trigger name " << std::endl;
734  }
735 
736  for (CItBit itBit = ttBitToTt.begin(); itBit != ttBitToTt.end(); itBit++) {
737 
738  int bitNumber = itBit->first;
739  std::string aName = (itBit->second)->algoName();
740 
741  myCout << std::setw(6) << bitNumber << " " << aName << std::endl;
742  }
743 
744 
745  }
746  break;
747 
748  default: {
749  myCout << "\n ********** L1 Trigger Menu - printing ********** \n\n"
750  << "Verbosity level: " << printVerbosity << " not implemented.\n\n"
751  << std::endl;
752  }
753  break;
754  }
755 
756 }
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
template<class Archive >
void L1GtTriggerMenu::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void L1GtTriggerMenu::setCorCaloTemplate ( const std::vector< std::vector< L1GtCaloTemplate > > &  corCaloTempl)

Definition at line 523 of file L1GtTriggerMenu.cc.

References m_corCaloTemplate.

524  {
525 
526  m_corCaloTemplate = corCaloTempl;
527 }
std::vector< std::vector< L1GtCaloTemplate > > m_corCaloTemplate
void L1GtTriggerMenu::setCorEnergySumTemplate ( const std::vector< std::vector< L1GtEnergySumTemplate > > &  corEnergySumTempl)

Definition at line 529 of file L1GtTriggerMenu.cc.

References m_corEnergySumTemplate.

530  {
531 
532  m_corEnergySumTemplate = corEnergySumTempl;
533 }
std::vector< std::vector< L1GtEnergySumTemplate > > m_corEnergySumTemplate
void L1GtTriggerMenu::setCorMuonTemplate ( const std::vector< std::vector< L1GtMuonTemplate > > &  corMuonTempl)

Definition at line 517 of file L1GtTriggerMenu.cc.

References m_corMuonTemplate.

518  {
519 
520  m_corMuonTemplate = corMuonTempl;
521 }
std::vector< std::vector< L1GtMuonTemplate > > m_corMuonTemplate
void L1GtTriggerMenu::setGtAlgorithmAliasMap ( const AlgorithmMap algoMap)

Definition at line 543 of file L1GtTriggerMenu.cc.

References m_algorithmAliasMap.

543  {
544  m_algorithmAliasMap = algoMap;
545 }
AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
void L1GtTriggerMenu::setGtAlgorithmMap ( const AlgorithmMap algoMap)

Definition at line 538 of file L1GtTriggerMenu.cc.

References m_algorithmMap.

538  {
539  m_algorithmMap = algoMap;
540 }
AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
void L1GtTriggerMenu::setGtConditionMap ( const std::vector< ConditionMap > &  condMap)

Definition at line 181 of file L1GtTriggerMenu.cc.

References m_conditionMap.

181  {
182  m_conditionMap = condMap;
183 }
std::vector< ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
void L1GtTriggerMenu::setGtScaleDbKey ( const std::string &  scaleKey)

Definition at line 451 of file L1GtTriggerMenu.cc.

References m_scaleDbKey.

451  {
452  m_scaleDbKey = scaleKey;
453 }
std::string m_scaleDbKey
menu associated scale key
void L1GtTriggerMenu::setGtTechnicalTriggerMap ( const AlgorithmMap ttMap)

Definition at line 548 of file L1GtTriggerMenu.cc.

References m_technicalTriggerMap.

548  {
549  m_technicalTriggerMap = ttMap;
550 }
AlgorithmMap m_technicalTriggerMap
map containing the technical triggers
void L1GtTriggerMenu::setGtTriggerMenuImplementation ( const std::string &  menuImplementation)

Definition at line 446 of file L1GtTriggerMenu.cc.

References m_triggerMenuImplementation.

446  {
447  m_triggerMenuImplementation = menuImplementation;
448 }
std::string m_triggerMenuImplementation
void L1GtTriggerMenu::setGtTriggerMenuInterface ( const std::string &  menuInterface)

Definition at line 438 of file L1GtTriggerMenu.cc.

References m_triggerMenuInterface.

438  {
439  m_triggerMenuInterface = menuInterface;
440 }
std::string m_triggerMenuInterface
menu names
void L1GtTriggerMenu::setGtTriggerMenuName ( const std::string &  menuName)

Definition at line 442 of file L1GtTriggerMenu.cc.

References m_triggerMenuName.

442  {
443  m_triggerMenuName = menuName;
444 }
std::string m_triggerMenuName
void L1GtTriggerMenu::setVecBptxTemplate ( const std::vector< std::vector< L1GtBptxTemplate > > &  vecBptxTempl)

Definition at line 498 of file L1GtTriggerMenu.cc.

References m_vecBptxTemplate.

499  {
500 
501  m_vecBptxTemplate = vecBptxTempl;
502 }
std::vector< std::vector< L1GtBptxTemplate > > m_vecBptxTemplate
void L1GtTriggerMenu::setVecCaloTemplate ( const std::vector< std::vector< L1GtCaloTemplate > > &  vecCaloTempl)

Definition at line 462 of file L1GtTriggerMenu.cc.

References m_vecCaloTemplate.

463  {
464 
465  m_vecCaloTemplate = vecCaloTempl;
466 }
std::vector< std::vector< L1GtCaloTemplate > > m_vecCaloTemplate
void L1GtTriggerMenu::setVecCastorTemplate ( const std::vector< std::vector< L1GtCastorTemplate > > &  vecCastorTempl)

Definition at line 480 of file L1GtTriggerMenu.cc.

References m_vecCastorTemplate.

481  {
482 
483  m_vecCastorTemplate = vecCastorTempl;
484 }
std::vector< std::vector< L1GtCastorTemplate > > m_vecCastorTemplate
void L1GtTriggerMenu::setVecCorrelationTemplate ( const std::vector< std::vector< L1GtCorrelationTemplate > > &  vecCorrelationTempl)

Definition at line 510 of file L1GtTriggerMenu.cc.

References m_vecCorrelationTemplate.

511  {
512 
513  m_vecCorrelationTemplate = vecCorrelationTempl;
514 }
std::vector< std::vector< L1GtCorrelationTemplate > > m_vecCorrelationTemplate
void L1GtTriggerMenu::setVecEnergySumTemplate ( const std::vector< std::vector< L1GtEnergySumTemplate > > &  vecEnergySumTempl)

Definition at line 468 of file L1GtTriggerMenu.cc.

References m_vecEnergySumTemplate.

469  {
470 
471  m_vecEnergySumTemplate = vecEnergySumTempl;
472 }
std::vector< std::vector< L1GtEnergySumTemplate > > m_vecEnergySumTemplate
void L1GtTriggerMenu::setVecExternalTemplate ( const std::vector< std::vector< L1GtExternalTemplate > > &  vecExternalTempl)

Definition at line 504 of file L1GtTriggerMenu.cc.

References m_vecExternalTemplate.

505  {
506 
507  m_vecExternalTemplate = vecExternalTempl;
508 }
std::vector< std::vector< L1GtExternalTemplate > > m_vecExternalTemplate
void L1GtTriggerMenu::setVecHfBitCountsTemplate ( const std::vector< std::vector< L1GtHfBitCountsTemplate > > &  vecHfBitCountsTempl)

Definition at line 486 of file L1GtTriggerMenu.cc.

References m_vecHfBitCountsTemplate.

487  {
488 
489  m_vecHfBitCountsTemplate = vecHfBitCountsTempl;
490 }
std::vector< std::vector< L1GtHfBitCountsTemplate > > m_vecHfBitCountsTemplate
void L1GtTriggerMenu::setVecHfRingEtSumsTemplate ( const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > &  vecHfRingEtSumsTempl)

Definition at line 492 of file L1GtTriggerMenu.cc.

References m_vecHfRingEtSumsTemplate.

493  {
494 
495  m_vecHfRingEtSumsTemplate = vecHfRingEtSumsTempl;
496 }
std::vector< std::vector< L1GtHfRingEtSumsTemplate > > m_vecHfRingEtSumsTemplate
void L1GtTriggerMenu::setVecJetCountsTemplate ( const std::vector< std::vector< L1GtJetCountsTemplate > > &  vecJetCountsTempl)

Definition at line 474 of file L1GtTriggerMenu.cc.

References m_vecJetCountsTemplate.

475  {
476 
477  m_vecJetCountsTemplate = vecJetCountsTempl;
478 }
std::vector< std::vector< L1GtJetCountsTemplate > > m_vecJetCountsTemplate
void L1GtTriggerMenu::setVecMuonTemplate ( const std::vector< std::vector< L1GtMuonTemplate > > &  vecMuonTempl)

Definition at line 456 of file L1GtTriggerMenu.cc.

References m_vecMuonTemplate.

457  {
458 
459  m_vecMuonTemplate = vecMuonTempl;
460 }
std::vector< std::vector< L1GtMuonTemplate > > m_vecMuonTemplate
const std::vector<std::vector<L1GtBptxTemplate> >& L1GtTriggerMenu::vecBptxTemplate ( ) const
inline

Definition at line 185 of file L1GtTriggerMenu.h.

References m_vecBptxTemplate.

185  {
186 
187  return m_vecBptxTemplate;
188  }
std::vector< std::vector< L1GtBptxTemplate > > m_vecBptxTemplate
const std::vector<std::vector<L1GtCaloTemplate> >& L1GtTriggerMenu::vecCaloTemplate ( ) const
inline

Definition at line 127 of file L1GtTriggerMenu.h.

References m_vecCaloTemplate.

127  {
128  return m_vecCaloTemplate;
129  }
std::vector< std::vector< L1GtCaloTemplate > > m_vecCaloTemplate
const std::vector<std::vector<L1GtCastorTemplate> >& L1GtTriggerMenu::vecCastorTemplate ( ) const
inline

Definition at line 155 of file L1GtTriggerMenu.h.

References m_vecCastorTemplate.

155  {
156 
157  return m_vecCastorTemplate;
158  }
std::vector< std::vector< L1GtCastorTemplate > > m_vecCastorTemplate
const std::vector<std::vector<L1GtCorrelationTemplate> >& L1GtTriggerMenu::vecCorrelationTemplate ( ) const
inline

Definition at line 206 of file L1GtTriggerMenu.h.

References m_vecCorrelationTemplate.

206  {
207 
209  }
std::vector< std::vector< L1GtCorrelationTemplate > > m_vecCorrelationTemplate
const std::vector<std::vector<L1GtEnergySumTemplate> >& L1GtTriggerMenu::vecEnergySumTemplate ( ) const
inline

Definition at line 135 of file L1GtTriggerMenu.h.

References m_vecEnergySumTemplate.

135  {
136 
137  return m_vecEnergySumTemplate;
138  }
std::vector< std::vector< L1GtEnergySumTemplate > > m_vecEnergySumTemplate
const std::vector<std::vector<L1GtExternalTemplate> >& L1GtTriggerMenu::vecExternalTemplate ( ) const
inline

Definition at line 196 of file L1GtTriggerMenu.h.

References m_vecExternalTemplate.

196  {
197 
198  return m_vecExternalTemplate;
199  }
std::vector< std::vector< L1GtExternalTemplate > > m_vecExternalTemplate
const std::vector<std::vector<L1GtHfBitCountsTemplate> >& L1GtTriggerMenu::vecHfBitCountsTemplate ( ) const
inline

Definition at line 165 of file L1GtTriggerMenu.h.

References m_vecHfBitCountsTemplate.

165  {
166 
168  }
std::vector< std::vector< L1GtHfBitCountsTemplate > > m_vecHfBitCountsTemplate
const std::vector<std::vector<L1GtHfRingEtSumsTemplate> >& L1GtTriggerMenu::vecHfRingEtSumsTemplate ( ) const
inline

Definition at line 175 of file L1GtTriggerMenu.h.

References m_vecHfRingEtSumsTemplate.

175  {
176 
178  }
std::vector< std::vector< L1GtHfRingEtSumsTemplate > > m_vecHfRingEtSumsTemplate
const std::vector<std::vector<L1GtJetCountsTemplate> >& L1GtTriggerMenu::vecJetCountsTemplate ( ) const
inline

Definition at line 145 of file L1GtTriggerMenu.h.

References m_vecJetCountsTemplate.

145  {
146 
147  return m_vecJetCountsTemplate;
148  }
std::vector< std::vector< L1GtJetCountsTemplate > > m_vecJetCountsTemplate
const std::vector<std::vector<L1GtMuonTemplate> >& L1GtTriggerMenu::vecMuonTemplate ( ) const
inline

get / set the vectors containing the conditions

Definition at line 120 of file L1GtTriggerMenu.h.

References m_vecMuonTemplate.

120  {
121  return m_vecMuonTemplate;
122  }
std::vector< std::vector< L1GtMuonTemplate > > m_vecMuonTemplate

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 315 of file L1GtTriggerMenu.h.

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

Definition at line 315 of file L1GtTriggerMenu.h.

Member Data Documentation

AlgorithmMap L1GtTriggerMenu::m_algorithmAliasMap
private

map containing the physics algorithms (by alias)

Definition at line 308 of file L1GtTriggerMenu.h.

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

AlgorithmMap L1GtTriggerMenu::m_algorithmMap
private

map containing the physics algorithms (by name)

Definition at line 305 of file L1GtTriggerMenu.h.

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

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

map containing the conditions (per condition chip) - transient

Definition at line 275 of file L1GtTriggerMenu.h.

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

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

Definition at line 301 of file L1GtTriggerMenu.h.

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

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

Definition at line 300 of file L1GtTriggerMenu.h.

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

std::string L1GtTriggerMenu::m_scaleDbKey
private

menu associated scale key

Definition at line 285 of file L1GtTriggerMenu.h.

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

AlgorithmMap L1GtTriggerMenu::m_technicalTriggerMap
private

map containing the technical triggers

Definition at line 311 of file L1GtTriggerMenu.h.

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

std::string L1GtTriggerMenu::m_triggerMenuImplementation
private
std::string L1GtTriggerMenu::m_triggerMenuInterface
private
std::string L1GtTriggerMenu::m_triggerMenuName
private
std::vector<std::vector<L1GtBptxTemplate> > L1GtTriggerMenu::m_vecBptxTemplate
private
std::vector<std::vector<L1GtCaloTemplate> > L1GtTriggerMenu::m_vecCaloTemplate
private
std::vector<std::vector<L1GtCastorTemplate> > L1GtTriggerMenu::m_vecCastorTemplate
private
std::vector<std::vector<L1GtCorrelationTemplate> > L1GtTriggerMenu::m_vecCorrelationTemplate
private
std::vector<std::vector<L1GtEnergySumTemplate> > L1GtTriggerMenu::m_vecEnergySumTemplate
private
std::vector<std::vector<L1GtExternalTemplate> > L1GtTriggerMenu::m_vecExternalTemplate
private
std::vector<std::vector<L1GtHfBitCountsTemplate> > L1GtTriggerMenu::m_vecHfBitCountsTemplate
private
std::vector<std::vector<L1GtHfRingEtSumsTemplate> > L1GtTriggerMenu::m_vecHfRingEtSumsTemplate
private
std::vector<std::vector<L1GtJetCountsTemplate> > L1GtTriggerMenu::m_vecJetCountsTemplate
private
std::vector<std::vector<L1GtMuonTemplate> > L1GtTriggerMenu::m_vecMuonTemplate
private

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

Definition at line 289 of file L1GtTriggerMenu.h.

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