ATLAS Offline Software
Simulation
G4Atlas
G4AtlasTests
src
CaloCalibrationHitsTestTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
11
#ifndef G4ATLASTESTS_CALOCALIBRATIONHITSTESTTOOL_H
12
#define G4ATLASTESTS_CALOCALIBRATIONHITSTESTTOOL_H
13
14
#include "
SimTestToolBase.h
"
15
#include "
CaloDetDescr/CaloDetDescrManager.h
"
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
18
class
CaloCalibrationHitsTestTool
:
public
SimTestToolBase
{
19
20
21
public
:
22
23
CaloCalibrationHitsTestTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
);
24
25
virtual
StatusCode
initialize
()
override
;
26
virtual
StatusCode
processEvent
()
override
;
27
28
private
:
29
// keys
30
std::string
m_calibHitType
;
31
std::string
m_hitcollkey
;
32
33
//--histos--//
34
TH1 *
m_eta
, *
m_phi
, *
m_eEM
, *
m_eNonEM
, *
m_eInv
, *
m_eEsc
, *
m_eTot
;
35
TH2 *
m_rz
, *
m_etaphi
;
36
TH1 *
m_eTot_partID
, *
m_eTot_eta
, *
m_eTot_phi
;
37
TH1 *
m_partID_large
, *
m_partID_small
;
38
39
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{ this
40
,
"CaloDetDescrManager"
41
,
"CaloDetDescrManager"
42
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
43
44
};
45
46
#endif
CaloCalibrationHitsTestTool::initialize
virtual StatusCode initialize() override
Definition:
CaloCalibrationHitsTestTool.cxx:28
CaloCalibrationHitsTestTool::m_eEM
TH1 * m_eEM
Definition:
CaloCalibrationHitsTestTool.h:34
CaloCalibrationHitsTestTool::m_phi
TH1 * m_phi
Definition:
CaloCalibrationHitsTestTool.h:34
CaloCalibrationHitsTestTool::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition:
CaloCalibrationHitsTestTool.h:39
CaloCalibrationHitsTestTool::m_etaphi
TH2 * m_etaphi
Definition:
CaloCalibrationHitsTestTool.h:35
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloCalibrationHitsTestTool::m_partID_small
TH1 * m_partID_small
Definition:
CaloCalibrationHitsTestTool.h:37
CaloCalibrationHitsTestTool
Definition:
CaloCalibrationHitsTestTool.h:18
SimTestToolBase
Definition:
SimTestToolBase.h:20
CaloCalibrationHitsTestTool::m_eNonEM
TH1 * m_eNonEM
Definition:
CaloCalibrationHitsTestTool.h:34
SimTestToolBase.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloCalibrationHitsTestTool::m_rz
TH2 * m_rz
Definition:
CaloCalibrationHitsTestTool.h:35
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
ReadCondHandleKey.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
CaloCalibrationHitsTestTool::m_eta
TH1 * m_eta
Definition:
CaloCalibrationHitsTestTool.h:34
CaloCalibrationHitsTestTool::m_eTot
TH1 * m_eTot
Definition:
CaloCalibrationHitsTestTool.h:34
SG::ReadCondHandleKey< CaloDetDescrManager >
CaloCalibrationHitsTestTool::m_partID_large
TH1 * m_partID_large
Definition:
CaloCalibrationHitsTestTool.h:37
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
CaloCalibrationHitsTestTool::m_calibHitType
std::string m_calibHitType
Definition:
CaloCalibrationHitsTestTool.h:30
CaloCalibrationHitsTestTool::m_eTot_phi
TH1 * m_eTot_phi
Definition:
CaloCalibrationHitsTestTool.h:36
CaloCalibrationHitsTestTool::m_eEsc
TH1 * m_eEsc
Definition:
CaloCalibrationHitsTestTool.h:34
CaloCalibrationHitsTestTool::processEvent
virtual StatusCode processEvent() override
Definition:
CaloCalibrationHitsTestTool.cxx:71
CaloCalibrationHitsTestTool::m_hitcollkey
std::string m_hitcollkey
Definition:
CaloCalibrationHitsTestTool.h:31
CaloCalibrationHitsTestTool::CaloCalibrationHitsTestTool
CaloCalibrationHitsTestTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
CaloCalibrationHitsTestTool.cxx:17
CaloCalibrationHitsTestTool::m_eTot_partID
TH1 * m_eTot_partID
Definition:
CaloCalibrationHitsTestTool.h:36
CaloCalibrationHitsTestTool::m_eTot_eta
TH1 * m_eTot_eta
Definition:
CaloCalibrationHitsTestTool.h:36
CaloCalibrationHitsTestTool::m_eInv
TH1 * m_eInv
Definition:
CaloCalibrationHitsTestTool.h:34
Generated on Sun Dec 22 2024 21:07:43 for ATLAS Offline Software by
1.8.18