ATLAS Offline Software
Loading...
Searching...
No Matches
Event
ByteStreamCnvSvcBase
src
ByteStreamAddress.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//====================================================================
6
// ByteStreamAddress implementation
7
//--------------------------------------------------------------------
8
//
9
// Package : ByteStreamCnvSvcBase
10
//
11
// Description: BSCnvSvc address implementation
12
//
13
// Author : Hong Ma
14
// created : MAr 2, 2001
15
// History :
16
// Revision: Sept 19, 2002
17
// Store ROB IDs, to be used with ROBDataProviderSvc
18
//====================================================================
19
20
//own
21
#include "
ByteStreamCnvSvcBase/ByteStreamAddress.h
"
22
23
// Framework include files
24
#include "GaudiKernel/GenericAddress.h"
25
27
ByteStreamAddress::ByteStreamAddress
(
const
CLID
& clid,
28
const
std::string& fname ,
const
std::string& cname,
int
p1,
int
p2)
29
: GenericAddress(
storageType
(), clid, fname, cname, p1, p2),
m_eid
(0,0) {
30
}
31
32
ByteStreamAddress::ByteStreamAddress
(
const
CLID
& clid)
33
: GenericAddress(
storageType
(), clid,
""
,
""
) {
34
}
35
38
void
ByteStreamAddress::add
( uint32_t robid) {
39
m_robIDs
.push_back(robid);
40
}
41
44
const
std::vector<uint32_t>&
ByteStreamAddress::getRobIDs
()
const
{
45
return
(
m_robIDs
);
46
}
ByteStreamAddress.h
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
ByteStreamAddress::getRobIDs
const std::vector< uint32_t > & getRobIDs() const
access the fragment pointer
Definition
ByteStreamAddress.cxx:44
ByteStreamAddress::ByteStreamAddress
ByteStreamAddress(const CLID &clid, const std::string &fname, const std::string &cname, int p1=0, int p2=0)
Standard Constructor.
Definition
ByteStreamAddress.cxx:27
ByteStreamAddress::m_eid
EventContext m_eid
Definition
ByteStreamAddress.h:56
ByteStreamAddress::add
void add(uint32_t robid)
Add ROBID.
Definition
ByteStreamAddress.cxx:38
ByteStreamAddress::m_robIDs
std::vector< uint32_t > m_robIDs
Definition
ByteStreamAddress.h:55
ByteStreamAddress::storageType
static constexpr long storageType()
Definition
ByteStreamAddress.h:51
Generated on
for ATLAS Offline Software by
1.14.0