ATLAS Offline Software
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
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_rep
std::vector< uint32_t > m_rep
Definition:
TrigStreamAddress.h:40
TRTCalib_cfilter.p1
p1
Definition:
TRTCalib_cfilter.py:130
TRTCalib_cfilter.p2
p2
Definition:
TRTCalib_cfilter.py:131
TrigStreamAddress.h
TrigStreamAddress::add
void add(const std::vector< uint32_t > &a)
Definition:
TrigStreamAddress.cxx:27
CLID
uint32_t CLID
The Class ID type.
Definition:
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
TrigStreamAddress::get
const std::vector< uint32_t > & get() const
Definition:
TrigStreamAddress.cxx:32
python.AthDsoLogger.fname
string fname
Definition:
AthDsoLogger.py:67
a
TList * a
Definition:
liststreamerinfos.cxx:10
Generated on Thu Nov 7 2024 21:30:09 for ATLAS Offline Software by
1.8.18