ATLAS Offline Software
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"
17 
18 // Local include(s):
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();
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
ClusterCreator::m_aodContainerNames
std::vector< std::string > m_aodContainerNames
The keys of the input CaloClusterContainer.
Definition: ClusterCreator.h:47
ICaloClusterCnvTool.h
ClusterCreator::execute
virtual StatusCode execute()
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::ClusterCreator
ClusterCreator(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition: ClusterCreator.cxx:39
ClusterCreator
Algorithm creating xAOD::CaloClusters from CaloClusters.
Definition: ClusterCreator.h:34
ClusterCreator::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: ClusterCreator.cxx:49
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ClusterCreator::m_xaodContainerNames
std::vector< std::string > m_xaodContainerNames
The keys for the output xAOD::CaloClusterContainer.
Definition: ClusterCreator.h:49
ClusterCreator::m_keySet
bool m_keySet
True if keys set by jobO.
Definition: ClusterCreator.h:52