ATLAS Offline Software
L1Threshold.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGCONFDATA_L1THRESHOLD_H
6 #define TRIGCONFDATA_L1THRESHOLD_H
7 
9 
10 namespace TrigConf {
11 
12  /************************************
13  *
14  * L1Calo legacy thresholds
15  *
16  ************************************/
17  class L1Threshold_EM final : public L1Threshold_Calo {
18  public:
19  L1Threshold_EM( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
20  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
21  virtual ~L1Threshold_EM() override = default;
22  // class name
23  virtual std::string className() const override { return "L1Threshold_EM"; }
24  uint16_t isolationMask(int eta) const { return m_isolationMask.at(eta); }
25  void print(std::ostream & os = std::cout) const override;
26  protected:
27  virtual void update() override {
29  load();
30  }
31  private:
32  void load();
34  };
35 
36 
37  class L1Threshold_TAU final : public L1Threshold_Calo {
38  public:
39  L1Threshold_TAU( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
40  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
41  virtual ~L1Threshold_TAU() override = default;
42  virtual std::string className() const override { return "L1Threshold_TAU"; }
43  // access functions
45  protected:
46  virtual void update() override {
48  load();
49  }
50  private:
51  void load();
53  };
54 
55  class L1Threshold_JET final : public L1Threshold_Calo {
56  public:
57  L1Threshold_JET( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
58  L1Threshold_Calo(name, type, extraInfo, data) { load(); };
59  virtual ~L1Threshold_JET() override = default;
60  virtual std::string className() const override { return "L1Threshold_JET"; }
61  unsigned int window(int eta = 0) const;
62  protected:
63  virtual void update() override {
65  load();
66  }
67  private:
69  void load();
70  };
71 
72  class L1Threshold_XE final : public L1Threshold_Calo {
73  public:
74  L1Threshold_XE( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
75  L1Threshold_Calo(name, type, extraInfo, data) {};
76  virtual ~L1Threshold_XE() override = default;
77  virtual std::string className() const override { return "L1Threshold_XE"; }
78  };
79 
80  class L1Threshold_XS final : public L1Threshold_Calo {
81  public:
82  L1Threshold_XS( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
83  L1Threshold_Calo(name, type, extraInfo, data) {};
84  virtual ~L1Threshold_XS() override = default;
85  virtual std::string className() const override { return "L1Threshold_XS"; }
86  };
87 
88  class L1Threshold_TE final : public L1Threshold_Calo {
89  public:
90  L1Threshold_TE( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
91  L1Threshold_Calo(name, type, extraInfo, data) {};
92  virtual ~L1Threshold_TE() override = default;
93  virtual std::string className() const override { return "L1Threshold_TE"; }
94  };
95 
96  /************************************
97  *
98  * ZB, NIM and internal thresholds
99  *
100  ************************************/
101  class L1Threshold_ZB final : public L1Threshold {
102  public:
103  L1Threshold_ZB( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
104  L1Threshold(name, type, extraInfo, data) { load(); };
105  virtual ~L1Threshold_ZB() override = default;
106  virtual std::string className() const override { return "L1Threshold_ZB"; }
107  const std::string & seed() const { return m_seed; }
108  unsigned int seedBcdelay() const { return m_seedBcdelay; }
109  unsigned int seedMultiplicity() const { return m_seedMultiplicity; }
110  protected:
111  virtual void update() override { load(); }
112  private:
113  std::string m_seed{""};
114  unsigned int m_seedBcdelay{0};
115  unsigned int m_seedMultiplicity{1};
116  void load();
117  };
118 
119  class L1Threshold_ZBTopo final : public L1Threshold {
120  public:
121  L1Threshold_ZBTopo( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
122  L1Threshold(name, type, extraInfo, data) { load(); };
123  virtual ~L1Threshold_ZBTopo() override = default;
124  virtual std::string className() const override { return "L1Threshold_ZBTopo"; }
125  const unsigned int & mask0() const { return m_mask0; }
126  const unsigned int & mask1() const { return m_mask1; }
127  const unsigned int & mask2() const { return m_mask2; }
128  const unsigned int & mask3() const { return m_mask3; }
129  const unsigned int & mask4() const { return m_mask4; }
130  const unsigned int & mask5() const { return m_mask5; }
131  unsigned int seedBcdelay() const { return m_seedBcdelay; }
132  protected:
133  virtual void update() override { load(); }
134  private:
135  unsigned int m_mask0{0};
136  unsigned int m_mask1{0};
137  unsigned int m_mask2{0};
138  unsigned int m_mask3{0};
139  unsigned int m_mask4{0};
140  unsigned int m_mask5{0};
141  unsigned int m_seedBcdelay{0};
142  void load();
143  };
144 
145  class L1Threshold_NIM final : public L1Threshold {
146  public:
147  L1Threshold_NIM( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
148  L1Threshold(name, type, extraInfo, data) {};
149  virtual ~L1Threshold_NIM() override = default;
150  virtual std::string className() const override { return "L1Threshold_NIM"; }
151  };
152 
153  class L1Threshold_internal final : public L1Threshold {
154  public:
155  L1Threshold_internal( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
156  L1Threshold(name, type, extraInfo, data) {};
157  virtual ~L1Threshold_internal() override = default;
158  virtual std::string className() const override { return "L1Threshold_internal"; }
159  };
160 
161  /************************************
162  *
163  * New eFEX thresholds
164  *
165  ************************************/
166  class L1Threshold_eEM final : public L1Threshold_Calo {
167  public:
168  L1Threshold_eEM( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
169  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
170  virtual ~L1Threshold_eEM() override = default;
171  virtual std::string className() const override { return "L1Threshold_eEM"; }
172  // access functions
173  Selection::WP reta() const { return m_reta; }
174  Selection::WP rhad() const { return m_rhad; }
175  Selection::WP wstot() const { return m_wstot; }
176  protected:
177  virtual void update() override {
179  load();
180  }
181  private:
182  void load();
183  // the isolation requirement
187  };
188 
189  class L1Threshold_jEM final : public L1Threshold_Calo {
190  public:
191  L1Threshold_jEM( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
192  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
193  virtual ~L1Threshold_jEM() override = default;
194  virtual std::string className() const override { return "L1Threshold_jEM"; }
195  // access functions
196  Selection::WP iso() const { return m_iso; }
197  Selection::WP frac() const { return m_frac; }
198  Selection::WP frac2() const { return m_frac2; }
199  protected:
200  virtual void update() override {
202  load();
203  }
204  private:
205  void load();
206  // the isolation requirement
210  };
211 
212  class L1Threshold_eTAU final : public L1Threshold_Calo {
213  public:
214  L1Threshold_eTAU( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
215  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
216  virtual ~L1Threshold_eTAU() override = default;
217  virtual std::string className() const override { return "L1Threshold_eTAU"; }
218  // access functions
219  Selection::WP rCore() const { return m_rCore; }
220  Selection::WP rHad() const { return m_rHad; }
221  protected:
222  virtual void update() override {
224  load();
225  }
226  private:
227  void load();
228  // the isolation requirement
231  };
232 
233  class L1ThrExtraInfo_jTAU;
234  class L1Threshold_jTAU final : public L1Threshold_Calo {
235  public:
236  L1Threshold_jTAU( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
237  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
238  virtual ~L1Threshold_jTAU() override = default;
239  virtual std::string className() const override { return "L1Threshold_jTAU"; }
240  // access functions
241  Selection::WP isolation() const { return m_isolation; }
242  const std::shared_ptr<L1ThrExtraInfo_jTAU> getExtraInfo() const;
243  protected:
244  virtual void update() override {
246  load();
247  }
248  private:
249  void load();
250  // the isolation requirement
252  };
253 
254  class L1ThrExtraInfo_cTAU;
255  class L1Threshold_cTAU final : public L1Threshold_Calo {
256  public:
257  L1Threshold_cTAU( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
258  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
259  virtual ~L1Threshold_cTAU() override = default;
260  virtual std::string className() const override { return "L1Threshold_cTAU"; }
261  // access functions
262  Selection::WP isolation() const { return m_isolation; }
263  const std::shared_ptr<L1ThrExtraInfo_cTAU> getExtraInfo() const;
264  protected:
265  virtual void update() override {
267  load();
268  }
269  private:
270  void load();
271  // the isolation requirement
273  };
274 
275  class L1Threshold_jJ final : public L1Threshold_Calo {
276  public:
277  L1Threshold_jJ( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
278  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
279  virtual ~L1Threshold_jJ() override = default;
280  virtual std::string className() const override { return "L1Threshold_jJ"; }
281  protected:
282  virtual void update() override {
284  load();
285  }
286  private:
287  void load();
288  };
289 
290  class L1Threshold_jLJ final : public L1Threshold_Calo {
291  public:
292  L1Threshold_jLJ( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
293  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
294  virtual ~L1Threshold_jLJ() override = default;
295  virtual std::string className() const override { return "L1Threshold_jLJ"; }
296  protected:
297  virtual void update() override {
299  load();
300  }
301  private:
302  void load();
303  };
304 
305  class L1Threshold_gJ final : public L1Threshold_Calo {
306  public:
307  L1Threshold_gJ( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
308  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
309  virtual ~L1Threshold_gJ() override = default;
310  virtual std::string className() const override { return "L1Threshold_gJ"; }
311  protected:
312  virtual void update() override {
314  load();
315  }
316  private:
317  void load();
318  };
319 
320  class L1Threshold_gLJ final : public L1Threshold_Calo {
321  public:
322  L1Threshold_gLJ( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
323  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
324  virtual ~L1Threshold_gLJ() override = default;
325  virtual std::string className() const override { return "L1Threshold_gLJ"; }
326  protected:
327  virtual void update() override {
329  load();
330  }
331  private:
332  void load();
333  };
334 
335  class L1Threshold_jXE final : public L1Threshold_Calo {
336  public:
337  L1Threshold_jXE( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
338  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
339  virtual ~L1Threshold_jXE() override = default;
340  virtual std::string className() const override { return "L1Threshold_jXE"; }
341  protected:
342  virtual void update() override {
344  load();
345  }
346  private:
347  void load();
348  };
349 
350  class L1Threshold_jTE final : public L1Threshold_Calo {
351  public:
352  L1Threshold_jTE( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
353  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
354  virtual ~L1Threshold_jTE() override = default;
355  virtual std::string className() const override { return "L1Threshold_jTE"; }
356  protected:
357  virtual void update() override {
359  load();
360  }
361  private:
362  void load();
363  };
364 
365  class L1Threshold_gXE final : public L1Threshold_Calo {
366  public:
367  L1Threshold_gXE( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
368  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
369  virtual ~L1Threshold_gXE() override = default;
370  virtual std::string className() const override { return "L1Threshold_gXE"; }
371  protected:
372  virtual void update() override {
374  load();
375  }
376  private:
377  void load();
378  };
379 
380  class L1Threshold_gTE final : public L1Threshold_Calo {
381  public:
382  L1Threshold_gTE( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
383  L1Threshold_Calo(name, type, extraInfo, data) { load(); }
384  virtual ~L1Threshold_gTE() override = default;
385  virtual std::string className() const override { return "L1Threshold_gTE"; }
386  protected:
387  virtual void update() override {
389  load();
390  }
391  private:
392  void load();
393  };
394 
395  /************************************
396  *
397  * Muon threshold
398  *
399  ************************************/
400  class L1Threshold_MU final : public L1Threshold {
401  public:
402  L1Threshold_MU( const std::string & name, const std::string & type, std::weak_ptr<L1ThrExtraInfoBase> extraInfo, const ptree & data) :
403  L1Threshold(name, type, extraInfo, data) { load(); }
404  virtual ~L1Threshold_MU() override = default;
405  virtual std::string className() const override { return "L1Threshold_MU"; }
406 
407  float thrValue(int eta = 0) const override;
408 
409  unsigned int ptBarrel() const { return m_ptBarrel; }
410  unsigned int ptEndcap() const { return m_ptEndcap; }
411  unsigned int ptForward() const { return m_ptForward; }
412  unsigned int idxBarrel() const { return m_idxBarrel; }
413  unsigned int idxEndcap() const { return m_idxEndcap; }
414  unsigned int idxForward() const { return m_idxForward; }
415  const std::string & region() const { return m_region; }
416  const std::string & tgcFlags() const { return m_tgcFlags; }
417  const std::string & rpcFlags() const { return m_rpcFlags; }
418  const std::string & rpcExclROIList() const { return m_rpcExclROIList; }
419  std::optional<std::string> rpcExclROIList_optional() const {
420  return m_rpcExclROIList.empty() ? std::nullopt : std::optional<std::string>{m_rpcExclROIList};
421  }
422  protected:
423  virtual void update() override {
425  load();
426  }
427  private:
428  void load();
429 
430  unsigned int m_ptBarrel{0};
431  unsigned int m_ptEndcap{0};
432  unsigned int m_ptForward{0};
433  unsigned int m_idxBarrel{0};
434  unsigned int m_idxEndcap{0};
435  unsigned int m_idxForward{0};
436  // the isolation requirement
437  std::string m_region{""};
438  std::string m_tgcFlags{""};
439  std::string m_rpcFlags{""};
440  std::string m_rpcExclROIList{""};
441  };
442 
443 
444 }
445 
446 #endif
TrigConf::L1Threshold_jLJ
Definition: L1Threshold.h:290
TrigConf::L1Threshold_MU::ptEndcap
unsigned int ptEndcap() const
Definition: L1Threshold.h:414
TrigConf::DataStructure::data
const ptree & data() const
Access to the underlying data, if needed.
Definition: DataStructure.h:83
TrigConf::Selection::WP
WP
Definition: L1ThresholdBase.h:298
TrigConf::L1Threshold_TE::L1Threshold_TE
L1Threshold_TE(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:90
TrigConf::L1Threshold_JET::L1Threshold_JET
L1Threshold_JET(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:57
TrigConf::L1Threshold_jTAU::L1Threshold_jTAU
L1Threshold_jTAU(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:236
TrigConf::L1Threshold_NIM::L1Threshold_NIM
L1Threshold_NIM(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:147
TrigConf::L1Threshold_cTAU
Definition: L1Threshold.h:255
TrigConf::L1Threshold_gTE
Definition: L1Threshold.h:380
TrigConf::L1Threshold_jJ::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:282
TrigConf::L1Threshold_jTE
Definition: L1Threshold.h:350
TrigConf::L1Threshold_cTAU::load
void load()
Definition: L1Threshold.cxx:194
TrigConf::L1Threshold_jLJ::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:297
TrigConf::L1Threshold_cTAU::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:260
TrigConf::L1Threshold_jEM::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:200
TrigConf::L1Threshold_jJ::L1Threshold_jJ
L1Threshold_jJ(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:277
TrigConf::L1Threshold_cTAU::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:265
TrigConf::L1Threshold_JET
Definition: L1Threshold.h:55
TrigConf::L1Threshold_jEM::L1Threshold_jEM
L1Threshold_jEM(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:191
TrigConf::L1Threshold_jJ::~L1Threshold_jJ
virtual ~L1Threshold_jJ() override=default
TrigConf::L1Threshold_eTAU
Definition: L1Threshold.h:212
TrigConf::L1Threshold_cTAU::m_isolation
Selection::WP m_isolation
Definition: L1Threshold.h:272
TrigConf::L1Threshold_MU::rpcExclROIList_optional
std::optional< std::string > rpcExclROIList_optional() const
Definition: L1Threshold.h:423
TrigConf::L1Threshold_MU::load
void load()
Definition: L1Threshold.cxx:267
TrigConf::L1Threshold_gLJ::L1Threshold_gLJ
L1Threshold_gLJ(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:322
TrigConf::L1Threshold_JET::window
unsigned int window(int eta=0) const
Definition: L1Threshold.cxx:94
TrigConf::L1Threshold_jTAU::load
void load()
Definition: L1Threshold.cxx:178
TrigConf::L1Threshold_ZB::~L1Threshold_ZB
virtual ~L1Threshold_ZB() override=default
TrigConf::L1Threshold_eEM::reta
Selection::WP reta() const
Definition: L1Threshold.h:177
TrigConf::L1Threshold_internal::~L1Threshold_internal
virtual ~L1Threshold_internal() override=default
TrigConf::L1Threshold_ZB::seed
const std::string & seed() const
Definition: L1Threshold.h:111
TrigConf::L1Threshold_eTAU::~L1Threshold_eTAU
virtual ~L1Threshold_eTAU() override=default
TrigConf::L1Threshold_jEM::m_iso
Selection::WP m_iso
Definition: L1Threshold.h:207
TrigConf::L1Threshold_jTAU::~L1Threshold_jTAU
virtual ~L1Threshold_jTAU() override=default
TrigConf::L1Threshold_jTAU
Definition: L1Threshold.h:234
TrigConf::L1Threshold_gTE::L1Threshold_gTE
L1Threshold_gTE(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:382
TrigConf::L1Threshold_gJ::L1Threshold_gJ
L1Threshold_gJ(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:307
TrigConf::L1Threshold_cTAU::L1Threshold_cTAU
L1Threshold_cTAU(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:257
TrigConf::L1Threshold_JET::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:60
TrigConf::L1Threshold_ZBTopo::mask3
const unsigned int & mask3() const
Definition: L1Threshold.h:128
TrigConf::L1Threshold_ZBTopo::mask4
const unsigned int & mask4() const
Definition: L1Threshold.h:129
TrigConf::L1Threshold_jXE::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:342
TrigConf::L1Threshold_ZB::m_seedBcdelay
unsigned int m_seedBcdelay
Definition: L1Threshold.h:118
TrigConf::L1Threshold_jTE::L1Threshold_jTE
L1Threshold_jTE(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:352
TrigConf::L1Threshold_JET::m_etaDepWindow
ValueWithEtaDependence< unsigned int > m_etaDepWindow
eta-dependent threshold value in MeV
Definition: L1Threshold.h:68
TrigConf::L1Threshold_jTAU::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:239
TrigConf::L1Threshold_eEM::m_reta
Selection::WP m_reta
Definition: L1Threshold.h:188
TrigConf::L1Threshold_gLJ::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:327
TrigConf::L1Threshold_ZBTopo::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:133
TrigConf::L1Threshold_gJ::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:310
TrigConf::L1Threshold_eTAU::m_rCore
Selection::WP m_rCore
Definition: L1Threshold.h:229
TrigConf::L1Threshold_MU::m_idxBarrel
unsigned int m_idxBarrel
Definition: L1Threshold.h:437
TrigConf::L1Threshold_gXE
Definition: L1Threshold.h:365
TrigConf::L1Threshold_EM::L1Threshold_EM
L1Threshold_EM(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:23
TrigConf::L1Threshold_jXE
Definition: L1Threshold.h:335
TrigConf::L1Threshold_MU::region
const std::string & region() const
Definition: L1Threshold.h:419
TrigConf::L1Threshold_TE
Definition: L1Threshold.h:88
TrigConf::L1Threshold_XE::~L1Threshold_XE
virtual ~L1Threshold_XE() override=default
TrigConf::L1Threshold::type
const std::string & type() const
Accessor to the threshold type.
Definition: L1ThresholdBase.h:157
TrigConf::ValueWithEtaDependence< uint16_t >
TrigConf::L1Threshold_XS::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:85
TrigConf::L1Threshold_MU::m_rpcFlags
std::string m_rpcFlags
a logical expression like 'M'
Definition: L1Threshold.h:443
TrigConf::L1Threshold_gTE::load
void load()
Definition: L1Threshold.cxx:248
TrigConf::L1Threshold_eEM::rhad
Selection::WP rhad() const
Definition: L1Threshold.h:178
TrigConf::L1Threshold_TAU::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:46
TrigConf::L1Threshold_eEM
Definition: L1Threshold.h:166
TrigConf::L1Threshold_EM::isolationMask
uint16_t isolationMask(int eta) const
Definition: L1Threshold.h:28
TrigConf::L1Threshold_gTE::~L1Threshold_gTE
virtual ~L1Threshold_gTE() override=default
TrigConf::L1Threshold_jEM
Definition: L1Threshold.h:189
TrigConf::L1Threshold_TAU::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:42
TrigConf::L1Threshold_gLJ::~L1Threshold_gLJ
virtual ~L1Threshold_gLJ() override=default
TrigConf::L1Threshold_XS
Definition: L1Threshold.h:80
TrigConf::L1Threshold_ZBTopo::load
void load()
ZBTopo.
Definition: L1Threshold.cxx:113
TrigConf::L1Threshold_gJ::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:312
TrigConf::L1Threshold_gTE::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:385
TrigConf::ValueWithEtaDependence::at
const T & at(int eta) const
TrigConf::Selection::WP::NONE
@ NONE
TrigConf::L1Threshold_NIM::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:150
TrigConf::L1Threshold_ZBTopo::m_mask5
unsigned int m_mask5
Definition: L1Threshold.h:140
TrigConf::L1Threshold_ZBTopo::mask5
const unsigned int & mask5() const
Definition: L1Threshold.h:130
TrigConf::L1Threshold_JET::load
void load()
JET.
Definition: L1Threshold.cxx:70
TrigConf::L1Threshold_eEM::wstot
Selection::WP wstot() const
Definition: L1Threshold.h:179
TrigConf::L1Threshold_eTAU::L1Threshold_eTAU
L1Threshold_eTAU(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:214
TrigConf::L1Threshold_Calo
Definition: L1ThresholdBase.h:188
TrigConf::L1Threshold_eTAU::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:217
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
TrigConf::L1Threshold_ZBTopo::m_mask1
unsigned int m_mask1
Definition: L1Threshold.h:136
TrigConf::L1Threshold_XS::L1Threshold_XS
L1Threshold_XS(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:82
TrigConf::L1Threshold_MU::m_ptBarrel
unsigned int m_ptBarrel
Definition: L1Threshold.h:434
TrigConf::L1Threshold_MU::thrValue
float thrValue(int eta=0) const override
this function is only to satisfy the base class interface.
Definition: L1Threshold.cxx:261
TrigConf::L1Threshold_eTAU::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:222
TrigConf::L1Threshold_ZB::m_seed
std::string m_seed
Definition: L1Threshold.h:117
TrigConf::L1Threshold::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1ThresholdBase.cxx:132
TrigConf::L1Threshold_ZB
Definition: L1Threshold.h:101
TrigConf::L1Threshold_JET::~L1Threshold_JET
virtual ~L1Threshold_JET() override=default
TrigConf::L1Threshold_ZBTopo::m_seedBcdelay
unsigned int m_seedBcdelay
Definition: L1Threshold.h:141
TrigConf::L1Threshold_jXE::load
void load()
Definition: L1Threshold.cxx:236
TrigConf::L1Threshold_XE
Definition: L1Threshold.h:72
TrigConf::L1Threshold_ZBTopo::mask1
const unsigned int & mask1() const
Definition: L1Threshold.h:126
TrigConf::L1Threshold_eEM::load
void load()
Definition: L1Threshold.cxx:133
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
TrigConf::L1Threshold_gXE::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:372
TrigConf::L1Threshold_jJ::load
void load()
Definition: L1Threshold.cxx:204
TrigConf::L1Threshold_gJ::load
void load()
Definition: L1Threshold.cxx:220
TrigConf::L1Threshold_TAU::L1Threshold_TAU
L1Threshold_TAU(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:39
TrigConf::L1Threshold_EM::load
void load()
EM.
Definition: L1Threshold.cxx:17
TrigConf::L1Threshold_Calo::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1ThresholdBase.cxx:222
TrigConf::L1Threshold_jTAU::m_isolation
Selection::WP m_isolation
Definition: L1Threshold.h:251
TrigConf::L1Threshold_internal::L1Threshold_internal
L1Threshold_internal(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:155
TrigConf::L1Threshold_jLJ::~L1Threshold_jLJ
virtual ~L1Threshold_jLJ() override=default
TrigConf::L1Threshold_XS::~L1Threshold_XS
virtual ~L1Threshold_XS() override=default
TrigConf::L1Threshold_ZBTopo::m_mask0
unsigned int m_mask0
Definition: L1Threshold.h:135
TrigConf::L1Threshold_cTAU::getExtraInfo
const std::shared_ptr< L1ThrExtraInfo_cTAU > getExtraInfo() const
Definition: L1Threshold.cxx:188
TrigConf::L1Threshold_internal
Definition: L1Threshold.h:153
TrigConf::L1Threshold_MU::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:409
TrigConf::L1Threshold_MU::tgcFlags
const std::string & tgcFlags() const
Definition: L1Threshold.h:420
TrigConf::L1Threshold_jTAU::isolation
Selection::WP isolation() const
Definition: L1Threshold.h:241
TrigConf::L1Threshold_jTE::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:357
TrigConf::L1Threshold_ZBTopo::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:124
TrigConf::L1Threshold_ZB::load
void load()
ZB.
Definition: L1Threshold.cxx:102
TrigConf::L1Threshold_ZB::seedMultiplicity
unsigned int seedMultiplicity() const
Definition: L1Threshold.h:113
TrigConf::L1Threshold_NIM
Definition: L1Threshold.h:145
TrigConf::L1Threshold_jTE::~L1Threshold_jTE
virtual ~L1Threshold_jTE() override=default
TrigConf::L1Threshold_ZB::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:115
TrigConf::L1Threshold_jEM::load
void load()
Definition: L1Threshold.cxx:145
TrigConf::L1Threshold_NIM::~L1Threshold_NIM
virtual ~L1Threshold_NIM() override=default
TrigConf::L1Threshold_MU::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:427
TrigConf::L1Threshold_gLJ::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:325
TrigConf::L1Threshold_ZBTopo::m_mask4
unsigned int m_mask4
Definition: L1Threshold.h:139
TrigConf::L1Threshold_ZB::L1Threshold_ZB
L1Threshold_ZB(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:107
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
TrigConf::L1Threshold_MU::m_region
std::string m_region
comma-separated list of BA, EC, FW or the string ALL
Definition: L1Threshold.h:441
TrigConf::L1Threshold_TAU::isolationMask
uint16_t isolationMask() const
Definition: L1Threshold.h:44
TrigConf::L1Threshold_jXE::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:340
TrigConf::L1Threshold_gTE::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:387
L1ThresholdBase.h
TrigConf::name
Definition: HLTChainList.h:35
TrigConf::L1Threshold_eEM::m_rhad
Selection::WP m_rhad
Definition: L1Threshold.h:189
TrigConf::L1Threshold_gXE::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:370
TrigConf::L1Threshold_jEM::m_frac2
Selection::WP m_frac2
Definition: L1Threshold.h:209
TrigConf::L1Threshold_jEM::frac2
Selection::WP frac2() const
Definition: L1Threshold.h:198
TrigConf::L1Threshold_jLJ::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:295
TrigConf::L1Threshold_jTE::load
void load()
Definition: L1Threshold.cxx:240
TrigConf::L1Threshold_MU::idxBarrel
unsigned int idxBarrel() const
Definition: L1Threshold.h:416
TrigConf::L1Threshold_jTAU::getExtraInfo
const std::shared_ptr< L1ThrExtraInfo_jTAU > getExtraInfo() const
Definition: L1Threshold.cxx:172
TrigConf::L1Threshold_eTAU::rCore
Selection::WP rCore() const
Definition: L1Threshold.h:219
TrigConf::L1Threshold_jEM::iso
Selection::WP iso() const
Definition: L1Threshold.h:196
TrigConf::L1Threshold_ZBTopo::L1Threshold_ZBTopo
L1Threshold_ZBTopo(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:121
TrigConf::L1Threshold_ZB::m_seedMultiplicity
unsigned int m_seedMultiplicity
Definition: L1Threshold.h:119
TrigConf::L1Threshold_jXE::~L1Threshold_jXE
virtual ~L1Threshold_jXE() override=default
TrigConf::L1Threshold_eEM::L1Threshold_eEM
L1Threshold_eEM(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:172
TrigConf::L1Threshold_MU::idxEndcap
unsigned int idxEndcap() const
Definition: L1Threshold.h:417
TrigConf::L1Threshold_jJ
Definition: L1Threshold.h:275
TrigConf::L1Threshold_EM::m_isolationMask
ValueWithEtaDependence< uint16_t > m_isolationMask
Definition: L1Threshold.h:37
TrigConf::L1Threshold_MU::ptForward
unsigned int ptForward() const
Definition: L1Threshold.h:415
TrigConf::L1Threshold_ZBTopo::seedBcdelay
unsigned int seedBcdelay() const
Definition: L1Threshold.h:131
TrigConf::L1Threshold_TAU::load
void load()
TAU.
Definition: L1Threshold.cxx:55
TrigConf::L1Threshold_gXE::L1Threshold_gXE
L1Threshold_gXE(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:367
TrigConf::L1Threshold_ZBTopo::mask2
const unsigned int & mask2() const
Definition: L1Threshold.h:127
TrigConf::L1Threshold_XE::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:77
TrigConf::L1Threshold_gXE::~L1Threshold_gXE
virtual ~L1Threshold_gXE() override=default
TrigConf::L1Threshold_jJ::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:280
TrigConf::L1Threshold_jEM::m_frac
Selection::WP m_frac
Definition: L1Threshold.h:208
TrigConf::L1Threshold_eEM::m_wstot
Selection::WP m_wstot
Definition: L1Threshold.h:190
TrigConf::L1Threshold_MU::rpcFlags
const std::string & rpcFlags() const
Definition: L1Threshold.h:421
TrigConf::L1Threshold_EM::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:27
TrigConf::L1Threshold_MU
Definition: L1Threshold.h:400
TrigConf::L1Threshold_MU::L1Threshold_MU
L1Threshold_MU(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:406
TrigConf::L1Threshold_JET::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:63
TrigConf::L1Threshold_jEM::frac
Selection::WP frac() const
Definition: L1Threshold.h:197
TrigConf::L1Threshold_ZBTopo::~L1Threshold_ZBTopo
virtual ~L1Threshold_ZBTopo() override=default
TrigConf::L1Threshold_gLJ::load
void load()
Definition: L1Threshold.cxx:228
TrigConf::L1Threshold_MU::m_idxForward
unsigned int m_idxForward
Definition: L1Threshold.h:439
TrigConf::L1Threshold_jLJ::load
void load()
Definition: L1Threshold.cxx:212
TrigConf::L1Threshold_XE::L1Threshold_XE
L1Threshold_XE(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:74
TrigConf::L1Threshold_gJ::~L1Threshold_gJ
virtual ~L1Threshold_gJ() override=default
TrigConf::L1Threshold_jEM::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:194
TrigConf::L1Threshold_TAU::~L1Threshold_TAU
virtual ~L1Threshold_TAU() override=default
TrigConf::L1Threshold_cTAU::~L1Threshold_cTAU
virtual ~L1Threshold_cTAU() override=default
TrigConf::L1Threshold_TAU::m_isolationMask
uint16_t m_isolationMask
Definition: L1Threshold.h:52
TrigConf::L1Threshold_ZBTopo
Definition: L1Threshold.h:119
TrigConf::L1Threshold_MU::~L1Threshold_MU
virtual ~L1Threshold_MU() override=default
TrigConf::L1Threshold_MU::m_rpcExclROIList
std::string m_rpcExclROIList
a string sepcifying the list of ROIs to be excluded (the lists are defined in the extraInfo_MU)
Definition: L1Threshold.h:444
TrigConf::L1Threshold_MU::m_idxEndcap
unsigned int m_idxEndcap
Definition: L1Threshold.h:438
TrigConf::L1Threshold_jLJ::L1Threshold_jLJ
L1Threshold_jLJ(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:292
TrigConf::L1Threshold_ZB::seedBcdelay
unsigned int seedBcdelay() const
Definition: L1Threshold.h:112
TrigConf::L1Threshold_ZBTopo::mask0
const unsigned int & mask0() const
Definition: L1Threshold.h:125
TrigConf::L1Threshold_Calo::L1Threshold_Calo
L1Threshold_Calo()=delete
Constructor.
TrigConf::L1Threshold_MU::m_ptEndcap
unsigned int m_ptEndcap
Definition: L1Threshold.h:435
TrigConf::L1Threshold_gXE::load
void load()
Definition: L1Threshold.cxx:244
TrigConf::L1Threshold_jEM::~L1Threshold_jEM
virtual ~L1Threshold_jEM() override=default
TrigConf::L1Threshold_eTAU::m_rHad
Selection::WP m_rHad
Definition: L1Threshold.h:230
TrigConf::L1Threshold_jTAU::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:244
TrigConf::L1Threshold_eTAU::rHad
Selection::WP rHad() const
Definition: L1Threshold.h:220
TrigConf::L1Threshold_MU::idxForward
unsigned int idxForward() const
Definition: L1Threshold.h:418
TrigConf::L1Threshold_TAU
Definition: L1Threshold.h:37
TrigConf::L1Threshold_eEM::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:175
TrigConf::L1Threshold_TE::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:93
TrigConf::L1Threshold_eEM::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:181
TrigConf::L1Threshold_cTAU::isolation
Selection::WP isolation() const
Definition: L1Threshold.h:262
TrigConf::L1Threshold_eTAU::load
void load()
Definition: L1Threshold.cxx:157
TrigConf::L1Threshold_internal::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:158
TrigConf::L1Threshold_EM::update
virtual void update() override
Update the internal data after modification of the data object.
Definition: L1Threshold.h:31
TrigConf::DataStructure::ptree
boost::property_tree::ptree ptree
Definition: DataStructure.h:40
TrigConf::L1Threshold_MU::m_ptForward
unsigned int m_ptForward
Definition: L1Threshold.h:436
TrigConf::L1Threshold_ZBTopo::m_mask3
unsigned int m_mask3
Definition: L1Threshold.h:138
TrigConf::L1Threshold_ZB::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:110
TrigConf::L1Threshold_MU::rpcExclROIList
const std::string & rpcExclROIList() const
Definition: L1Threshold.h:422
TrigConf::L1Threshold_EM::~L1Threshold_EM
virtual ~L1Threshold_EM() override=default
TrigConf::L1Threshold_eEM::~L1Threshold_eEM
virtual ~L1Threshold_eEM() override=default
TrigConf::L1Threshold_gJ
Definition: L1Threshold.h:305
TrigConf::L1Threshold_MU::ptBarrel
unsigned int ptBarrel() const
Definition: L1Threshold.h:413
TrigConf::L1Threshold::L1Threshold
L1Threshold()=default
Constructor.
TrigConf::L1Threshold_MU::m_tgcFlags
std::string m_tgcFlags
a logical expression like 'F & C | F & H | C & H'
Definition: L1Threshold.h:442
TrigConf::L1Threshold_EM
Definition: L1Threshold.h:17
TrigConf::L1Threshold
Standard L1 threshold configuration.
Definition: L1ThresholdBase.h:125
TrigConf::L1Threshold_ZBTopo::m_mask2
unsigned int m_mask2
Definition: L1Threshold.h:137
TrigConf::L1Threshold_jTE::className
virtual std::string className() const override
A string that is the name of the class.
Definition: L1Threshold.h:355
TrigConf::L1Threshold_jXE::L1Threshold_jXE
L1Threshold_jXE(const std::string &name, const std::string &type, std::weak_ptr< L1ThrExtraInfoBase > extraInfo, const ptree &data)
Definition: L1Threshold.h:337
TrigConf::L1Threshold_EM::print
void print(std::ostream &os=std::cout) const override
Definition: L1Threshold.cxx:38
TrigConf::L1Threshold_gLJ
Definition: L1Threshold.h:320
TrigConf::L1Threshold_TE::~L1Threshold_TE
virtual ~L1Threshold_TE() override=default