#include <MuonCalibStreamAddressProviderSvc.h>
◆ MuonCalibStreamAddressProviderSvc()
MuonCalibStreamAddressProviderSvc::MuonCalibStreamAddressProviderSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svcloc |
|
) |
| |
◆ ~MuonCalibStreamAddressProviderSvc()
MuonCalibStreamAddressProviderSvc::~MuonCalibStreamAddressProviderSvc |
( |
| ) |
|
|
virtual |
◆ initialize()
StatusCode MuonCalibStreamAddressProviderSvc::initialize |
( |
| ) |
|
|
virtual |
◆ preLoadAddresses()
StatusCode MuonCalibStreamAddressProviderSvc::preLoadAddresses |
( |
StoreID::type |
id, |
|
|
tadList & |
tlist |
|
) |
| |
|
virtual |
Definition at line 33 of file MuonCalibStreamAddressProviderSvc.cxx.
34 ATH_MSG_DEBUG(
" call MuonCalibStreamAddressProviderSvc::preLoadAddresses");
37 ATH_MSG_DEBUG(
"idp = " << idp <<
" != StoreID::EVENT_STORE; not creating TADs");
38 return StatusCode::SUCCESS;
40 ATH_MSG_DEBUG(
"idp = " << idp <<
" == StoreID::EVENT_STORE; Creating TADs for muon detectors!");
44 std::vector<std::string>::const_iterator
it =
m_typeNames.begin();
45 std::vector<std::string>::const_iterator it_e =
m_typeNames.end();
47 SmartIF<IClassIDSvc> clidSvc{service(
"ClassIDSvc")};
50 for (;
it != it_e; ++
it) {
51 Gaudi::Utils::TypeNameString
item(*
it);
52 std::string
t =
item.type();
53 std::string
nm =
item.name();
60 ATH_MSG_DEBUG(
" created TAD for (type,clid,name,TAD)" <<
t <<
" " <<
id <<
" " <<
nm);
65 return StatusCode::SUCCESS;
◆ updateAddress()
update an existing transient Address
Definition at line 69 of file MuonCalibStreamAddressProviderSvc.cxx.
71 std::string
nm = tad->
name();
72 std::map<CLID, std::set<std::string> >::const_iterator
it =
m_clidKey.find(clid);
74 if (
it ==
m_clidKey.end())
return StatusCode::FAILURE;
76 if ((*it).second.count(
nm) == 0)
return StatusCode::FAILURE;
82 return StatusCode::SUCCESS;
◆ m_clidKey
std::map<CLID, std::set<std::string> > MuonCalibStreamAddressProviderSvc::m_clidKey |
|
private |
◆ m_dataSvc
◆ m_typeNames
std::vector<std::string> MuonCalibStreamAddressProviderSvc::m_typeNames |
|
private |
The documentation for this class was generated from the following files: