ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigDataAccess
TrigSerializeCnvSvc
src
TrigStreamAddress.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//====================================================================
6
// TrigStreamAddress - based on ByteStreamAddress
7
//====================================================================
8
9
#include "
TrigSerializeCnvSvc/TrigStreamAddress.h
"
10
11
13
TrigStreamAddress::TrigStreamAddress
(
const
CLID
& clid,
14
const
std::string& fname,
const
std::string& cname,
int
p1,
int
p2)
15
: GenericAddress(
storageType
(), clid, fname, cname, p1, p2 ),
16
m_key
(fname)
17
{
18
}
19
20
TrigStreamAddress::TrigStreamAddress
(
const
CLID
& clid)
21
: GenericAddress(
storageType
(), clid,
""
,
""
)
22
{
23
24
}
25
26
27
void
TrigStreamAddress::add
(
const
std::vector<uint32_t> &
a
){
28
m_rep
.insert(
m_rep
.end(),
a
.begin(),
a
.end());
29
// std::cout << "TrigStreamAddress::add with size "<< a.size() << std::endl;
30
}
31
32
const
std::vector<uint32_t>&
TrigStreamAddress::get
()
const
{
33
return
m_rep
;
34
}
35
36
37
38
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
a
static Double_t a
Definition
LArPhysWaveHECTool.cxx:38
TrigStreamAddress.h
TrigStreamAddress::add
void add(const std::vector< uint32_t > &a)
Definition
TrigStreamAddress.cxx:27
TrigStreamAddress::TrigStreamAddress
TrigStreamAddress(const CLID &clid, const std::string &fname, const std::string &cname, int p1=0, int p2=0)
Standard Constructor.
Definition
TrigStreamAddress.cxx:13
TrigStreamAddress::m_key
std::string m_key
Definition
TrigStreamAddress.h:41
TrigStreamAddress::get
const std::vector< uint32_t > & get() const
Definition
TrigStreamAddress.cxx:32
TrigStreamAddress::m_rep
std::vector< uint32_t > m_rep
Definition
TrigStreamAddress.h:40
TrigStreamAddress::storageType
static constexpr long storageType()
Definition
TrigStreamAddress.h:34
Generated on
for ATLAS Offline Software by
1.14.0