ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
CaloSysD3PDMaker
src
LArHitFillerTool.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
8
#ifndef CALOSYSD3PDMAKER_LARHITFILLERTOOL_H
9
#define CALOSYSD3PDMAKER_LARHITFILLERTOOL_H
10
11
#include "
D3PDMakerUtils/BlockFillerTool.h
"
12
#include "
D3PDMakerUtils/SGCollectionGetterTool.h
"
13
#include "
LArSimEvent/LArHitContainer.h
"
14
#include "
CaloDetDescr/CaloDetDescrManager.h
"
15
#include "
StoreGate/ReadCondHandleKey.h
"
16
17
class
Identifier
;
18
class
LArEM_ID
;
19
class
LArHEC_ID
;
20
class
LArFCAL_ID
;
21
class
TileID
;
22
class
LArOnlineID
;
23
24
#include "
LArSimEvent/LArHit.h
"
25
26
27
namespace
D3PD
{
28
31
32
class
LArHitContainerGetterTool
33
:
public
D3PD::SGCollectionGetterTool
<LArHitContainer>
34
{
35
public
:
36
LArHitContainerGetterTool
(
const
std::string&
type
,
37
const
std::string& name,
38
const
IInterface* parent)
39
:
SGCollectionGetterTool
<
LArHitContainer
>
40
(
type
, name, parent) {}
41
};
42
43
44
45
46
50
class
LArHitFillerTool
51
:
public
BlockFillerTool
<LArHit>
52
{
53
public
:
60
LArHitFillerTool
(
const
std::string&
type
,
61
const
std::string& name,
62
const
IInterface* parent);
63
64
66
virtual
StatusCode
initialize
()
override
;
67
68
70
virtual
StatusCode
book
()
override
;
71
80
virtual
StatusCode
fill
(
const
LArHit
& p)
override
;
81
82
private
:
83
85
float
*
m_eta
;
86
float
*
m_phi
;
87
float
*
m_e
;
88
float
*
m_time
;
89
unsigned
int
*
m_id
;
90
91
// idHelper
92
const
LArEM_ID
*
m_emid
;
93
const
LArFCAL_ID
*
m_fcalid
;
94
const
LArHEC_ID
*
m_hecid
;
95
const
TileID
*
m_tileid
;
96
const
LArOnlineID
*
m_onlineid
;
97
unsigned
int
CaloCell_GetDetectorInfo
(
Identifier
&cellID);
98
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{ this
99
,
"CaloDetDescrManager"
100
,
"CaloDetDescrManager"
101
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
102
103
};
104
105
106
}
// namespace D3PD
107
108
109
#endif
// not CALOSYSD3PDMAKER_LARHITFILLERTOOL_H
BlockFillerTool.h
Type-safe wrapper for block filler tools.
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
LArHitContainer.h
LArHit.h
ReadCondHandleKey.h
SGCollectionGetterTool.h
Collection getter tool retrieving a container from StoreGate.
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition
BlockFillerTool.h:65
D3PD::LArHitContainerGetterTool::LArHitContainerGetterTool
LArHitContainerGetterTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
LArHitFillerTool.h:36
D3PD::LArHitFillerTool::m_tileid
const TileID * m_tileid
Definition
LArHitFillerTool.h:95
D3PD::LArHitFillerTool::m_hecid
const LArHEC_ID * m_hecid
Definition
LArHitFillerTool.h:94
D3PD::LArHitFillerTool::m_emid
const LArEM_ID * m_emid
Definition
LArHitFillerTool.h:92
D3PD::LArHitFillerTool::LArHitFillerTool
LArHitFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
LArHitFillerTool.cxx:38
D3PD::LArHitFillerTool::CaloCell_GetDetectorInfo
unsigned int CaloCell_GetDetectorInfo(Identifier &cellID)
Definition
LArHitFillerTool.cxx:115
D3PD::LArHitFillerTool::m_fcalid
const LArFCAL_ID * m_fcalid
Definition
LArHitFillerTool.h:93
D3PD::LArHitFillerTool::m_onlineid
const LArOnlineID * m_onlineid
Definition
LArHitFillerTool.h:96
D3PD::LArHitFillerTool::m_e
float * m_e
Definition
LArHitFillerTool.h:87
D3PD::LArHitFillerTool::m_id
unsigned int * m_id
Definition
LArHitFillerTool.h:89
D3PD::LArHitFillerTool::m_time
float * m_time
Definition
LArHitFillerTool.h:88
D3PD::LArHitFillerTool::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition
LArHitFillerTool.cxx:56
D3PD::LArHitFillerTool::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
LArHitFillerTool.h:98
D3PD::LArHitFillerTool::m_eta
float * m_eta
Variable: time, quality and id.
Definition
LArHitFillerTool.h:85
D3PD::LArHitFillerTool::book
virtual StatusCode book() override
Book variables for this block.
Definition
LArHitFillerTool.cxx:75
D3PD::LArHitFillerTool::m_phi
float * m_phi
Definition
LArHitFillerTool.h:86
D3PD::SGCollectionGetterTool
Collection getter tool retrieving a container from StoreGate.
Definition
SGCollectionGetterTool.h:41
D3PD::SGCollectionGetterTool< LArHitContainer >::SGCollectionGetterTool
SGCollectionGetterTool(const std::string &type, const std::string &name, const IInterface *parent)
LArEM_ID
Helper class for LArEM offline identifiers.
Definition
LArEM_ID.h:111
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition
LArFCAL_ID.h:49
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition
LArHEC_ID.h:76
LArHitContainer
Hit collection.
Definition
LArHitContainer.h:26
LArHit
Class to store hit energy and time in LAr cell from G4 simulation.
Definition
LArHit.h:25
LArOnlineID
Definition
LArOnlineID.h:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
TileID
Helper class for TileCal offline identifiers.
Definition
TileID.h:67
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
D3PD::fill
virtual StatusCode fill()
Fill one object.
Identifier
Definition
IdentifierFieldParser.cxx:14
type
Generated on
for ATLAS Offline Software by
1.17.0