ATLAS Offline Software
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 
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
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