ATLAS Offline Software
gFEXDBCondData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 //***************************************************************************
5 // Interface for gFEXDBCondData - Tool to read the COOL DB for gFEX
6 // -------------------
7 // begin : 23 10 2024
8 // email : jared.little@cern.ch
9 //***************************************************************************
10 
11 #ifndef gFEXDBCondData_H
12 #define gFEXDBCondData_H
13 
14 #include "AthenaKernel/CLASS_DEF.h"
15 #include "AthenaKernel/CondCont.h"
16 #include <unordered_map>
17 
18 namespace LVL1 {
19 
21 {
22 
23  public:
24 
25  // getters
26  const std::array<int,12>& get_Aslopes() const;
27  const std::array<int,12>& get_Bslopes() const;
28  const std::array<int,12>& get_Cslopes() const;
29 
30  const std::array<int,12>& get_AnoiseCuts() const;
31  const std::array<int,12>& get_BnoiseCuts() const;
32  const std::array<int,12>& get_CnoiseCuts() const;
33 
34  // setters
35  void set_Aslopes(const std::array<int,12>& params);
36  void set_Bslopes(const std::array<int,12>& params);
37  void set_Cslopes(const std::array<int,12>& params);
38 
39  void set_AnoiseCuts(const std::array<int,12>& params);
40  void set_BnoiseCuts(const std::array<int,12>& params);
41  void set_CnoiseCuts(const std::array<int,12>& params);
42 
43  private:
44  std::array<int,12> m_Aslopes{0};
45  std::array<int,12> m_Bslopes{0};
46  std::array<int,12> m_Cslopes{0};
47 
48  std::array<int,12> m_AnoiseCuts{0};
49  std::array<int,12> m_BnoiseCuts{0};
50  std::array<int,12> m_CnoiseCuts{0};
51 
52 };
53 
54 } // end of namespace LVL1
55 
56 CLASS_DEF( LVL1::gFEXDBCondData , 188973968 , 1 )
57 CONDCONT_DEF( LVL1::gFEXDBCondData , 21542672 );
58 
59 #endif
LVL1::gFEXDBCondData::get_Aslopes
const std::array< int, 12 > & get_Aslopes() const
Definition: gFEXDBCondData.cxx:15
CondCont.h
Hold mappings of ranges to condition objects.
LVL1::gFEXDBCondData::set_Bslopes
void set_Bslopes(const std::array< int, 12 > &params)
Definition: gFEXDBCondData.cxx:39
LVL1::gFEXDBCondData::get_CnoiseCuts
const std::array< int, 12 > & get_CnoiseCuts() const
Definition: gFEXDBCondData.cxx:31
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::gFEXDBCondData::m_Aslopes
std::array< int, 12 > m_Aslopes
Definition: gFEXDBCondData.h:44
LVL1::gFEXDBCondData::set_Aslopes
void set_Aslopes(const std::array< int, 12 > &params)
Definition: gFEXDBCondData.cxx:36
LVL1::gFEXDBCondData::set_AnoiseCuts
void set_AnoiseCuts(const std::array< int, 12 > &params)
Definition: gFEXDBCondData.cxx:46
LVL1::gFEXDBCondData
Definition: gFEXDBCondData.h:21
LVL1::gFEXDBCondData::set_Cslopes
void set_Cslopes(const std::array< int, 12 > &params)
Definition: gFEXDBCondData.cxx:42
LVL1::gFEXDBCondData::get_AnoiseCuts
const std::array< int, 12 > & get_AnoiseCuts() const
Definition: gFEXDBCondData.cxx:25
LVL1::gFEXDBCondData::m_AnoiseCuts
std::array< int, 12 > m_AnoiseCuts
Definition: gFEXDBCondData.h:48
CONDCONT_DEF
CONDCONT_DEF(LVL1::gFEXDBCondData, 21542672)
LVL1::gFEXDBCondData::m_BnoiseCuts
std::array< int, 12 > m_BnoiseCuts
Definition: gFEXDBCondData.h:49
LVL1::gFEXDBCondData::m_CnoiseCuts
std::array< int, 12 > m_CnoiseCuts
Definition: gFEXDBCondData.h:50
LVL1::gFEXDBCondData::set_CnoiseCuts
void set_CnoiseCuts(const std::array< int, 12 > &params)
Definition: gFEXDBCondData.cxx:52
LVL1::gFEXDBCondData::get_Bslopes
const std::array< int, 12 > & get_Bslopes() const
Definition: gFEXDBCondData.cxx:18
LVL1::gFEXDBCondData::set_BnoiseCuts
void set_BnoiseCuts(const std::array< int, 12 > &params)
Definition: gFEXDBCondData.cxx:49
LVL1::gFEXDBCondData::get_Cslopes
const std::array< int, 12 > & get_Cslopes() const
Definition: gFEXDBCondData.cxx:21
LVL1::gFEXDBCondData::get_BnoiseCuts
const std::array< int, 12 > & get_BnoiseCuts() const
Definition: gFEXDBCondData.cxx:28
LVL1::gFEXDBCondData::m_Cslopes
std::array< int, 12 > m_Cslopes
Definition: gFEXDBCondData.h:46
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
LVL1::gFEXDBCondData::m_Bslopes
std::array< int, 12 > m_Bslopes
Definition: gFEXDBCondData.h:45
PowhegControl_ttFCNC_NLO.params
params
Definition: PowhegControl_ttFCNC_NLO.py:226
CLASS_DEF.h
macros to associate a CLID to a type