ATLAS Offline Software
Loading...
Searching...
No Matches
CaloRescaleNoise.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
12
13// Gaudi includes
14
16#include "GaudiKernel/ToolHandle.h"
21
23#include "GaudiKernel/ITHistSvc.h"
24
25#include <string>
26
27class CaloNoise;
28class TTree;
30
32
33 public:
34 //Gaudi style constructor and execution methods
36 CaloRescaleNoise(const std::string& name, ISvcLocator* pSvcLocator);
38 virtual ~CaloRescaleNoise();
39
41 virtual StatusCode initialize() override;
43 virtual StatusCode execute() override;
45 virtual StatusCode finalize() override;
47 virtual StatusCode stop() override;
48
49 private:
50
51 //---------------------------------------------------
52 // Member variables
53 //---------------------------------------------------
54 ServiceHandle<ITHistSvc> m_thistSvc{this,"THistSvc","THistSvc"};
55
57
59 { this, "ElecNoiseKey", "electronicNoise", "SG key for electronic noise" };
61 { this, "PileupNoiseKey", "pileupNoise", "SG key for pileup noise" };
62
64 { this, "LArHVScaleCorr", "LArHVScaleCorrRecomputed", "" };
66 { this, "CablingKey", "LArOnOffIdMap", "SG Key of LArOnOffIdMapping object"};
68 { this, "OnlineLArHVScaleCorr", "LArHVScaleCorr", "" };
69
71 { this, "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store" };
72 SG::ReadCondHandleKey<CaloSuperCellDetDescrManager> m_caloSCMgrKey {this,"CaloSuperCellDetDescrManager", "CaloSuperCellDetDescrManager", "SG Key for CaloSuperCellDetDescrManager in the Condition Store" };
73
74 BooleanProperty m_isSC{this, "SuperCell", false};
75
76 int m_iCool{};
77 int m_SubHash{};
78 int m_Hash{};
79 int m_OffId{};
80 float m_eta{};
81 float m_phi{};
82 int m_layer{};
83 int m_Gain{};
84 float m_elecNoise{};
85 float m_pileupNoise{};
87 TTree* m_tree{};
89};
90#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
virtual StatusCode finalize() override
standard Athena-Algorithm method
SG::ReadCondHandleKey< ILArHVScaleCorr > m_scaleCorrKey
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