ATLAS Offline Software
xAODRingSetConfWriter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // $Id: xAODRingSetConfWriter.h 713521 2015-12-09 08:53:41Z wsfreund $
6 
7 #ifndef CALORINGERTOOLS_XAODCALORINGSSCONFWRITER_H
8 #define CALORINGERTOOLS_XAODCALORINGSSCONFWRITER_H
9 
10 // System include(s):
11 extern "C" {
12 # include <stdint.h>
13 }
14 #include <string>
15 
16 // Gaudi/Athena include(s):
19 #include "GaudiKernel/ToolHandle.h"
20 #include "GaudiKernel/ServiceHandle.h"
21 #include "StoreGate/StoreGateSvc.h"
23 
24 // EDM include(s):
26 
27 namespace Ringer {
28 
48 {
49 
50  public:
52  xAODRingSetConfWriter( const std::string& name, ::ISvcLocator* svcLoc );
53 
56 
59 
62 
63  private:
71  ToolHandleArray< Ringer::ICaloRingsBuilder > m_crBuilderTools;
73  std::vector<std::string> m_rsMetaNames;
75 
79  std::vector< xAOD::RingSetConfContainer* > m_rsConfContVec;
81 
84 
88 
92  template< class auxT, class T >
94 
98  template < class auxT, class T >
99  StatusCode copyKeyToStore( const std::string &key );
100 
105 
110 
116 
117 }; // class xAODRingSetsConfWriter
118 
119 } // namespace Ringer
120 
121 #endif // CALORINGERTOOLS_XAODCALORINGSSCONFWRITER_H
ICaloRingsBuilder.h
Ringer::xAODRingSetConfWriter::initialize
StatusCode initialize()
Method initialising the algorithm.
Definition: xAODRingSetConfWriter.cxx:46
Ringer::xAODRingSetConfWriter::execute
StatusCode execute()
Method executing the algorithm.
Definition: xAODRingSetConfWriter.cxx:284
Ringer::xAODRingSetConfWriter::allocateContainers
StatusCode allocateContainers()
Prepare containers to retrieve configurations.
Definition: xAODRingSetConfWriter.cxx:239
Ringer::xAODRingSetConfWriter::finalize
StatusCode finalize()
Method executing the algorithm.
Definition: xAODRingSetConfWriter.cxx:293
Ringer::xAODRingSetConfWriter::searchAndCopyCLID
StatusCode searchAndCopyCLID(const ClassID_traits< T > &classID)
Auxiliary method called by copyInputMetaStore.
Definition: xAODRingSetConfWriter.cxx:141
Ringer::xAODRingSetConfWriter::retrieveCaloRingsBuilders
StatusCode retrieveCaloRingsBuilders()
Retrieve CaloRingsBuilder tools.
Definition: xAODRingSetConfWriter.cxx:228
Ringer::xAODRingSetConfWriter::m_rsConfContVec
std::vector< xAOD::RingSetConfContainer * > m_rsConfContVec
Private properties (non python configurables):The CaloRings configuration container.
Definition: xAODRingSetConfWriter.h:79
RingSetConfContainer.h
AthAlgorithm.h
Ringer::xAODRingSetConfWriter::m_rsMetaNames
std::vector< std::string > m_rsMetaNames
StoreGate keys for the RingSet configurations.
Definition: xAODRingSetConfWriter.h:73
ClassID_traits.h
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ClassID_traits
Default, invalid implementation of ClassID_traits.
Definition: Control/AthenaKernel/AthenaKernel/ClassID_traits.h:40
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
Ringer::xAODRingSetConfWriter::fillConfigurations
StatusCode fillConfigurations()
Fill the containers with each CaloRingsBuilder tool configuration.
Definition: xAODRingSetConfWriter.cxx:259
Ringer::xAODRingSetConfWriter::m_metaStore
ServiceHandle< StoreGateSvc > m_metaStore
Private properties (python configurables):Connection to the (output)metadata store.
Definition: xAODRingSetConfWriter.h:67
Ringer::xAODRingSetConfWriter
Algorithm used to write the RingSets configuration.
Definition: xAODRingSetConfWriter.h:48
Ringer::xAODRingSetConfWriter::copyKeyToStore
StatusCode copyKeyToStore(const std::string &key)
Retrieve a key and returns a copy of it to outputmeta.
Definition: xAODRingSetConfWriter.cxx:181
Ringer::xAODRingSetConfWriter::m_inputMetaStore
ServiceHandle< StoreGateSvc > m_inputMetaStore
Connection to the inputMetadata store.
Definition: xAODRingSetConfWriter.h:69
Ringer::xAODRingSetConfWriter::m_crBuilderTools
ToolHandleArray< Ringer::ICaloRingsBuilder > m_crBuilderTools
Connection to the trigger configuration service.
Definition: xAODRingSetConfWriter.h:71
Ringer::xAODRingSetConfWriter::xAODRingSetConfWriter
xAODRingSetConfWriter(const std::string &name, ::ISvcLocator *svcLoc)
Regular Algorithm constructor.
Definition: xAODRingSetConfWriter.cxx:26
StoreGateSvc.h
Ringer::xAODRingSetConfWriter::copyInputMetaStore
StatusCode copyInputMetaStore()
Private methods:
Definition: xAODRingSetConfWriter.cxx:128
Ringer
Namespace dedicated for Ringer utilities.
Definition: CaloRingsDefs.h:9
ServiceHandle< StoreGateSvc >
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37