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::string& get_FWVersion() const;
27
28 const std::array<int,12>& get_Aslopes() const;
29 const std::array<int,12>& get_Bslopes() const;
30 const std::array<int,12>& get_Cslopes() const;
31
32 const std::array<int,12>& get_AnoiseCuts() const;
33 const std::array<int,12>& get_BnoiseCuts() const;
34 const std::array<int,12>& get_CnoiseCuts() const;
35
36 // setters
37 void set_FWVersion(const std::string& fwVersion);
38
39 void set_Aslopes(const std::array<int,12>& params);
40 void set_Bslopes(const std::array<int,12>& params);
41 void set_Cslopes(const std::array<int,12>& params);
42
43 void set_AnoiseCuts(const std::array<int,12>& params);
44 void set_BnoiseCuts(const std::array<int,12>& params);
45 void set_CnoiseCuts(const std::array<int,12>& params);
46
47 private:
48 std::string m_FWVersion{"0.0"};
49 std::array<int,12> m_Aslopes{};
50 std::array<int,12> m_Bslopes{};
51 std::array<int,12> m_Cslopes{};
52
53 std::array<int,12> m_AnoiseCuts{};
54 std::array<int,12> m_BnoiseCuts{};
55 std::array<int,12> m_CnoiseCuts{};
56
57};
58
59} // end of namespace LVL1
60
61CLASS_DEF( LVL1::gFEXDBCondData , 188973968 , 1 )
62CONDCONT_DEF( LVL1::gFEXDBCondData , 21542672 );
63
64#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
void set_FWVersion(const std::string &fwVersion)
std::array< int, 12 > m_Bslopes
const std::array< int, 12 > & get_CnoiseCuts() const
const std::string & get_FWVersion() 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...