ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
11
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
21 : GenericAddress(storageType(), clid, "", "")
22{
23
24}
25
26
27void 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
32const std::vector<uint32_t>& TrigStreamAddress::get() const {
33 return m_rep;
34}
35
36
37
38
uint32_t CLID
The Class ID type.
static Double_t a
void add(const std::vector< uint32_t > &a)
TrigStreamAddress(const CLID &clid, const std::string &fname, const std::string &cname, int p1=0, int p2=0)
Standard Constructor.
const std::vector< uint32_t > & get() const
std::vector< uint32_t > m_rep
static constexpr long storageType()