ATLAS Offline Software
TrigStreamAddress.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGSTREAMCNVSVCBASE_TRIGSTREAMADDRESS_H
6 #define TRIGSTREAMCNVSVCBASE_TRIGSTREAMADDRESS_H
7 
8 // Framework include files
9 #include "GaudiKernel/Kernel.h"
10 #include "GaudiKernel/StatusCode.h"
11 #include "GaudiKernel/GenericAddress.h"
12 
13 #include <stdint.h>
14 #include <vector>
15 #include <iostream>
16 #include <string>
17 
23 class TrigStreamAddress : public GenericAddress {
24 
25 public:
26 
27  virtual ~TrigStreamAddress() {};
28 
29  TrigStreamAddress(const CLID& clid, const std::string& fname,
30  const std::string& cname, int p1=0,int p2=0 );
31 
32  TrigStreamAddress(const CLID& clid ) ;
33 
34  static constexpr long storageType() { return 0x51; }
35  void add(const std::vector<uint32_t> &a);
36  const std::vector<uint32_t> & get() const;
37  const std::string sgkey() const { return m_key;}
38 
39 private:
40  std::vector<uint32_t> m_rep;
41  std::string m_key;
42 };
43 
44 
45 #endif
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::storageType
static constexpr long storageType()
Definition: TrigStreamAddress.h:34
TrigStreamAddress::m_rep
std::vector< uint32_t > m_rep
Definition: TrigStreamAddress.h:40
TrigStreamAddress::add
void add(const std::vector< uint32_t > &a)
Definition: TrigStreamAddress.cxx:27
TrigStreamAddress::m_key
std::string m_key
Definition: TrigStreamAddress.h:41
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
TrigStreamAddress::sgkey
const std::string sgkey() const
Definition: TrigStreamAddress.h:37
TrigStreamAddress
IOpaqueAddress for TrigSerializenCnvSvc.
Definition: TrigStreamAddress.h:23
TrigStreamAddress::~TrigStreamAddress
virtual ~TrigStreamAddress()
Definition: TrigStreamAddress.h:27