ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCafJobs
LArCafJobs
LArHECNoise.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
#ifndef LARCAFJOBS_LARHECNOISE_H
6
#define LARCAFJOBS_LARHECNOISE_H
7
8
//LAr services:
9
#include "
LArCabling/LArOnOffIdMapping.h
"
10
#include "
CaloDetDescr/CaloDetDescrManager.h
"
11
#include "
LArElecCalib/ILArPedestal.h
"
12
13
// Trigger
14
#include "
TrigDecisionTool/TrigDecisionTool.h
"
15
16
//Framework
17
#include "
StoreGate/ReadCondHandleKey.h
"
18
#include "GaudiKernel/ToolHandle.h"
19
#include "
AthenaBaseComps/AthAlgorithm.h
"
20
#include "GaudiKernel/ITHistSvc.h"
21
22
//STL:
23
#include <string>
24
25
26
class
LArOnlineID
;
27
28
class
TTree;
29
30
class
LArHECNoise
:
public
AthAlgorithm
{
31
32
public
:
33
34
LArHECNoise
(
const
std::string& name, ISvcLocator* pSvcLocator);
35
~LArHECNoise
();
36
37
virtual
StatusCode
initialize
()
override
;
38
virtual
StatusCode
finalize
()
override
;
39
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
40
41
private
:
42
43
ServiceHandle<ITHistSvc>
m_thistSvc
{
this
,
"THistSvc"
,
"THistSvc"
};
44
45
TTree*
m_tree
{};
46
47
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
48
SG::ReadCondHandleKey<ILArPedestal>
m_pedKey
{
this
,
"PedestalKey"
,
"LArPedestal"
,
"SG Key of Pedestal obj"
};
49
/*Tools*/
50
51
PublicToolHandle< Trig::TrigDecisionTool >
m_trigDec
{
this
,
"TrigDecisionTool"
,
""
,
"Handle to the TrigDecisionTool"
};
52
53
/*services*/
54
const
LArOnlineID
*
m_LArOnlineIDHelper
;
55
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{ this
56
,
"CaloDetDescrManager"
57
,
"CaloDetDescrManager"
58
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
59
60
const
CaloCell_ID
*
m_calocell_id
;
61
62
/*declaration of branches*/
63
int
m_nt_run
;
64
int
m_nt_evtId
;
65
int
m_nt_evtCount
;
66
int
m_nt_evtTime
;
67
int
m_nt_evtTime_ns
;
68
int
m_nt_lb
;
69
int
m_nt_bcid
;
70
int
m_nt_gain
;
71
int
m_nt_side
;
72
int
m_nt_samp
;
73
int
m_nt_reg
;
74
int
m_nt_ieta
;
75
int
m_nt_iphi
;
76
int
m_nt_quality
;
77
short
m_nt_digi
[32];
78
int
m_nt_max
;
79
int
m_nt_min
;
80
long
m_nt_OID
;
81
float
m_nt_avgMu
;
82
float
m_nt_actMu
;
83
float
m_nt_e
;
84
float
m_nt_t
;
85
float
m_nt_eta
;
86
float
m_nt_phi
;
87
float
m_nt_z
;
88
float
m_nt_r
;
89
float
m_nt_ped
;
90
float
m_nt_pedRMS
;
91
std::vector<float>
m_nt_prescale
;
92
std::vector<int>
m_nt_trigger
;
93
94
// other members
95
std::vector<std::string>
m_TriggerLines
;
96
int
m_MinDigitADC
;
97
int
m_MaxDeltaT
;
98
99
100
};
101
102
#endif
// LArHECNoise_H
103
AthAlgorithm.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ILArPedestal.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
TrigDecisionTool.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
LArHECNoise::initialize
virtual StatusCode initialize() override
Definition
LArHECNoise.cxx:78
LArHECNoise::m_nt_reg
int m_nt_reg
Definition
LArHECNoise.h:73
LArHECNoise::m_pedKey
SG::ReadCondHandleKey< ILArPedestal > m_pedKey
Definition
LArHECNoise.h:48
LArHECNoise::m_trigDec
PublicToolHandle< Trig::TrigDecisionTool > m_trigDec
Definition
LArHECNoise.h:51
LArHECNoise::m_nt_z
float m_nt_z
Definition
LArHECNoise.h:87
LArHECNoise::m_MinDigitADC
int m_MinDigitADC
Definition
LArHECNoise.h:96
LArHECNoise::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
LArHECNoise.h:55
LArHECNoise::m_nt_ieta
int m_nt_ieta
Definition
LArHECNoise.h:74
LArHECNoise::m_LArOnlineIDHelper
const LArOnlineID * m_LArOnlineIDHelper
Definition
LArHECNoise.h:54
LArHECNoise::m_nt_lb
int m_nt_lb
Definition
LArHECNoise.h:68
LArHECNoise::m_thistSvc
ServiceHandle< ITHistSvc > m_thistSvc
Definition
LArHECNoise.h:43
LArHECNoise::m_nt_evtTime
int m_nt_evtTime
Definition
LArHECNoise.h:66
LArHECNoise::m_nt_digi
short m_nt_digi[32]
Definition
LArHECNoise.h:77
LArHECNoise::finalize
virtual StatusCode finalize() override
Definition
LArHECNoise.cxx:151
LArHECNoise::m_nt_ped
float m_nt_ped
Definition
LArHECNoise.h:89
LArHECNoise::m_nt_run
int m_nt_run
Definition
LArHECNoise.h:63
LArHECNoise::m_nt_r
float m_nt_r
Definition
LArHECNoise.h:88
LArHECNoise::m_nt_side
int m_nt_side
Definition
LArHECNoise.h:71
LArHECNoise::m_nt_bcid
int m_nt_bcid
Definition
LArHECNoise.h:69
LArHECNoise::m_nt_samp
int m_nt_samp
Definition
LArHECNoise.h:72
LArHECNoise::m_nt_trigger
std::vector< int > m_nt_trigger
Definition
LArHECNoise.h:92
LArHECNoise::m_nt_actMu
float m_nt_actMu
Definition
LArHECNoise.h:82
LArHECNoise::m_TriggerLines
std::vector< std::string > m_TriggerLines
Definition
LArHECNoise.h:95
LArHECNoise::m_nt_pedRMS
float m_nt_pedRMS
Definition
LArHECNoise.h:90
LArHECNoise::m_nt_t
float m_nt_t
Definition
LArHECNoise.h:84
LArHECNoise::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
LArHECNoise.cxx:157
LArHECNoise::m_nt_evtCount
int m_nt_evtCount
Definition
LArHECNoise.h:65
LArHECNoise::m_nt_max
int m_nt_max
Definition
LArHECNoise.h:78
LArHECNoise::m_nt_quality
int m_nt_quality
Definition
LArHECNoise.h:76
LArHECNoise::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArHECNoise.h:47
LArHECNoise::m_nt_avgMu
float m_nt_avgMu
Definition
LArHECNoise.h:81
LArHECNoise::m_nt_prescale
std::vector< float > m_nt_prescale
Definition
LArHECNoise.h:91
LArHECNoise::m_nt_phi
float m_nt_phi
Definition
LArHECNoise.h:86
LArHECNoise::~LArHECNoise
~LArHECNoise()
LArHECNoise::m_tree
TTree * m_tree
Definition
LArHECNoise.h:45
LArHECNoise::m_nt_evtTime_ns
int m_nt_evtTime_ns
Definition
LArHECNoise.h:67
LArHECNoise::m_calocell_id
const CaloCell_ID * m_calocell_id
Definition
LArHECNoise.h:60
LArHECNoise::m_MaxDeltaT
int m_MaxDeltaT
Definition
LArHECNoise.h:97
LArHECNoise::m_nt_evtId
int m_nt_evtId
Definition
LArHECNoise.h:64
LArHECNoise::m_nt_gain
int m_nt_gain
Definition
LArHECNoise.h:70
LArHECNoise::m_nt_e
float m_nt_e
Definition
LArHECNoise.h:83
LArHECNoise::m_nt_min
int m_nt_min
Definition
LArHECNoise.h:79
LArHECNoise::m_nt_OID
long m_nt_OID
Definition
LArHECNoise.h:80
LArHECNoise::m_nt_iphi
int m_nt_iphi
Definition
LArHECNoise.h:75
LArHECNoise::LArHECNoise
LArHECNoise(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
LArHECNoise.cxx:27
LArHECNoise::m_nt_eta
float m_nt_eta
Definition
LArHECNoise.h:85
LArOnlineID
Definition
LArOnlineID.h:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0