ATLAS Offline Software
JGTowerNoiseAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOFEXPERF_JGTOWERNOISEALG_H
6 #define TRIGT1CALOFEXPERF_JGTOWERNOISEALG_H
7 
11 #include "TProfile.h"
12 #include "TH1.h"
13 #include "TFile.h"
14 
15 namespace LVL1
16 {
18  {
19  public:
20  JGTowerNoiseAlg(const std::string &name, ISvcLocator *pSvcLocator);
21  virtual ~JGTowerNoiseAlg() override;
22 
23  virtual StatusCode initialize() override;
24  virtual StatusCode execute(const EventContext& ctx) const override;
25 
26  private:
28  std::string m_noiseFile;
29  bool m_doJFex;
31 
32  // Detector eta binning
33  std::vector<float> m_etaBins;
34  // Noise values for the full detector (for gFEX)
35  std::vector<float> m_noiseValues;
36  // Split detector noise values (for jFEX)
37  std::vector<float> m_noiseValuesEM;
38  std::vector<float> m_noiseValuesHAD;
39  std::map<std::size_t, float> m_noiseValuesFCAL;
40  }; //> end class JGTowerNoiseAlg
41 } // namespace LVL1
42 
43 #endif //> !TRIGT1CALOFEXPERF_JGTOWERNOISEALG_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
LVL1::JGTowerNoiseAlg::m_noiseFile
std::string m_noiseFile
Definition: JGTowerNoiseAlg.h:28
LVL1::JGTowerNoiseAlg::initialize
virtual StatusCode initialize() override
Definition: JGTowerNoiseAlg.cxx:32
LVL1::JGTowerNoiseAlg::m_noiseValuesFCAL
std::map< std::size_t, float > m_noiseValuesFCAL
Definition: JGTowerNoiseAlg.h:39
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::JGTowerNoiseAlg::JGTowerNoiseAlg
JGTowerNoiseAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: JGTowerNoiseAlg.cxx:21
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LVL1::JGTowerNoiseAlg::m_inputKey
SG::ReadHandleKey< xAOD::JGTowerContainer > m_inputKey
Definition: JGTowerNoiseAlg.h:27
LVL1::JGTowerNoiseAlg::~JGTowerNoiseAlg
virtual ~JGTowerNoiseAlg() override
Definition: JGTowerNoiseAlg.cxx:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::JGTowerNoiseAlg::m_noiseValuesEM
std::vector< float > m_noiseValuesEM
Definition: JGTowerNoiseAlg.h:37
LVL1::JGTowerNoiseAlg::m_defaultNoise
float m_defaultNoise
Definition: JGTowerNoiseAlg.h:30
TrigConf::name
Definition: HLTChainList.h:35
LVL1::JGTowerNoiseAlg
Definition: JGTowerNoiseAlg.h:18
AthReentrantAlgorithm.h
LVL1::JGTowerNoiseAlg::m_noiseValues
std::vector< float > m_noiseValues
Definition: JGTowerNoiseAlg.h:35
LVL1::JGTowerNoiseAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: JGTowerNoiseAlg.cxx:110
LVL1::JGTowerNoiseAlg::m_noiseValuesHAD
std::vector< float > m_noiseValuesHAD
Definition: JGTowerNoiseAlg.h:38
JGTowerContainer.h
LVL1::JGTowerNoiseAlg::m_etaBins
std::vector< float > m_etaBins
Definition: JGTowerNoiseAlg.h:33
LVL1::JGTowerNoiseAlg::m_doJFex
bool m_doJFex
Definition: JGTowerNoiseAlg.h:29