ATLAS Offline Software
DataHeader_p4.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PERSISTENTDATAMODELTPCNV_DATAHEADER_P4_H
6 #define PERSISTENTDATAMODELTPCNV_DATAHEADER_P4_H
7 
14 #include <vector>
15 #include <string>
16 #include <stdint.h>
17 
22 public: // Constructor and Destructor
25  virtual ~DataHeaderElement_p4();
26 
28 
29 friend class DataHeaderCnv_p4;
31 
32  unsigned int pClid() const;
33  const std::vector<unsigned int>& clids() const;
34  const std::string& key() const;
35  const std::vector<std::string>& alias() const;
36  const std::string& token() const;
37  unsigned int oid1() const;
38  unsigned int oid2() const;
39 
40 private:
41  std::vector<unsigned int> m_clids;
42  std::string m_token;
43  std::vector<std::string> m_alias;
44  unsigned int m_technology, m_oid1, m_oid2;
46  unsigned short m_keyPos;
47  std::vector<uint64_t> m_hashes;
48 };
49 
54 public: // Constructor and Destructor
55  DataHeader_p4();
56  DataHeader_p4(const DataHeader_p4& rhs);
57  virtual ~DataHeader_p4();
58 
60 
61 friend class DataHeaderCnv_p4;
62 
63  const std::vector<DataHeaderElement_p4>& elements() const;
64  unsigned int provenanceSize() const;
65  const std::vector<std::string>& guidMap() const;
66 
67 private:
68  std::vector<DataHeaderElement_p4> m_dataHeader;
69  unsigned int m_provSize;
70  std::vector<std::string> m_guidMap;
71 };
72 
73 #endif
DataHeader_p4
This class provides a persistent representation for the DataHeader class.
Definition: DataHeader_p4.h:53
DataHeaderElement_p4::m_classIdIdx
unsigned short m_classIdIdx
Definition: DataHeader_p4.h:45
DataHeader_p4::~DataHeader_p4
virtual ~DataHeader_p4()
Definition: DataHeader_p4.cxx:81
DataHeaderElement_p4::m_token
std::string m_token
Definition: DataHeader_p4.h:42
DataHeader_p4::operator=
DataHeader_p4 & operator=(const DataHeader_p4 &rhs)
Definition: DataHeader_p4.cxx:83
DataHeaderElement_p4::oid1
unsigned int oid1() const
Definition: DataHeader_p4.cxx:68
DataHeaderElement_p4::m_prefixIdx
unsigned short m_prefixIdx
Definition: DataHeader_p4.h:45
DataHeaderElement_p4::alias
const std::vector< std::string > & alias() const
Definition: DataHeader_p4.cxx:60
DataHeader_p4::m_guidMap
std::vector< std::string > m_guidMap
Definition: DataHeader_p4.h:70
DataHeader_p4::m_dataHeader
std::vector< DataHeaderElement_p4 > m_dataHeader
Definition: DataHeader_p4.h:68
DataHeaderElement_p4::clids
const std::vector< unsigned int > & clids() const
Definition: DataHeader_p4.cxx:52
DataHeader_p4::DataHeader_p4
DataHeader_p4()
Definition: DataHeader_p4.cxx:77
DataHeader_p4::m_provSize
unsigned int m_provSize
Definition: DataHeader_p4.h:69
DataHeaderElement_p4::~DataHeaderElement_p4
virtual ~DataHeaderElement_p4()
Definition: DataHeader_p4.cxx:29
DataHeader_p4::provenanceSize
unsigned int provenanceSize() const
Definition: DataHeader_p4.cxx:96
DataHeaderElement_p4::DataHeaderElement_p4
DataHeaderElement_p4()
Definition: DataHeader_p4.cxx:7
DataHeaderElement_p4::token
const std::string & token() const
Definition: DataHeader_p4.cxx:64
DataHeaderElement_p4::m_technology
unsigned int m_technology
Definition: DataHeader_p4.h:44
DataHeaderElement_p4::key
const std::string & key() const
Definition: DataHeader_p4.cxx:56
DataHeaderElement_p4::m_keyPos
unsigned short m_keyPos
Definition: DataHeader_p4.h:46
DataHeaderElement_p4::operator=
DataHeaderElement_p4 & operator=(const DataHeaderElement_p4 &rhs)
Definition: DataHeader_p4.cxx:31
DataHeader_p4::guidMap
const std::vector< std::string > & guidMap() const
Definition: DataHeader_p4.cxx:100
DataHeaderElement_p4::pClid
unsigned int pClid() const
Definition: DataHeader_p4.cxx:48
DataHeaderCnv_p4
This class provides the converter to customize the saving of DataHeader_p4.
Definition: DataHeaderCnv_p4.h:35
DataHeaderElement_p4::m_hashes
std::vector< uint64_t > m_hashes
Definition: DataHeader_p4.h:47
DataHeaderElement_p4::m_alias
std::vector< std::string > m_alias
Definition: DataHeader_p4.h:43
DataHeaderElement_p4::m_dbGuidIdx
unsigned short m_dbGuidIdx
Definition: DataHeader_p4.h:45
DataHeaderElement_p4::m_clids
std::vector< unsigned int > m_clids
Definition: DataHeader_p4.h:41
DataHeaderElementCnv_p4
This class provides the converter to customize the saving of DataHeaderElement_p4.
Definition: DataHeaderCnv_p4.h:21
DataHeaderElement_p4::oid2
unsigned int oid2() const
Definition: DataHeader_p4.cxx:72
DataHeaderElement_p4::m_oid1
unsigned int m_oid1
Definition: DataHeader_p4.h:44
DataHeader_p4::elements
const std::vector< DataHeaderElement_p4 > & elements() const
Definition: DataHeader_p4.cxx:92
DataHeaderElement_p4
This class provides a persistent representation for the DataHeaderElement class.
Definition: DataHeader_p4.h:21
DataHeaderElement_p4::m_oid2
unsigned int m_oid2
Definition: DataHeader_p4.h:44