ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCellRec
src
LArCellBuilderFromLArRawChannelTool.h
Go to the documentation of this file.
1
//Dear emacs, this is -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef LARCELLREC_LARCELLBUILDERFROMLARRAWCHANNELTOOL_H
8
#define LARCELLREC_LARCELLBUILDERFROMLARRAWCHANNELTOOL_H
22
23
#include "
AthenaBaseComps/AthAlgTool.h
"
24
#include "GaudiKernel/ToolHandle.h"
25
#include "
StoreGate/ReadHandleKey.h
"
26
#include "
StoreGate/ReadCondHandleKey.h
"
27
28
#include "
CaloInterface/ICaloCellMakerTool.h
"
29
#include "
Identifier/HWIdentifier.h
"
30
#include "
LArIdentifier/LArOnlineID.h
"
31
#include "
CaloDetDescr/CaloDetDescrManager.h
"
32
#include "
LArRecConditions/LArBadChannelCont.h
"
33
#include "
AthAllocators/DataPool.h
"
34
#include "
LArCabling/LArOnOffIdMapping.h
"
35
#include "
LArRawEvent/LArRawChannelContainer.h
"
36
37
class
CaloCellContainer
;
38
class
CaloCell_ID
;
39
class
CaloCellContainer
;
40
class
LArCell
;
41
50
51
52
class
LArCellBuilderFromLArRawChannelTool
53
:
public
extends<AthAlgTool, ICaloCellMakerTool>
54
{
55
public
:
59
using
base_class::base_class;
63
virtual
~LArCellBuilderFromLArRawChannelTool
() =
default
;
64
74
virtual
StatusCode
initialize
()
override
;
75
83
virtual
StatusCode
process
(
CaloCellContainer
* theCellContainer,
84
const
EventContext& ctx)
const override
;
85
86
private
:
87
88
SG::ReadHandleKey<LArRawChannelContainer>
m_rawChannelsKey
{
this
,
"RawChannelsName"
,
"LArRawChannels"
,
"Name of input container"
};
89
Gaudi::Property<bool>
m_addDeadOTX
{
this
,
"addDeadOTX"
,
true
,
"Add dummy cells for missing FEBs"
};
90
Gaudi::Property<int>
m_initialDataPoolSize
{
this
,
"InitialCellPoolSize"
,-1,
"Initial size of the DataPool<LArCells> (-1: Use nCells)"
};
91
92
//Internally used variables
93
unsigned
m_nTotalCells
=0;
94
95
96
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"LArCablingKey"
,
"LArOnOffIdMap"
,
"Key of conditions data object holding cabling"
};
97
const
LArOnlineID
*
m_onlineID
=
nullptr
;
98
const
CaloCell_ID
*
m_caloCID
=
nullptr
;
99
SG::ReadCondHandleKey<LArBadFebCont>
m_missingFebKey
{
this
,
"MissingFebKey"
,
"LArBadFeb"
,
"Key of conditions data object holding bad-feb info"
};
100
101
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{
this
,
"CaloDetDescrManager"
,
"CaloDetDescrManager"
};
102
103
104
};
105
106
107
#endif
108
109
110
111
112
AthAlgTool.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
DataPool.h
HWIdentifier.h
ICaloCellMakerTool.h
LArBadChannelCont.h
LArOnOffIdMapping.h
LArOnlineID.h
LArRawChannelContainer.h
ReadCondHandleKey.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloCellContainer
Container class for CaloCell.
Definition
CaloCellContainer.h:55
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
LArCellBuilderFromLArRawChannelTool
Building LArCell objects from LArRawChannel.
Definition
LArCellBuilderFromLArRawChannelTool.h:54
LArCellBuilderFromLArRawChannelTool::m_nTotalCells
unsigned m_nTotalCells
Number of cells, set in Initialize().
Definition
LArCellBuilderFromLArRawChannelTool.h:93
LArCellBuilderFromLArRawChannelTool::m_addDeadOTX
Gaudi::Property< bool > m_addDeadOTX
activate addition of missing cells from dead OTX
Definition
LArCellBuilderFromLArRawChannelTool.h:89
LArCellBuilderFromLArRawChannelTool::m_missingFebKey
SG::ReadCondHandleKey< LArBadFebCont > m_missingFebKey
Definition
LArCellBuilderFromLArRawChannelTool.h:99
LArCellBuilderFromLArRawChannelTool::m_rawChannelsKey
SG::ReadHandleKey< LArRawChannelContainer > m_rawChannelsKey
rdo container name (jO)
Definition
LArCellBuilderFromLArRawChannelTool.h:88
LArCellBuilderFromLArRawChannelTool::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArCellBuilderFromLArRawChannelTool.h:96
LArCellBuilderFromLArRawChannelTool::m_caloCID
const CaloCell_ID * m_caloCID
Definition
LArCellBuilderFromLArRawChannelTool.h:98
LArCellBuilderFromLArRawChannelTool::m_initialDataPoolSize
Gaudi::Property< int > m_initialDataPoolSize
Initial size of DataPool<LArCell>.
Definition
LArCellBuilderFromLArRawChannelTool.h:90
LArCellBuilderFromLArRawChannelTool::m_onlineID
const LArOnlineID * m_onlineID
Definition
LArCellBuilderFromLArRawChannelTool.h:97
LArCellBuilderFromLArRawChannelTool::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
LArCellBuilderFromLArRawChannelTool.h:101
LArCellBuilderFromLArRawChannelTool::initialize
virtual StatusCode initialize() override
Initialize method.
Definition
LArCellBuilderFromLArRawChannelTool.cxx:31
LArCellBuilderFromLArRawChannelTool::~LArCellBuilderFromLArRawChannelTool
virtual ~LArCellBuilderFromLArRawChannelTool()=default
Destructor, deletes the MsgService.
LArCell
Data object for LAr calorimeter readout cell.
Definition
LArCell.h:53
LArOnlineID
Definition
LArOnlineID.h:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
process
const std::string process
Definition
fbtTestBasics.cxx:76
Generated on
for ATLAS Offline Software by
1.17.0