ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODCaloEventCnv
src
ClusterCreator.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: ClusterCreator.h 596346 2014-05-10 13:47:20Z krasznaa $
8
#ifndef XAODCREATORALGS_CLUSTERCREATOR_H
9
#define XAODCREATORALGS_CLUSTERCREATOR_H
10
11
// System include(s):
12
#include <string>
13
14
// Athena/Gaudi include(s):
15
#include "GaudiKernel/ToolHandle.h"
16
#include "
AthenaBaseComps/AthAlgorithm.h
"
17
18
// Local include(s):
19
#include "
xAODCaloEventCnv/ICaloClusterCnvTool.h
"
20
34
class
ClusterCreator
:
public
AthAlgorithm
{
35
36
public
:
38
ClusterCreator
(
const
std::string& name, ISvcLocator* svcLoc );
39
41
virtual
StatusCode
initialize
();
43
virtual
StatusCode
execute
(
const
EventContext& ctx);
44
45
private
:
47
std::vector< std::string >
m_aodContainerNames
;
49
std::vector< std::string >
m_xaodContainerNames
;
50
52
bool
m_keySet
;
53
55
ToolHandle< xAODMaker::ICaloClusterCnvTool >
m_cnvTool
;
56
57
};
// class ClusterCreator
58
59
#endif
// XAODCREATORALGS_CLUSTERCREATOR_H
AthAlgorithm.h
ICaloClusterCnvTool.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
ClusterCreator::ClusterCreator
ClusterCreator(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition
ClusterCreator.cxx:39
ClusterCreator::m_xaodContainerNames
std::vector< std::string > m_xaodContainerNames
The keys for the output xAOD::CaloClusterContainer.
Definition
ClusterCreator.h:49
ClusterCreator::execute
virtual StatusCode execute(const EventContext &ctx)
Function executing the algorithm.
Definition
ClusterCreator.cxx:92
ClusterCreator::m_cnvTool
ToolHandle< xAODMaker::ICaloClusterCnvTool > m_cnvTool
Connection to the converter tool.
Definition
ClusterCreator.h:55
ClusterCreator::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition
ClusterCreator.cxx:49
ClusterCreator::m_keySet
bool m_keySet
True if keys set by jobO.
Definition
ClusterCreator.h:52
ClusterCreator::m_aodContainerNames
std::vector< std::string > m_aodContainerNames
The keys of the input CaloClusterContainer.
Definition
ClusterCreator.h:47
Generated on
for ATLAS Offline Software by
1.17.0