ATLAS Offline Software
MuonSpectrometer
MuonCalib
MuonCalibStream
MuonCalibStreamCnvSvc
MuonCalibStreamCnvSvc
MuonCalibStreamAddressProviderSvc.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONCALIBSTREAMCNVSVCBASE_MUONCALIBSTREAMADDRESSPROVIDERSVC_H
5
#define MUONCALIBSTREAMCNVSVCBASE_MUONCALIBSTREAMADDRESSPROVIDERSVC_H
6
7
8
9
#include "
AthenaBaseComps/AthService.h
"
10
#include "
AthenaKernel/IAddressProvider.h
"
11
#include "GaudiKernel/ClassID.h"
12
#include "
MuonCalibStreamCnvSvc/IMuonCalibStreamDataProviderSvc.h
"
13
#include <map>
14
#include <set>
15
#include <vector>
16
#include <string>
17
18
class
MuonCalibStreamAddressProviderSvc
:
public
extends<AthService, IAddressProvider> {
19
20
public
:
21
MuonCalibStreamAddressProviderSvc
(
const
std::string &
name
, ISvcLocator *svcloc);
22
virtual
~MuonCalibStreamAddressProviderSvc
();
23
24
// Service initialize
25
virtual
StatusCode
initialize
();
26
27
// IAddressProvider interface.
28
// preload the address
29
virtual
StatusCode
preLoadAddresses
(
StoreID::type
id
, tadList &
tlist
);
30
32
virtual
StatusCode
updateAddress
(
StoreID::type
tp
,
SG::TransientAddress
*tad,
const
EventContext &);
33
34
private
:
35
// type and name of the objects to create the address for.
36
std::vector<std::string>
m_typeNames
;
37
ServiceHandle<IMuonCalibStreamDataProviderSvc>
m_dataSvc
;
38
std::map<CLID, std::set<std::string> >
m_clidKey
;
39
};
40
#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
SG::TransientAddress
Definition:
TransientAddress.h:34
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:18
MuonCalibStreamAddressProviderSvc::m_dataSvc
ServiceHandle< IMuonCalibStreamDataProviderSvc > m_dataSvc
Definition:
MuonCalibStreamAddressProviderSvc.h:37
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:240
python.Dumpers.tlist
list tlist
Definition:
Dumpers.py:5561
MuonCalibStreamAddressProviderSvc::m_clidKey
std::map< CLID, std::set< std::string > > m_clidKey
Definition:
MuonCalibStreamAddressProviderSvc.h:38
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:36
ServiceHandle< IMuonCalibStreamDataProviderSvc >
Generated on Fri Oct 31 2025 21:15:10 for ATLAS Offline Software by
1.8.18