ATLAS Offline Software
Loading...
Searching...
No Matches
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
11#include "GaudiKernel/ClassID.h"
13#include <map>
14#include <set>
15#include <vector>
16#include <string>
17
18class MuonCalibStreamAddressProviderSvc : public extends<AthService, IAddressProvider> {
19
20public:
21 MuonCalibStreamAddressProviderSvc(const std::string &name, ISvcLocator *svcloc);
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
34private:
35 // type and name of the objects to create the address for.
36 std::vector<std::string> m_typeNames;
38 std::map<CLID, std::set<std::string> > m_clidKey;
39};
40#endif
MuonCalibStreamAddressProviderSvc(const std::string &name, ISvcLocator *svcloc)
Standard constructor.
virtual StatusCode preLoadAddresses(StoreID::type id, tadList &tlist)
std::map< CLID, std::set< std::string > > m_clidKey
virtual ~MuonCalibStreamAddressProviderSvc()
Standard Destructor.
virtual StatusCode updateAddress(StoreID::type tp, SG::TransientAddress *tad, const EventContext &)
update an existing transient Address
virtual StatusCode initialize()
Initialize the service.
ServiceHandle< IMuonCalibStreamDataProviderSvc > m_dataSvc