ATLAS Offline Software
Loading...
Searching...
No Matches
CaloRescaleNoise.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5// CaloRescaleNoise.h
6//
7
8#ifndef CALOCONDPHYSALGS_CALORESCALENOISE_H
9#define CALOCONDPHYSALGS_CALORESCALENOISE_H
10
11// Gaudi includes
12
14#include "GaudiKernel/ToolHandle.h"
19
21#include "GaudiKernel/ITHistSvc.h"
22
23#include <string>
24
25class CaloNoise;
26class TTree;
28
30
31 public:
32 //Gaudi style constructor and execution methods
34 CaloRescaleNoise(const std::string& name, ISvcLocator* pSvcLocator);
37
39 virtual StatusCode initialize() override;
41 virtual StatusCode execute() override;
43 virtual StatusCode stop() override;
44
45 private:
46
47 //---------------------------------------------------
48 // Member variables
49 //---------------------------------------------------
50 ServiceHandle<ITHistSvc> m_thistSvc{this,"THistSvc","THistSvc"};
51
53
55 { this, "ElecNoiseKey", "electronicNoise", "SG key for electronic noise" };
57 { this, "PileupNoiseKey", "pileupNoise", "SG key for pileup noise" };
58
60 { this, "LArHVScaleCorr", "LArHVScaleCorrRecomputed", "" };
62 { this, "CablingKey", "LArOnOffIdMap", "SG Key of LArOnOffIdMapping object"};
64 { this, "OnlineLArHVScaleCorr", "LArHVScaleCorr", "" };
65
67 { this, "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store" };
69 {this,"CaloSuperCellDetDescrManager", "CaloSuperCellDetDescrManager", "SG Key for CaloSuperCellDetDescrManager in the Condition Store" };
70
71 BooleanProperty m_isSC{this, "SuperCell", false};
72 BooleanProperty m_absScaling{this, "absScaling", false};
73
74 int m_iCool{0};
75 int m_SubHash{0};
76 int m_Hash{0};
77 int m_OffId{0};
78 float m_eta{0.};
79 float m_phi{0.};
80 int m_layer{0};
81 int m_Gain{0};
82 float m_elecNoise{0.};
83 float m_pileupNoise{0.};
85 TTree* m_tree{};
86};
87#endif
Definition of CaloDetDescrManager.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Helper base class for offline cell identifiers.
const CaloCell_Base_ID * m_calo_id
virtual StatusCode stop() override
standard Athena-Algorithm method
virtual ~CaloRescaleNoise()
Default Destructor.
SG::ReadCondHandleKey< CaloNoise > m_elecNoiseKey
virtual StatusCode initialize() override
standard Athena-Algorithm method
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSCMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
BooleanProperty m_isSC
SG::ReadCondHandleKey< ILArHVScaleCorr > m_scaleCorrKey
BooleanProperty m_absScaling
SG::ReadCondHandleKey< CaloNoise > m_pileupNoiseKey
ServiceHandle< ITHistSvc > m_thistSvc
virtual StatusCode execute() override
standard Athena-Algorithm method
CaloRescaleNoise(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
SG::ReadCondHandleKey< ILArHVScaleCorr > m_onlineScaleCorrKey