ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
HeavyIonRec
HIGlobal
HIGlobal
HIEventShapeMaker.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef __HIEVENTSHAPEMAKER_H__
6
#define __HIEVENTSHAPEMAKER_H__
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
10
#include "
xAODHIEvent/HIEventShapeContainer.h
"
11
#include "
xAODHIEvent/HIEventShapeAuxContainer.h
"
12
#include "
xAODCaloEvent/CaloClusterContainer.h
"
13
14
#include "GaudiKernel/ToolHandle.h"
15
#include "Gaudi/Property.h"
16
#include "
IHIEventShapeFiller.h
"
17
#include "
HIEventUtils/HIEventShapeSummaryTool.h
"
18
19
#include "
StoreGate/ReadHandleKey.h
"
20
#include "
StoreGate/WriteHandleKey.h
"
21
22
#include <string>
23
#include <iostream>
24
#include <sstream>
25
#include <memory>
26
27
class
CaloCellContainer
;
28
29
class
HIEventShapeMaker
:
public
AthReentrantAlgorithm
30
{
31
public
:
32
34
HIEventShapeMaker
(
const
std::string& name, ISvcLocator* pSvcLocator);
36
~HIEventShapeMaker
() =
default
;
37
38
39
virtual
StatusCode
initialize
()
override
;
40
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
41
virtual
StatusCode
finalize
()
override
;
42
43
private
:
44
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_towerContainerKey
{
this
,
"InputTowerKey"
,
"CombinedTower"
,
"InputTowerKey"
};
//TowerContainer key
45
SG::ReadHandleKey<INavigable4MomentumCollection>
m_naviContainerKey
{
this
,
"NaviTowerKey"
,
"CombinedTower"
,
"InputTowerKey for Navigable Momentum collection"
};
46
SG::ReadHandleKey<CaloCellContainer>
m_cellContainerKey
{
this
,
"InputCellKey"
,
""
,
"InputCellKey"
};
//CaloCellContainer key
47
SG::ReadHandleKey<xAOD::HIEventShapeContainer>
m_readExistingKey
{
this
,
"ReadExistingKey"
,
"HIEventShapeContainer"
,
"Read key to retrieve the shape im_summary_only is true"
};
48
SG::WriteHandleKey<xAOD::HIEventShapeContainer>
m_outputKey
{
this
,
"OutputContainerKey"
,
"HIEventShapeContainer"
,
"Output Container Key"
};
//Name of output container key
49
SG::WriteHandleKey<xAOD::HIEventShapeContainer>
m_summaryKey
{
this
,
"SummaryContainerKey"
,
""
,
"SummaryContainerKey"
};
50
51
Gaudi::Property< bool >
m_summaryOnly
{
this
,
"SummaryOnly"
,
false
,
"Summary Only boolean switch"
};
52
53
ToolHandle<IHIEventShapeFiller>
m_HIEventShapeFillerTool
{
this
,
"HIEventShapeFillerTool"
,
"HIEventShapeFillerTool"
,
"HIEventShapeFillerTool"
};
54
ToolHandle<IHIEventShapeSummaryTool>
m_summaryTool
{
this
,
"SummaryTool"
,
"HIEventShapeSummaryTool"
,
"Handle to IHIEventShapeSummaryTool"
};
55
56
std::string
PrintHIEventShapeContainer
(
const
xAOD::HIEventShapeContainer
*
Container
)
const
;
57
};
58
59
#endif
AthReentrantAlgorithm.h
CaloClusterContainer.h
HIEventShapeAuxContainer.h
HIEventShapeContainer.h
HIEventShapeSummaryTool.h
IHIEventShapeFiller.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
HIEventShapeMaker::m_cellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Definition
HIEventShapeMaker.h:46
HIEventShapeMaker::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
HIEventShapeMaker.cxx:46
HIEventShapeMaker::HIEventShapeMaker
HIEventShapeMaker(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition
HIEventShapeMaker.cxx:14
HIEventShapeMaker::m_summaryKey
SG::WriteHandleKey< xAOD::HIEventShapeContainer > m_summaryKey
Definition
HIEventShapeMaker.h:49
HIEventShapeMaker::m_outputKey
SG::WriteHandleKey< xAOD::HIEventShapeContainer > m_outputKey
Definition
HIEventShapeMaker.h:48
HIEventShapeMaker::PrintHIEventShapeContainer
std::string PrintHIEventShapeContainer(const xAOD::HIEventShapeContainer *Container) const
Definition
HIEventShapeMaker.cxx:100
HIEventShapeMaker::initialize
virtual StatusCode initialize() override
Definition
HIEventShapeMaker.cxx:19
HIEventShapeMaker::m_towerContainerKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_towerContainerKey
Definition
HIEventShapeMaker.h:44
HIEventShapeMaker::m_readExistingKey
SG::ReadHandleKey< xAOD::HIEventShapeContainer > m_readExistingKey
Definition
HIEventShapeMaker.h:47
HIEventShapeMaker::m_HIEventShapeFillerTool
ToolHandle< IHIEventShapeFiller > m_HIEventShapeFillerTool
Definition
HIEventShapeMaker.h:53
HIEventShapeMaker::m_summaryOnly
Gaudi::Property< bool > m_summaryOnly
Definition
HIEventShapeMaker.h:51
HIEventShapeMaker::finalize
virtual StatusCode finalize() override
Definition
HIEventShapeMaker.cxx:94
HIEventShapeMaker::m_naviContainerKey
SG::ReadHandleKey< INavigable4MomentumCollection > m_naviContainerKey
Definition
HIEventShapeMaker.h:45
HIEventShapeMaker::m_summaryTool
ToolHandle< IHIEventShapeSummaryTool > m_summaryTool
Definition
HIEventShapeMaker.h:54
HIEventShapeMaker::~HIEventShapeMaker
~HIEventShapeMaker()=default
Default Destructor.
Container
storage of the time histories of all the cells
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::HIEventShapeContainer
HIEventShapeContainer_v2 HIEventShapeContainer
Define the latest version of the container.
Definition
HIEventShapeContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0