ATLAS Offline Software
MuonSpectrometer
MuonCalib
MuonCalibStream
MuonCalibStreamCnvSvc
MuonCalibStreamCnvSvc
MuonCalibStreamAddressProviderSvc.h
Go to the documentation of this file.
1
#ifndef MUONCALIBSTREAMCNVSVCBASE_MUONCALIBSTREAMADDRESSPROVIDERSVC_H
2
#define MUONCALIBSTREAMCNVSVCBASE_MUONCALIBSTREAMADDRESSPROVIDERSVC_H
3
4
#include <map>
5
#include <set>
6
7
#include "
AthenaBaseComps/AthService.h
"
8
#include "
AthenaKernel/IAddressProvider.h
"
9
#include "GaudiKernel/ClassID.h"
10
#include "
MuonCalibStreamCnvSvc/IMuonCalibStreamDataProviderSvc.h
"
11
12
class
MuonCalibStreamAddressProviderSvc
:
public
extends<AthService, IAddressProvider> {
13
14
public
:
15
MuonCalibStreamAddressProviderSvc
(
const
std::string &
name
, ISvcLocator *svcloc);
16
virtual
~MuonCalibStreamAddressProviderSvc
();
17
18
// Service initialize
19
virtual
StatusCode
initialize
();
20
21
// IAddressProvider interface.
22
// preload the address
23
virtual
StatusCode
preLoadAddresses
(
StoreID::type
id
, tadList &
tlist
);
24
26
virtual
StatusCode
updateAddress
(
StoreID::type
tp
,
SG::TransientAddress
*tad,
const
EventContext &);
27
28
private
:
29
// type and name of the objects to create the address for.
30
std::vector<std::string>
m_typeNames
;
31
ServiceHandle<IMuonCalibStreamDataProviderSvc>
m_dataSvc
;
32
std::map<CLID, std::set<std::string> >
m_clidKey
;
33
};
34
#endif
MuonCalibStreamAddressProviderSvc::initialize
virtual StatusCode initialize()
Initialize the service.
Definition:
MuonCalibStreamAddressProviderSvc.cxx:27
IMuonCalibStreamDataProviderSvc.h
MuonCalibStreamAddressProviderSvc::MuonCalibStreamAddressProviderSvc
MuonCalibStreamAddressProviderSvc(const std::string &name, ISvcLocator *svcloc)
Standard constructor.
Definition:
MuonCalibStreamAddressProviderSvc.cxx:12
MuonCalibStreamAddressProviderSvc::~MuonCalibStreamAddressProviderSvc
virtual ~MuonCalibStreamAddressProviderSvc()
Standard Destructor.
Definition:
MuonCalibStreamAddressProviderSvc.cxx:24
query_example.tlist
tlist
Definition:
query_example.py:25
SG::TransientAddress
Definition:
TransientAddress.h:32
ParticleTest.tp
tp
Definition:
ParticleTest.py:25
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonCalibStreamAddressProviderSvc
Definition:
MuonCalibStreamAddressProviderSvc.h:12
MuonCalibStreamAddressProviderSvc::m_dataSvc
ServiceHandle< IMuonCalibStreamDataProviderSvc > m_dataSvc
Definition:
MuonCalibStreamAddressProviderSvc.h:31
MuonCalibStreamAddressProviderSvc::updateAddress
virtual StatusCode updateAddress(StoreID::type tp, SG::TransientAddress *tad, const EventContext &)
update an existing transient Address
Definition:
MuonCalibStreamAddressProviderSvc.cxx:69
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
MuonCalibStreamAddressProviderSvc::m_clidKey
std::map< CLID, std::set< std::string > > m_clidKey
Definition:
MuonCalibStreamAddressProviderSvc.h:32
StoreID::type
type
Definition:
StoreID.h:24
AthService.h
IAddressProvider.h
MuonCalibStreamAddressProviderSvc::preLoadAddresses
virtual StatusCode preLoadAddresses(StoreID::type id, tadList &tlist)
Definition:
MuonCalibStreamAddressProviderSvc.cxx:33
MuonCalibStreamAddressProviderSvc::m_typeNames
std::vector< std::string > m_typeNames
Definition:
MuonCalibStreamAddressProviderSvc.h:30
ServiceHandle
Definition:
ClusterMakerTool.h:37
Generated on Mon Dec 23 2024 21:15:04 for ATLAS Offline Software by
1.8.18