ATLAS Offline Software
L1DynamicPedestalProviderRoot.h
Go to the documentation of this file.
1 
2 /*
3  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4 */
12 #ifndef TRIGT1CALOTOOLS_L1DYNAMICPEDESTALPROVIDERROOT_H
13 #define TRIGT1CALOTOOLS_L1DYNAMICPEDESTALPROVIDERROOT_H
14 
16 
18 
19 #include <string>
20 
21 namespace LVL1
22 {
23 
34  {
35  public:
37  L1DynamicPedestalProviderRoot(const std::string&,const std::string&,const IInterface*);
38 
41 
43  virtual StatusCode initialize() override;
44 
46  virtual int dynamicPedestal(int iEta, int layer, int pedestal, int iBCID, float mu) const override;
47 
48  private:
49  std::string m_firRefFileName;
50 
51  static const int s_nElement = 33;
52  static const int s_nBcid = 350; // mc12: max 350 // all: 3564
55  }; // end of class L1DynamicPedestalProviderRoot
56 
57 } // end of namespace
58 
59 #endif //TRIGT1CALOTOOLS_L1DYNAMICPEDESTALPROVIDERROOT_H
LVL1::L1DynamicPedestalProviderRoot::m_firRefHad
int m_firRefHad[s_nElement][s_nBcid]
Definition: L1DynamicPedestalProviderRoot.h:54
LVL1::L1DynamicPedestalProviderRoot::s_nBcid
static const int s_nBcid
Definition: L1DynamicPedestalProviderRoot.h:52
LVL1::L1DynamicPedestalProviderRoot::m_firRefEm
int m_firRefEm[s_nElement][s_nBcid]
Definition: L1DynamicPedestalProviderRoot.h:53
IL1DynamicPedestalProvider.h
LVL1::L1DynamicPedestalProviderRoot::s_nElement
static const int s_nElement
Definition: L1DynamicPedestalProviderRoot.h:51
LVL1::L1DynamicPedestalProviderRoot::m_firRefFileName
std::string m_firRefFileName
Definition: L1DynamicPedestalProviderRoot.h:49
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::L1DynamicPedestalProviderRoot::L1DynamicPedestalProviderRoot
L1DynamicPedestalProviderRoot(const std::string &, const std::string &, const IInterface *)
constructor
Definition: L1DynamicPedestalProviderRoot.cxx:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
AthAlgTool.h
LVL1::L1DynamicPedestalProviderRoot::~L1DynamicPedestalProviderRoot
virtual ~L1DynamicPedestalProviderRoot()
default destructor
Definition: L1DynamicPedestalProviderRoot.cxx:32
LVL1::L1DynamicPedestalProviderRoot::initialize
virtual StatusCode initialize() override
standard Athena-Algorithm method
Definition: L1DynamicPedestalProviderRoot.cxx:37
LVL1::L1DynamicPedestalProviderRoot
Tool to retrieve dynamic pedestal values from externally provided ROOT files.
Definition: L1DynamicPedestalProviderRoot.h:34
LVL1::L1DynamicPedestalProviderRoot::dynamicPedestal
virtual int dynamicPedestal(int iEta, int layer, int pedestal, int iBCID, float mu) const override
retrieve the bcidCorrection value
Definition: L1DynamicPedestalProviderRoot.cxx:76
AthAlgTool
Definition: AthAlgTool.h:26
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
xAOD::iEta
setScale setgFexType iEta
Definition: gFexJetRoI_v1.cxx:74
LVL1::IL1DynamicPedestalProvider
Definition: IL1DynamicPedestalProvider.h:22