CMS 3D CMS Logo

L1GtTriggerMenu.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtTriggerMenu_h
2 #define CondFormats_L1TObjects_L1GtTriggerMenu_h
3 
20 // system include files
22 
23 #include <string>
24 #include <vector>
25 #include <map>
26 
27 #include <iosfwd>
28 
29 // user include files
31 
42 
43 // forward declarations
44 class L1GtCondition;
45 class L1GtAlgorithm;
46 
47 // class declaration
49 public:
50  // constructor
52 
54  const unsigned int numberConditionChips,
55  const std::vector<std::vector<L1GtMuonTemplate> >&,
56  const std::vector<std::vector<L1GtCaloTemplate> >&,
57  const std::vector<std::vector<L1GtEnergySumTemplate> >&,
58  const std::vector<std::vector<L1GtJetCountsTemplate> >&,
59  const std::vector<std::vector<L1GtCastorTemplate> >&,
60  const std::vector<std::vector<L1GtHfBitCountsTemplate> >&,
61  const std::vector<std::vector<L1GtHfRingEtSumsTemplate> >&,
62  const std::vector<std::vector<L1GtBptxTemplate> >&,
63  const std::vector<std::vector<L1GtExternalTemplate> >&,
64  const std::vector<std::vector<L1GtCorrelationTemplate> >&,
65  const std::vector<std::vector<L1GtMuonTemplate> >&,
66  const std::vector<std::vector<L1GtCaloTemplate> >&,
67  const std::vector<std::vector<L1GtEnergySumTemplate> >&);
68 
69  // copy constructor
71 
72  // destructor
73  virtual ~L1GtTriggerMenu();
74 
75  // assignment operator
77 
78 public:
80  inline const std::vector<ConditionMap>& gtConditionMap() const { return m_conditionMap; }
81 
82  void setGtConditionMap(const std::vector<ConditionMap>&);
83  void buildGtConditionMap();
84 
86  inline const std::string& gtTriggerMenuInterface() const { return m_triggerMenuInterface; }
87 
89 
90  //
91  inline const std::string& gtTriggerMenuName() const { return m_triggerMenuName; }
92 
93  void setGtTriggerMenuName(const std::string&);
94 
95  //
97 
99 
101  inline const std::string& gtScaleDbKey() const { return m_scaleDbKey; }
102 
103  void setGtScaleDbKey(const std::string&);
104 
106  inline const std::vector<std::vector<L1GtMuonTemplate> >& vecMuonTemplate() const { return m_vecMuonTemplate; }
107 
108  void setVecMuonTemplate(const std::vector<std::vector<L1GtMuonTemplate> >&);
109 
110  //
111  inline const std::vector<std::vector<L1GtCaloTemplate> >& vecCaloTemplate() const { return m_vecCaloTemplate; }
112 
113  void setVecCaloTemplate(const std::vector<std::vector<L1GtCaloTemplate> >&);
114 
115  //
116  inline const std::vector<std::vector<L1GtEnergySumTemplate> >& vecEnergySumTemplate() const {
117  return m_vecEnergySumTemplate;
118  }
119 
120  void setVecEnergySumTemplate(const std::vector<std::vector<L1GtEnergySumTemplate> >&);
121 
122  //
123  inline const std::vector<std::vector<L1GtJetCountsTemplate> >& vecJetCountsTemplate() const {
124  return m_vecJetCountsTemplate;
125  }
126 
127  void setVecJetCountsTemplate(const std::vector<std::vector<L1GtJetCountsTemplate> >&);
128 
129  //
130  inline const std::vector<std::vector<L1GtCastorTemplate> >& vecCastorTemplate() const { return m_vecCastorTemplate; }
131 
132  void setVecCastorTemplate(const std::vector<std::vector<L1GtCastorTemplate> >&);
133 
134  //
135  inline const std::vector<std::vector<L1GtHfBitCountsTemplate> >& vecHfBitCountsTemplate() const {
137  }
138 
139  void setVecHfBitCountsTemplate(const std::vector<std::vector<L1GtHfBitCountsTemplate> >&);
140 
141  //
142  inline const std::vector<std::vector<L1GtHfRingEtSumsTemplate> >& vecHfRingEtSumsTemplate() const {
144  }
145 
146  void setVecHfRingEtSumsTemplate(const std::vector<std::vector<L1GtHfRingEtSumsTemplate> >&);
147 
148  //
149  inline const std::vector<std::vector<L1GtBptxTemplate> >& vecBptxTemplate() const { return m_vecBptxTemplate; }
150 
151  void setVecBptxTemplate(const std::vector<std::vector<L1GtBptxTemplate> >&);
152 
153  //
154 
155  inline const std::vector<std::vector<L1GtExternalTemplate> >& vecExternalTemplate() const {
156  return m_vecExternalTemplate;
157  }
158 
159  void setVecExternalTemplate(const std::vector<std::vector<L1GtExternalTemplate> >&);
160 
161  //
162  inline const std::vector<std::vector<L1GtCorrelationTemplate> >& vecCorrelationTemplate() const {
164  }
165 
166  void setVecCorrelationTemplate(const std::vector<std::vector<L1GtCorrelationTemplate> >&);
167 
168  //
169  inline const std::vector<std::vector<L1GtMuonTemplate> >& corMuonTemplate() const { return m_corMuonTemplate; }
170 
171  void setCorMuonTemplate(const std::vector<std::vector<L1GtMuonTemplate> >&);
172 
173  //
174  inline const std::vector<std::vector<L1GtCaloTemplate> >& corCaloTemplate() const { return m_corCaloTemplate; }
175 
176  void setCorCaloTemplate(const std::vector<std::vector<L1GtCaloTemplate> >&);
177 
178  // get / set the vectors containing the conditions for correlation templates
179  //
180  inline const std::vector<std::vector<L1GtEnergySumTemplate> >& corEnergySumTemplate() const {
181  return m_corEnergySumTemplate;
182  }
183 
184  void setCorEnergySumTemplate(const std::vector<std::vector<L1GtEnergySumTemplate> >&);
185 
187  inline const AlgorithmMap& gtAlgorithmMap() const { return m_algorithmMap; }
188 
189  void setGtAlgorithmMap(const AlgorithmMap&);
190 
192  inline const AlgorithmMap& gtAlgorithmAliasMap() const { return m_algorithmAliasMap; }
193 
195 
197  inline const AlgorithmMap& gtTechnicalTriggerMap() const { return m_technicalTriggerMap; }
198 
200 
203  void print(std::ostream&, int&) const;
204 
205 public:
208  const bool gtAlgorithmResult(const std::string& algName, const std::vector<bool>& decWord) const;
209 
210 private:
212  std::vector<ConditionMap> m_conditionMap COND_TRANSIENT;
213 
214 private:
219 
222 
225  std::vector<std::vector<L1GtMuonTemplate> > m_vecMuonTemplate;
226  std::vector<std::vector<L1GtCaloTemplate> > m_vecCaloTemplate;
227  std::vector<std::vector<L1GtEnergySumTemplate> > m_vecEnergySumTemplate;
228  std::vector<std::vector<L1GtJetCountsTemplate> > m_vecJetCountsTemplate;
229  std::vector<std::vector<L1GtCastorTemplate> > m_vecCastorTemplate;
230  std::vector<std::vector<L1GtHfBitCountsTemplate> > m_vecHfBitCountsTemplate;
231  std::vector<std::vector<L1GtHfRingEtSumsTemplate> > m_vecHfRingEtSumsTemplate;
232  std::vector<std::vector<L1GtBptxTemplate> > m_vecBptxTemplate;
233  std::vector<std::vector<L1GtExternalTemplate> > m_vecExternalTemplate;
234 
235  std::vector<std::vector<L1GtCorrelationTemplate> > m_vecCorrelationTemplate;
236  std::vector<std::vector<L1GtMuonTemplate> > m_corMuonTemplate;
237  std::vector<std::vector<L1GtCaloTemplate> > m_corCaloTemplate;
238  std::vector<std::vector<L1GtEnergySumTemplate> > m_corEnergySumTemplate;
239 
242 
245 
248 
250 };
251 
252 #endif /*CondFormats_L1TObjects_L1GtTriggerMenu_h*/
L1GtTriggerMenu::m_algorithmMap
AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: L1GtTriggerMenu.h:241
L1GtTriggerMenu::operator=
L1GtTriggerMenu & operator=(const L1GtTriggerMenu &)
Definition: L1GtTriggerMenu.cc:127
L1GtTriggerMenu::m_vecExternalTemplate
std::vector< std::vector< L1GtExternalTemplate > > m_vecExternalTemplate
Definition: L1GtTriggerMenu.h:233
L1GtCondition
Definition: L1GtCondition.h:35
L1GtTriggerMenu::m_vecMuonTemplate
std::vector< std::vector< L1GtMuonTemplate > > m_vecMuonTemplate
Definition: L1GtTriggerMenu.h:225
L1GtTriggerMenu::setVecMuonTemplate
void setVecMuonTemplate(const std::vector< std::vector< L1GtMuonTemplate > > &)
Definition: L1GtTriggerMenu.cc:385
L1GtTriggerMenu::gtTriggerMenuName
const std::string & gtTriggerMenuName() const
Definition: L1GtTriggerMenu.h:91
L1GtTriggerMenu::m_corMuonTemplate
std::vector< std::vector< L1GtMuonTemplate > > m_corMuonTemplate
Definition: L1GtTriggerMenu.h:236
L1GtTriggerMenu::m_triggerMenuInterface
std::string m_triggerMenuInterface
menu names
Definition: L1GtTriggerMenu.h:216
L1GtTriggerMenu::setCorCaloTemplate
void setCorCaloTemplate(const std::vector< std::vector< L1GtCaloTemplate > > &)
Definition: L1GtTriggerMenu.cc:435
L1GtTriggerMenu::m_vecBptxTemplate
std::vector< std::vector< L1GtBptxTemplate > > m_vecBptxTemplate
Definition: L1GtTriggerMenu.h:232
L1GtTriggerMenu::corMuonTemplate
const std::vector< std::vector< L1GtMuonTemplate > > & corMuonTemplate() const
Definition: L1GtTriggerMenu.h:169
L1GtTriggerMenu::m_vecCaloTemplate
std::vector< std::vector< L1GtCaloTemplate > > m_vecCaloTemplate
Definition: L1GtTriggerMenu.h:226
L1GtTriggerMenu::setGtScaleDbKey
void setGtScaleDbKey(const std::string &)
Definition: L1GtTriggerMenu.cc:382
L1GtCaloTemplate.h
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1GtTriggerMenu::setGtTriggerMenuName
void setGtTriggerMenuName(const std::string &)
Definition: L1GtTriggerMenu.cc:375
L1GtTriggerMenu::gtTriggerMenuImplementation
const std::string & gtTriggerMenuImplementation() const
Definition: L1GtTriggerMenu.h:96
COND_TRANSIENT
#define COND_TRANSIENT
Definition: Serializable.h:63
L1GtTriggerMenu::setVecCaloTemplate
void setVecCaloTemplate(const std::vector< std::vector< L1GtCaloTemplate > > &)
Definition: L1GtTriggerMenu.cc:389
L1GtTriggerMenu::m_triggerMenuImplementation
std::string m_triggerMenuImplementation
Definition: L1GtTriggerMenu.h:218
L1GtTriggerMenu::vecCaloTemplate
const std::vector< std::vector< L1GtCaloTemplate > > & vecCaloTemplate() const
Definition: L1GtTriggerMenu.h:111
L1GtTriggerMenu::setVecEnergySumTemplate
void setVecEnergySumTemplate(const std::vector< std::vector< L1GtEnergySumTemplate > > &)
Definition: L1GtTriggerMenu.cc:393
L1GtTriggerMenu::m_vecJetCountsTemplate
std::vector< std::vector< L1GtJetCountsTemplate > > m_vecJetCountsTemplate
Definition: L1GtTriggerMenu.h:228
L1GtTriggerMenu::m_vecCastorTemplate
std::vector< std::vector< L1GtCastorTemplate > > m_vecCastorTemplate
Definition: L1GtTriggerMenu.h:229
L1GtTriggerMenu::gtScaleDbKey
const std::string & gtScaleDbKey() const
menu associated scale key
Definition: L1GtTriggerMenu.h:101
L1GtTriggerMenu::m_conditionMap
std::vector< ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
Definition: L1GtTriggerMenu.h:212
L1GtTriggerMenu::m_algorithmAliasMap
AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
Definition: L1GtTriggerMenu.h:244
L1GtTriggerMenu::gtAlgorithmResult
const bool gtAlgorithmResult(const std::string &algName, const std::vector< bool > &decWord) const
Definition: L1GtTriggerMenu.cc:629
L1GtCorrelationTemplate.h
L1GtTriggerMenu::vecBptxTemplate
const std::vector< std::vector< L1GtBptxTemplate > > & vecBptxTemplate() const
Definition: L1GtTriggerMenu.h:149
L1GtTriggerMenu::setGtConditionMap
void setGtConditionMap(const std::vector< ConditionMap > &)
Definition: L1GtTriggerMenu.cc:164
L1GtTriggerMenu::m_triggerMenuName
std::string m_triggerMenuName
Definition: L1GtTriggerMenu.h:217
L1GtTriggerMenu::gtTriggerMenuInterface
const std::string & gtTriggerMenuInterface() const
get / set the trigger menu names
Definition: L1GtTriggerMenu.h:86
L1GtTriggerMenu::vecHfBitCountsTemplate
const std::vector< std::vector< L1GtHfBitCountsTemplate > > & vecHfBitCountsTemplate() const
Definition: L1GtTriggerMenu.h:135
AlgorithmMap
std::map< std::string, L1GtAlgorithm > AlgorithmMap
map containing the algorithms
Definition: L1GtTriggerMenuFwd.h:31
L1GtTriggerMenu::setVecExternalTemplate
void setVecExternalTemplate(const std::vector< std::vector< L1GtExternalTemplate > > &)
Definition: L1GtTriggerMenu.cc:421
L1GtCastorTemplate.h
L1GtTriggerMenu::m_vecHfBitCountsTemplate
std::vector< std::vector< L1GtHfBitCountsTemplate > > m_vecHfBitCountsTemplate
Definition: L1GtTriggerMenu.h:230
L1GtJetCountsTemplate.h
L1GtTriggerMenu::print
void print(std::ostream &, int &) const
Definition: L1GtTriggerMenu.cc:454
L1GtTriggerMenu::setVecHfRingEtSumsTemplate
void setVecHfRingEtSumsTemplate(const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > &)
Definition: L1GtTriggerMenu.cc:412
L1GtTriggerMenu::setVecCorrelationTemplate
void setVecCorrelationTemplate(const std::vector< std::vector< L1GtCorrelationTemplate > > &)
Definition: L1GtTriggerMenu.cc:425
L1GtTriggerMenu::setVecJetCountsTemplate
void setVecJetCountsTemplate(const std::vector< std::vector< L1GtJetCountsTemplate > > &)
Definition: L1GtTriggerMenu.cc:398
L1GtTriggerMenu::corEnergySumTemplate
const std::vector< std::vector< L1GtEnergySumTemplate > > & corEnergySumTemplate() const
Definition: L1GtTriggerMenu.h:180
L1GtTriggerMenu
Definition: L1GtTriggerMenu.h:48
L1GtAlgorithm
Definition: L1GtAlgorithm.h:32
L1GtTriggerMenu::vecEnergySumTemplate
const std::vector< std::vector< L1GtEnergySumTemplate > > & vecEnergySumTemplate() const
Definition: L1GtTriggerMenu.h:116
L1GtTriggerMenu::vecExternalTemplate
const std::vector< std::vector< L1GtExternalTemplate > > & vecExternalTemplate() const
Definition: L1GtTriggerMenu.h:155
L1GtTriggerMenu::vecCorrelationTemplate
const std::vector< std::vector< L1GtCorrelationTemplate > > & vecCorrelationTemplate() const
Definition: L1GtTriggerMenu.h:162
L1GtTriggerMenu::m_vecHfRingEtSumsTemplate
std::vector< std::vector< L1GtHfRingEtSumsTemplate > > m_vecHfRingEtSumsTemplate
Definition: L1GtTriggerMenu.h:231
L1GtMuonTemplate.h
L1GtTriggerMenu::setCorEnergySumTemplate
void setCorEnergySumTemplate(const std::vector< std::vector< L1GtEnergySumTemplate > > &)
Definition: L1GtTriggerMenu.cc:439
L1GtTriggerMenu::L1GtTriggerMenu
L1GtTriggerMenu()
Definition: L1GtTriggerMenu.cc:31
Serializable.h
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
L1GtTriggerMenu::~L1GtTriggerMenu
virtual ~L1GtTriggerMenu()
Definition: L1GtTriggerMenu.cc:115
L1GtTriggerMenu::gtAlgorithmAliasMap
const AlgorithmMap & gtAlgorithmAliasMap() const
get / set the algorithm map (by alias)
Definition: L1GtTriggerMenu.h:192
L1GtTriggerMenu::setGtAlgorithmMap
void setGtAlgorithmMap(const AlgorithmMap &)
Definition: L1GtTriggerMenu.cc:445
L1GtTriggerMenu::setGtTechnicalTriggerMap
void setGtTechnicalTriggerMap(const AlgorithmMap &)
Definition: L1GtTriggerMenu.cc:451
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1GtTriggerMenu::m_vecEnergySumTemplate
std::vector< std::vector< L1GtEnergySumTemplate > > m_vecEnergySumTemplate
Definition: L1GtTriggerMenu.h:227
L1GtTriggerMenu::corCaloTemplate
const std::vector< std::vector< L1GtCaloTemplate > > & corCaloTemplate() const
Definition: L1GtTriggerMenu.h:174
L1GtTriggerMenu::gtConditionMap
const std::vector< ConditionMap > & gtConditionMap() const
get / set / build the condition maps
Definition: L1GtTriggerMenu.h:80
L1GtTriggerMenu::setGtTriggerMenuInterface
void setGtTriggerMenuInterface(const std::string &)
Definition: L1GtTriggerMenu.cc:371
L1GtExternalTemplate.h
L1GtTriggerMenu::m_technicalTriggerMap
AlgorithmMap m_technicalTriggerMap
map containing the technical triggers
Definition: L1GtTriggerMenu.h:247
L1GtTriggerMenu::m_corCaloTemplate
std::vector< std::vector< L1GtCaloTemplate > > m_corCaloTemplate
Definition: L1GtTriggerMenu.h:237
L1GtTriggerMenu::vecCastorTemplate
const std::vector< std::vector< L1GtCastorTemplate > > & vecCastorTemplate() const
Definition: L1GtTriggerMenu.h:130
L1GtHfRingEtSumsTemplate.h
L1GtBptxTemplate.h
L1GtTriggerMenu::setVecCastorTemplate
void setVecCastorTemplate(const std::vector< std::vector< L1GtCastorTemplate > > &)
Definition: L1GtTriggerMenu.cc:403
L1GtTriggerMenu::vecJetCountsTemplate
const std::vector< std::vector< L1GtJetCountsTemplate > > & vecJetCountsTemplate() const
Definition: L1GtTriggerMenu.h:123
L1GtTriggerMenu::setGtAlgorithmAliasMap
void setGtAlgorithmAliasMap(const AlgorithmMap &)
Definition: L1GtTriggerMenu.cc:448
L1GtTriggerMenu::m_corEnergySumTemplate
std::vector< std::vector< L1GtEnergySumTemplate > > m_corEnergySumTemplate
Definition: L1GtTriggerMenu.h:238
L1GtTriggerMenu::setCorMuonTemplate
void setCorMuonTemplate(const std::vector< std::vector< L1GtMuonTemplate > > &)
Definition: L1GtTriggerMenu.cc:431
L1GtEnergySumTemplate.h
L1GtTriggerMenu::setVecBptxTemplate
void setVecBptxTemplate(const std::vector< std::vector< L1GtBptxTemplate > > &)
Definition: L1GtTriggerMenu.cc:417
L1GtHfBitCountsTemplate.h
L1GtTriggerMenu::buildGtConditionMap
void buildGtConditionMap()
Definition: L1GtTriggerMenu.cc:167
L1GtTriggerMenuFwd.h
L1GtTriggerMenu::gtTechnicalTriggerMap
const AlgorithmMap & gtTechnicalTriggerMap() const
get / set the technical trigger map
Definition: L1GtTriggerMenu.h:197
L1GtTriggerMenu::m_scaleDbKey
std::string m_scaleDbKey
menu associated scale key
Definition: L1GtTriggerMenu.h:221
L1GtTriggerMenu::setVecHfBitCountsTemplate
void setVecHfBitCountsTemplate(const std::vector< std::vector< L1GtHfBitCountsTemplate > > &)
Definition: L1GtTriggerMenu.cc:407
L1GtTriggerMenu::vecHfRingEtSumsTemplate
const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > & vecHfRingEtSumsTemplate() const
Definition: L1GtTriggerMenu.h:142
L1GtTriggerMenu::setGtTriggerMenuImplementation
void setGtTriggerMenuImplementation(const std::string &)
Definition: L1GtTriggerMenu.cc:377
L1GtTriggerMenu::m_vecCorrelationTemplate
std::vector< std::vector< L1GtCorrelationTemplate > > m_vecCorrelationTemplate
Definition: L1GtTriggerMenu.h:235
L1GtTriggerMenu::vecMuonTemplate
const std::vector< std::vector< L1GtMuonTemplate > > & vecMuonTemplate() const
get / set the vectors containing the conditions
Definition: L1GtTriggerMenu.h:106
L1GtTriggerMenu::gtAlgorithmMap
const AlgorithmMap & gtAlgorithmMap() const
get / set the algorithm map (by name)
Definition: L1GtTriggerMenu.h:187