ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArClusterCellDumper
LArClusterCellDumper
CaloThinCellsInAODAlg.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
* Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
4
*/
11
12
#ifndef LARCLUSTERCELLDUMPER_CALOTHINCELLSINAODALG_H
13
#define LARCLUSTERCELLDUMPER_CALOTHINCELLSINAODALG_H
14
15
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
16
#include "
AthContainers/ConstDataVector.h
"
17
#include "
StoreGate/ReadHandleKey.h
"
18
19
#include "
LArIdentifier/LArOnlineID.h
"
20
#include "
CaloIdentifier/CaloCell_ID.h
"
21
#include "
LArCabling/LArOnOffIdMapping.h
"
22
23
#include "
LArSimEvent/LArHitContainer.h
"
24
#include "
CaloEvent/CaloCellContainer.h
"
25
#include "
LArRawEvent/LArDigitContainer.h
"
26
#include "
LArRawEvent/LArRawChannelContainer.h
"
27
#include "
xAODCaloEvent/CaloClusterContainer.h
"
28
35
class
CaloThinCellsInAODAlg
:
public
AthReentrantAlgorithm
36
{
37
public
:
38
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
39
40
virtual
StatusCode
initialize
()
override
;
41
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
42
43
private
:
44
45
const
LArOnlineID
*
m_onlineID
=
nullptr
;
46
const
CaloCell_ID
*
m_caloCellId
=
nullptr
;
47
48
typedef
ConstDataVector<LArHitContainer>
ConstLArHitCont_t
;
49
typedef
ConstDataVector<LArDigitContainer>
ConstLArDigitCont_t
;
50
typedef
ConstDataVector<CaloCellContainer>
ConstCaloCellCont_t
;
51
52
Gaudi::Property<float>
m_clusterPtCut
{
this
,
"ClusterPtCut"
, 1000,
"Cluster pt cut in MeV."
};
53
Gaudi::Property<float>
m_clusterEtaCut
{
this
,
"ClusterEtaCut"
, 1.4,
"Cluster abs(eta) cut."
};
54
Gaudi::Property<bool>
m_isMC
{
this
,
"isMC"
,
false
,
"Input data is MC."
};
55
56
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
57
58
// Name of the containers being thinned.
59
SG::ReadHandleKey<LArHitContainer>
m_hitsInputKey
{
this
,
"InputHitsContainerName"
,
"LArHitEMB"
,
"SG Key of LArHitsContainer"
};
60
SG::ReadHandleKey<LArDigitContainer>
m_digitsInputKey
{
this
,
"InputDigitsContainerName"
,
"LArDigitContainer_MC"
,
"SG Key of LArDigitContainer"
};
61
SG::ReadHandleKey<LArRawChannelContainer>
m_rawChInputKey
{
this
,
"InputRawChannelContainerName"
,
"LArRawChannels"
,
"SG Key of LArRawChannel container"
};
62
SG::ReadHandleKey<CaloCellContainer>
m_caloCellInputKey
{
this
,
"InputCaloCellContainerName"
,
"AllCalo"
,
"SG Key of CaloCell container"
};
63
64
// Cluster container to be used as reference for cells being thinned
65
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_clusterCntKey
{
this
,
"CaloClusterContainerKey"
,
"CaloCalTopoClusters"
,
"Name of the Electrons Container"
};
66
67
// Output containers
68
SG::WriteHandleKey<LArHitContainer>
m_hitsOutputKey
{
this
,
"OutputHitsContainerName"
,
"LArHitEMB_ClusterThinned"
,
"SG Key of thinned LArHitEMB container"
};
69
SG::WriteHandleKey<ConstLArDigitCont_t>
m_digitsOutputKey
{
this
,
"OutputDigitsContainerName"
,
"LArDigitContainer_ClusterThinned"
,
"SG Key of thinned LArDigitContainer"
};
70
SG::WriteHandleKey<LArRawChannelContainer>
m_rawChOutputKey
{
this
,
"OutputRawChannelContainerName"
,
"LArRawChannels_ClusterThinned"
,
"SG Key of LArRawChannel container"
};
71
SG::WriteHandleKey<ConstCaloCellCont_t>
m_caloCellOutputKey
{
this
,
"OutputCaloCellContainerName"
,
"AllCalo_ClusterThinned"
,
"SG Key of CaloCell container"
};
72
73
};
74
75
76
#endif
AthReentrantAlgorithm.h
CaloCellContainer.h
CaloCell_ID.h
ConstDataVector.h
DataVector adapter that acts like it holds const pointers.
CaloClusterContainer.h
LArDigitContainer.h
LArHitContainer.h
LArOnOffIdMapping.h
LArOnlineID.h
LArRawChannelContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
CaloThinCellsInAODAlg
Thin calorimeter cells, digits and raw channels not associated with clusters linked to an electron,...
Definition
CaloThinCellsInAODAlg.h:36
CaloThinCellsInAODAlg::m_clusterPtCut
Gaudi::Property< float > m_clusterPtCut
Definition
CaloThinCellsInAODAlg.h:52
CaloThinCellsInAODAlg::m_rawChInputKey
SG::ReadHandleKey< LArRawChannelContainer > m_rawChInputKey
Definition
CaloThinCellsInAODAlg.h:61
CaloThinCellsInAODAlg::m_digitsInputKey
SG::ReadHandleKey< LArDigitContainer > m_digitsInputKey
Definition
CaloThinCellsInAODAlg.h:60
CaloThinCellsInAODAlg::m_caloCellId
const CaloCell_ID * m_caloCellId
Definition
CaloThinCellsInAODAlg.h:46
CaloThinCellsInAODAlg::m_hitsInputKey
SG::ReadHandleKey< LArHitContainer > m_hitsInputKey
Definition
CaloThinCellsInAODAlg.h:59
CaloThinCellsInAODAlg::initialize
virtual StatusCode initialize() override
Gaudi initialize method.
Definition
CaloThinCellsInAODAlg.cxx:17
CaloThinCellsInAODAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute the algorithm.
Definition
CaloThinCellsInAODAlg.cxx:49
CaloThinCellsInAODAlg::m_rawChOutputKey
SG::WriteHandleKey< LArRawChannelContainer > m_rawChOutputKey
Definition
CaloThinCellsInAODAlg.h:70
CaloThinCellsInAODAlg::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
CaloThinCellsInAODAlg.h:56
CaloThinCellsInAODAlg::m_caloCellOutputKey
SG::WriteHandleKey< ConstCaloCellCont_t > m_caloCellOutputKey
Definition
CaloThinCellsInAODAlg.h:71
CaloThinCellsInAODAlg::m_clusterCntKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterCntKey
Definition
CaloThinCellsInAODAlg.h:65
CaloThinCellsInAODAlg::m_caloCellInputKey
SG::ReadHandleKey< CaloCellContainer > m_caloCellInputKey
Definition
CaloThinCellsInAODAlg.h:62
CaloThinCellsInAODAlg::m_onlineID
const LArOnlineID * m_onlineID
Definition
CaloThinCellsInAODAlg.h:45
CaloThinCellsInAODAlg::ConstCaloCellCont_t
ConstDataVector< CaloCellContainer > ConstCaloCellCont_t
Definition
CaloThinCellsInAODAlg.h:50
CaloThinCellsInAODAlg::m_clusterEtaCut
Gaudi::Property< float > m_clusterEtaCut
Definition
CaloThinCellsInAODAlg.h:53
CaloThinCellsInAODAlg::m_hitsOutputKey
SG::WriteHandleKey< LArHitContainer > m_hitsOutputKey
Definition
CaloThinCellsInAODAlg.h:68
CaloThinCellsInAODAlg::m_isMC
Gaudi::Property< bool > m_isMC
Definition
CaloThinCellsInAODAlg.h:54
CaloThinCellsInAODAlg::ConstLArHitCont_t
ConstDataVector< LArHitContainer > ConstLArHitCont_t
Definition
CaloThinCellsInAODAlg.h:48
CaloThinCellsInAODAlg::ConstLArDigitCont_t
ConstDataVector< LArDigitContainer > ConstLArDigitCont_t
Definition
CaloThinCellsInAODAlg.h:49
CaloThinCellsInAODAlg::m_digitsOutputKey
SG::WriteHandleKey< ConstLArDigitCont_t > m_digitsOutputKey
Definition
CaloThinCellsInAODAlg.h:69
ConstDataVector
DataVector adapter that acts like it holds const pointers.
Definition
ConstDataVector.h:76
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
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0