ATLAS Offline Software
Loading...
Searching...
No Matches
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
16#include <unordered_map>
17
18namespace 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
56CLASS_DEF( LVL1::gFEXDBCondData , 188973968 , 1 )
57CONDCONT_DEF( LVL1::gFEXDBCondData , 21542672 );
58
59#endif
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void set_AnoiseCuts(const std::array< int, 12 > &params)
void set_Aslopes(const std::array< int, 12 > &params)
const std::array< int, 12 > & get_Cslopes() const
void set_Bslopes(const std::array< int, 12 > &params)
std::array< int, 12 > m_BnoiseCuts
std::array< int, 12 > m_AnoiseCuts
void set_BnoiseCuts(const std::array< int, 12 > &params)
std::array< int, 12 > m_Aslopes
void set_Cslopes(const std::array< int, 12 > &params)
const std::array< int, 12 > & get_Bslopes() const
std::array< int, 12 > m_Cslopes
const std::array< int, 12 > & get_AnoiseCuts() const
const std::array< int, 12 > & get_BnoiseCuts() const
const std::array< int, 12 > & get_Aslopes() const
std::array< int, 12 > m_Bslopes
const std::array< int, 12 > & get_CnoiseCuts() const
std::array< int, 12 > m_CnoiseCuts
void set_CnoiseCuts(const std::array< int, 12 > &params)
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...