ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
HeavyIonRec
HIJetRec
src
HIClusterMaker.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// HIClusterMaker.h
6
7
#ifndef __HIJETREC_HICLUSTERMAKER_H__
8
#define __HIJETREC_HICLUSTERMAKER_H__
9
23
24
25
#include <
AthenaBaseComps/AthReentrantAlgorithm.h
>
26
//Ideally use forward class decl. for CaloClusterContainer
27
//Cannot because this class is defined via typedef
28
#include <
xAODCaloEvent/CaloClusterContainer.h
>
29
#include "
NavFourMom/INavigable4MomentumCollection.h
"
30
31
#include "
StoreGate/ReadHandleKey.h
"
32
#include "
StoreGate/WriteHandleKey.h
"
33
#include "
CaloIdentifier/CaloCell_ID.h
"
34
35
class
CaloCellContainer
;
36
37
class
HIClusterMaker
:
public
AthReentrantAlgorithm
38
{
39
40
public
:
41
42
HIClusterMaker
(
const
std::string& name, ISvcLocator* pSvcLocator);
43
~HIClusterMaker
() {};
44
45
virtual
StatusCode
initialize
();
46
virtual
StatusCode
execute
(
const
EventContext &ctx)
const
;
47
virtual
StatusCode
finalize
();
48
49
//Simple helper to dump clusters for debugging
50
StatusCode
dumpClusters
(
xAOD::CaloClusterContainer
* clusColl);
51
private
:
53
SG::ReadHandleKey<INavigable4MomentumCollection>
m_towerContainerKey
{
this
,
"InputTowerKey"
,
"CombinedTower"
,
"InputTowerKey"
};
55
SG::ReadHandleKey<CaloCellContainer>
m_cellContainerKey
{
this
,
"CaloCellContainerKey"
,
"AllCalo"
,
"InputCellKey"
};
57
SG::WriteHandleKey<xAOD::CaloClusterContainer>
m_outputKey
{
this
,
"OutputContainerKey"
,
"PseudoJet"
,
"Read version of output Container Key"
};
59
Gaudi::Property< float >
m_EminMoment
{
this
,
"MinimumEnergyForMoments"
, 50.,
"> E, cluster given tower coordinates"
};
60
61
const
CaloCell_ID
*
m_calo_id
{
nullptr
};
62
std::unique_ptr<const CaloCell>
getMirroredCell
(
const
CaloCell
* pCell,
const
CaloCellContainer
* ccc)
const
;
63
64
65
};
66
#endif
AthReentrantAlgorithm.h
CaloCell_ID.h
CaloClusterContainer.h
INavigable4MomentumCollection.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloCellContainer
Container class for CaloCell.
Definition
CaloCellContainer.h:55
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
CaloCell
Data object for each calorimeter readout cell.
Definition
CaloCell.h:57
HIClusterMaker::getMirroredCell
std::unique_ptr< const CaloCell > getMirroredCell(const CaloCell *pCell, const CaloCellContainer *ccc) const
Definition
HIClusterMaker.cxx:253
HIClusterMaker::m_towerContainerKey
SG::ReadHandleKey< INavigable4MomentumCollection > m_towerContainerKey
Name of input CaloTowerContainer, e.g CmbTower.
Definition
HIClusterMaker.h:53
HIClusterMaker::m_cellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Name of input CaloCellContainer, e.g. AllCalo.
Definition
HIClusterMaker.h:55
HIClusterMaker::initialize
virtual StatusCode initialize()
Definition
HIClusterMaker.cxx:28
HIClusterMaker::finalize
virtual StatusCode finalize()
Definition
HIClusterMaker.cxx:189
HIClusterMaker::m_outputKey
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outputKey
Name of output CaloClusterContainer, e.g. HIClusters.
Definition
HIClusterMaker.h:57
HIClusterMaker::dumpClusters
StatusCode dumpClusters(xAOD::CaloClusterContainer *clusColl)
Definition
HIClusterMaker.cxx:195
HIClusterMaker::m_EminMoment
Gaudi::Property< float > m_EminMoment
For clusters w/ E less than this, set their eta/phi to tower eta/phi.
Definition
HIClusterMaker.h:59
HIClusterMaker::HIClusterMaker
HIClusterMaker(const std::string &name, ISvcLocator *pSvcLocator)
Definition
HIClusterMaker.cxx:23
HIClusterMaker::m_calo_id
const CaloCell_ID * m_calo_id
Definition
HIClusterMaker.h:61
HIClusterMaker::~HIClusterMaker
~HIClusterMaker()
Definition
HIClusterMaker.h:43
HIClusterMaker::execute
virtual StatusCode execute(const EventContext &ctx) const
Definition
HIClusterMaker.cxx:40
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
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0