ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
CaloSysD3PDMaker
src
LArSCHitFillerTool.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
13
14
#ifndef CALOSYSD3PDMAKER_LARSCHITFILLERTOOL_H
15
#define CALOSYSD3PDMAKER_LARSCHITFILLERTOOL_H
16
17
// Gaudi/Athena include(s):
18
#include "GaudiKernel/ToolHandle.h"
19
#include "
StoreGate/ReadCondHandleKey.h
"
20
#include "
D3PDMakerUtils/BlockFillerTool.h
"
21
#include "
D3PDMakerUtils/SGCollectionGetterTool.h
"
22
#include "
LArSimEvent/LArHitContainer.h
"
23
#include "
LArElecCalib/ILArfSampl.h
"
24
#include "
CaloDetDescr/ICaloSuperCellIDTool.h
"
25
#include "
CaloDetDescr/CaloDetDescrManager.h
"
26
#include <vector>
27
#include <list>
28
#include <map>
29
30
// Forward declaration(s):
31
class
LArEM_ID
;
32
class
LArFCAL_ID
;
33
class
LArHEC_ID
;
34
class
TileID
;
35
class
LArOnlineID
;
36
class
Identifier
;
37
38
class
CaloCell_SuperCell_ID
;
39
40
#include "
LArSimEvent/LArHit.h
"
41
42
namespace
D3PD
{
43
44
48
class
LArSCHitFillerTool
49
:
public
BlockFillerTool
<LArHitContainer>
50
{
51
public
:
58
LArSCHitFillerTool
(
const
std::string&
type
,
59
const
std::string& name,
60
const
IInterface* parent);
61
62
64
virtual
StatusCode
initialize
();
65
virtual
StatusCode
book
();
66
// virtual StatusCode handle(const Incident&);
67
virtual
StatusCode
fill
(
const
LArHitContainer
& p);
68
69
private
:
70
71
const
LArEM_ID
*
m_emid
;
72
const
LArFCAL_ID
*
m_fcalid
;
73
const
LArHEC_ID
*
m_hecid
;
74
const
TileID
*
m_tileid
;
75
const
LArOnlineID
*
m_onlineHelper
;
76
const
ILArfSampl
*
m_dd_fSampl
;
77
79
int
*
m_nSC
;
80
std::vector<double> *
m_E
;
81
std::vector<double> *
m_eta
;
82
std::vector<double> *
m_phi
;
83
std::vector<double> *
m_Eoff
;
84
std::vector<double> *
m_Et
;
85
std::vector<double> *
m_fsampl
;
86
87
std::vector<int> *
m_calo
;
88
std::vector<int> *
m_region
;
89
std::vector<int> *
m_sampling
;
90
std::vector<int> *
m_ieta
;
91
std::vector<int> *
m_jphi
;
92
std::vector<unsigned int> *
m_offlId
;
93
94
std::vector<float>
m_etaCut
;
95
std::vector<float>
m_phiCut
;
96
std::vector< unsigned int >
m_caloNums
;
97
std::vector< unsigned int >
m_caloLayers
;
98
99
bool
m_caloEtaSelection
;
100
bool
m_caloPhiSelection
;
101
bool
m_caloLayerSelection
;
102
bool
m_caloSelection
;
103
104
106
ToolHandle<ICaloSuperCellIDTool>
m_scidtool
;
107
108
SG::ReadCondHandleKey<CaloSuperCellDetDescrManager>
m_caloSuperCellMgrKey
{
109
this
,
"CaloSuperCellDetDescrManager"
,
"CaloSuperCellDetDescrManager"
,
"SG key of the resulting CaloSuperCellDetDescrManager"
};
110
112
const
CaloCell_SuperCell_ID
*
m_sc_idHelper
;
113
114
};
115
116
117
}
// namespace D3PD
118
119
120
#endif
// not CALOSYSD3PDMAKER_LARSCHITFILLERTOOL_H
BlockFillerTool.h
Type-safe wrapper for block filler tools.
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ICaloSuperCellIDTool.h
ILArfSampl.h
LArHitContainer.h
LArHit.h
ReadCondHandleKey.h
SGCollectionGetterTool.h
Collection getter tool retrieving a container from StoreGate.
CaloCell_SuperCell_ID
Helper class for offline supercell identifiers.
Definition
CaloCell_SuperCell_ID.h:45
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition
BlockFillerTool.h:65
D3PD::LArSCHitFillerTool::m_offlId
std::vector< unsigned int > * m_offlId
Definition
LArSCHitFillerTool.h:92
D3PD::LArSCHitFillerTool::m_jphi
std::vector< int > * m_jphi
Definition
LArSCHitFillerTool.h:91
D3PD::LArSCHitFillerTool::book
virtual StatusCode book()
Book variables for this block.
Definition
LArSCHitFillerTool.cxx:152
D3PD::LArSCHitFillerTool::m_calo
std::vector< int > * m_calo
Definition
LArSCHitFillerTool.h:87
D3PD::LArSCHitFillerTool::m_caloSelection
bool m_caloSelection
Definition
LArSCHitFillerTool.h:102
D3PD::LArSCHitFillerTool::m_nSC
int * m_nSC
parameters
Definition
LArSCHitFillerTool.h:79
D3PD::LArSCHitFillerTool::m_E
std::vector< double > * m_E
Definition
LArSCHitFillerTool.h:80
D3PD::LArSCHitFillerTool::m_Eoff
std::vector< double > * m_Eoff
Definition
LArSCHitFillerTool.h:83
D3PD::LArSCHitFillerTool::m_Et
std::vector< double > * m_Et
Definition
LArSCHitFillerTool.h:84
D3PD::LArSCHitFillerTool::m_hecid
const LArHEC_ID * m_hecid
Definition
LArSCHitFillerTool.h:73
D3PD::LArSCHitFillerTool::m_sc_idHelper
const CaloCell_SuperCell_ID * m_sc_idHelper
idHlper
Definition
LArSCHitFillerTool.h:112
D3PD::LArSCHitFillerTool::LArSCHitFillerTool
LArSCHitFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
LArSCHitFillerTool.cxx:36
D3PD::LArSCHitFillerTool::m_eta
std::vector< double > * m_eta
Definition
LArSCHitFillerTool.h:81
D3PD::LArSCHitFillerTool::m_tileid
const TileID * m_tileid
Definition
LArSCHitFillerTool.h:74
D3PD::LArSCHitFillerTool::m_caloLayerSelection
bool m_caloLayerSelection
Definition
LArSCHitFillerTool.h:101
D3PD::LArSCHitFillerTool::m_emid
const LArEM_ID * m_emid
Definition
LArSCHitFillerTool.h:71
D3PD::LArSCHitFillerTool::m_caloPhiSelection
bool m_caloPhiSelection
Definition
LArSCHitFillerTool.h:100
D3PD::LArSCHitFillerTool::m_scidtool
ToolHandle< ICaloSuperCellIDTool > m_scidtool
Property: Offline / supercell mapping tool.
Definition
LArSCHitFillerTool.h:106
D3PD::LArSCHitFillerTool::m_phiCut
std::vector< float > m_phiCut
Definition
LArSCHitFillerTool.h:95
D3PD::LArSCHitFillerTool::m_caloSuperCellMgrKey
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
Definition
LArSCHitFillerTool.h:108
D3PD::LArSCHitFillerTool::m_caloLayers
std::vector< unsigned int > m_caloLayers
Definition
LArSCHitFillerTool.h:97
D3PD::LArSCHitFillerTool::initialize
virtual StatusCode initialize()
Book variables for this block.
Definition
LArSCHitFillerTool.cxx:61
D3PD::LArSCHitFillerTool::m_region
std::vector< int > * m_region
Definition
LArSCHitFillerTool.h:88
D3PD::LArSCHitFillerTool::m_caloEtaSelection
bool m_caloEtaSelection
Definition
LArSCHitFillerTool.h:99
D3PD::LArSCHitFillerTool::m_dd_fSampl
const ILArfSampl * m_dd_fSampl
Definition
LArSCHitFillerTool.h:76
D3PD::LArSCHitFillerTool::m_caloNums
std::vector< unsigned int > m_caloNums
Definition
LArSCHitFillerTool.h:96
D3PD::LArSCHitFillerTool::m_fcalid
const LArFCAL_ID * m_fcalid
Definition
LArSCHitFillerTool.h:72
D3PD::LArSCHitFillerTool::m_phi
std::vector< double > * m_phi
Definition
LArSCHitFillerTool.h:82
D3PD::LArSCHitFillerTool::m_ieta
std::vector< int > * m_ieta
Definition
LArSCHitFillerTool.h:90
D3PD::LArSCHitFillerTool::m_fsampl
std::vector< double > * m_fsampl
Definition
LArSCHitFillerTool.h:85
D3PD::LArSCHitFillerTool::m_etaCut
std::vector< float > m_etaCut
Definition
LArSCHitFillerTool.h:94
D3PD::LArSCHitFillerTool::m_sampling
std::vector< int > * m_sampling
Definition
LArSCHitFillerTool.h:89
D3PD::LArSCHitFillerTool::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition
LArSCHitFillerTool.h:75
ILArfSampl
Definition
ILArfSampl.h:14
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
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