ATLAS Offline Software
Simulation
G4Atlas
G4AtlasTests
src
LArHitsTestTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef G4ATLASTESTS_LARHITSTESTTOOL
6
#define G4ATLASTESTS_LARHITSTESTTOOL
7
8
#include "
SimTestToolBase.h
"
9
#include "
CaloDetDescr/CaloDetDescrManager.h
"
10
#include "
StoreGate/ReadCondHandleKey.h
"
11
12
class
LArHitsTestTool
:
public
SimTestToolBase
{
13
14
15
public
:
16
17
LArHitsTestTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
);
18
19
virtual
StatusCode
initialize
()
override
;
20
21
virtual
StatusCode
processEvent
()
override
;
22
23
protected
:
24
std::string
m_detname
;
25
double
m_edep_cut
;
26
27
// globals
28
TH1 *
m_lar_eta
, *
m_lar_phi
;
29
TH2 *
m_lar_zr
, *
m_lar_etaphi
;
30
TH2 *
m_lar_edep_zr
;
31
32
// locals (EMB EMEC FCAL HEC)
33
TH1 *
m_eta
, *
m_phi
;
34
TH2 *
m_zr
, *
m_etaphi
;
35
TH1 *
m_time
, *
m_edep
, *
m_log_edep
;
36
TH2 *
m_edep_zr
;
37
TH1 *
m_eta_cut1
, *
m_phi_cut1
;
38
TH2 *
m_zr_cut1
, *
m_etaphi_cut1
;
39
TH1 *
m_time_cut1
, *
m_edep_cut1
;
40
TH2 *
m_edep_zr_cut1
;
41
42
TH1 *
m_etot
;
43
TH1 *
m_edep_eta
, *
m_edep_phi
;
44
TH1 *
m_edep_z
, *
m_edep_r
;
45
TH1 *
m_etot_eta
, *
m_etot_phi
;
46
47
private
:
48
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{ this
49
,
"CaloDetDescrManager"
50
,
"CaloDetDescrManager"
51
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
52
53
};
54
55
#endif
LArHitsTestTool::m_edep_z
TH1 * m_edep_z
Definition:
LArHitsTestTool.h:44
LArHitsTestTool::m_edep_cut1
TH1 * m_edep_cut1
Definition:
LArHitsTestTool.h:39
LArHitsTestTool::m_log_edep
TH1 * m_log_edep
Definition:
LArHitsTestTool.h:35
LArHitsTestTool::m_edep
TH1 * m_edep
Definition:
LArHitsTestTool.h:35
LArHitsTestTool::m_edep_r
TH1 * m_edep_r
Definition:
LArHitsTestTool.h:44
LArHitsTestTool::m_etaphi_cut1
TH2 * m_etaphi_cut1
Definition:
LArHitsTestTool.h:38
LArHitsTestTool::m_zr
TH2 * m_zr
Definition:
LArHitsTestTool.h:34
LArHitsTestTool::m_etot_phi
TH1 * m_etot_phi
Definition:
LArHitsTestTool.h:45
LArHitsTestTool::m_edep_zr
TH2 * m_edep_zr
Definition:
LArHitsTestTool.h:36
LArHitsTestTool
Definition:
LArHitsTestTool.h:12
LArHitsTestTool::m_etot_eta
TH1 * m_etot_eta
Definition:
LArHitsTestTool.h:45
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
LArHitsTestTool::m_edep_eta
TH1 * m_edep_eta
Definition:
LArHitsTestTool.h:43
LArHitsTestTool::m_edep_zr_cut1
TH2 * m_edep_zr_cut1
Definition:
LArHitsTestTool.h:40
LArHitsTestTool::m_lar_phi
TH1 * m_lar_phi
Definition:
LArHitsTestTool.h:28
LArHitsTestTool::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition:
LArHitsTestTool.h:48
SimTestToolBase
Definition:
SimTestToolBase.h:20
SimTestToolBase.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArHitsTestTool::m_eta_cut1
TH1 * m_eta_cut1
Definition:
LArHitsTestTool.h:37
LArHitsTestTool::m_zr_cut1
TH2 * m_zr_cut1
Definition:
LArHitsTestTool.h:38
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
LArHitsTestTool::m_eta
TH1 * m_eta
Definition:
LArHitsTestTool.h:33
LArHitsTestTool::m_etaphi
TH2 * m_etaphi
Definition:
LArHitsTestTool.h:34
ReadCondHandleKey.h
LArHitsTestTool::m_phi_cut1
TH1 * m_phi_cut1
Definition:
LArHitsTestTool.h:37
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
LArHitsTestTool::m_phi
TH1 * m_phi
Definition:
LArHitsTestTool.h:33
LArHitsTestTool::LArHitsTestTool
LArHitsTestTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
LArHitsTestTool.cxx:17
LArHitsTestTool::processEvent
virtual StatusCode processEvent() override
Definition:
LArHitsTestTool.cxx:116
SG::ReadCondHandleKey< CaloDetDescrManager >
LArHitsTestTool::m_edep_phi
TH1 * m_edep_phi
Definition:
LArHitsTestTool.h:43
LArHitsTestTool::m_lar_etaphi
TH2 * m_lar_etaphi
Definition:
LArHitsTestTool.h:29
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
LArHitsTestTool::m_time_cut1
TH1 * m_time_cut1
Definition:
LArHitsTestTool.h:39
LArHitsTestTool::m_edep_cut
double m_edep_cut
Definition:
LArHitsTestTool.h:25
LArHitsTestTool::m_lar_edep_zr
TH2 * m_lar_edep_zr
Definition:
LArHitsTestTool.h:30
LArHitsTestTool::initialize
virtual StatusCode initialize() override
Definition:
LArHitsTestTool.cxx:40
LArHitsTestTool::m_lar_eta
TH1 * m_lar_eta
Definition:
LArHitsTestTool.h:28
LArHitsTestTool::m_detname
std::string m_detname
Definition:
LArHitsTestTool.h:24
LArHitsTestTool::m_time
TH1 * m_time
Definition:
LArHitsTestTool.h:35
LArHitsTestTool::m_etot
TH1 * m_etot
Definition:
LArHitsTestTool.h:42
LArHitsTestTool::m_lar_zr
TH2 * m_lar_zr
Definition:
LArHitsTestTool.h:29
Generated on Thu Nov 7 2024 21:19:41 for ATLAS Offline Software by
1.8.18