ATLAS Offline Software
IOVPayloadContainer_p1.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 IOVDBDATAMODEL_IOVPAYLOADCONTAINER_P1_H
6 #define IOVDBDATAMODEL_IOVPAYLOADCONTAINER_P1_H
7 
21 //<<<<<< INCLUDES >>>>>>
23 #include <stdint.h>
24 #include <vector>
25 #include <string>
26 
28 public:
29 
49  };
50 
51 
52 
54  {
55  public:
56  IOVRange_p1() : m_start(0), m_stop(0) {}
57  unsigned long long m_start;
58  unsigned long long m_stop;
59  };
60 
61 
63  {
64  public:
65 
66  unsigned int m_channelNumber;
67  unsigned int m_firstIndex;
68  unsigned int m_lastIndex;
70  std::string m_name;
71  };
72 
74  {
75  public:
77  m_start(static_cast<unsigned long long>(-1)),
78  m_stop (static_cast<unsigned long long>(-1)),
80  {}
81  std::vector<CondAttrListEntry_p1> m_attrLists;
82  // Must save stop - may be smaller than min stop of all
83  // channels because there may be extra channels not yet in
84  // this AttrListCollection
85  // Similarly, we save start - introduced only for
86  // IOVDbSvc-01-00-00
87  unsigned long long m_start;
88  unsigned long long m_stop;
90  };
91 
92 
94 
95 // // Copy from persistent attr list to transient attr list
96 // void copy(const CondAttrListCollection_p1 attrList_p, AthenaAttributeList& attrList);
97 
98 
99 // // Copy in new transient attr list
100 // void add(const AthenaAttributeList& attrList);
101 
102  std::vector<CondAttrListCollection_p1> m_payloadVec;
103 
104  // Keep attribute list indexes at top level to allow splitting
105  std::vector<AttrListIndexes> m_attrIndexes;
106 
107  std::vector<bool> m_bool;
108  std::vector<char> m_char;
109  std::vector<unsigned char> m_unsignedChar;
110  std::vector<short> m_short;
111  std::vector<unsigned short> m_unsignedShort;
112  std::vector<int> m_int;
113  std::vector<unsigned int> m_unsignedInt;
114  std::vector<long> m_long;
115  std::vector<unsigned long> m_unsignedLong;
116  std::vector<long long> m_longLong;
117  std::vector<unsigned long long> m_unsignedLongLong;
118  std::vector<float> m_float;
119  std::vector<double> m_double;
120 // std::vector<long double> m_longDouble;
121  std::vector<std::string> m_string;
122  std::vector<unsigned long long> m_date;
123  std::vector<unsigned long long> m_timeStamp;
124 
125  // AttributeList specification
126  std::vector<std::string> m_attrName;
127  std::vector<unsigned int> m_attrType;
128 
129 };
130 
131 
132 #endif // IOVDBDATAMODEL_IOVPAYLOADCONTAINER_P1_H
IOVPayloadContainer_p1::m_attrIndexes
std::vector< AttrListIndexes > m_attrIndexes
Definition: IOVPayloadContainer_p1.h:105
IOVPayloadContainer_p1::m_short
std::vector< short > m_short
Definition: IOVPayloadContainer_p1.h:110
IOVPayloadContainer_p1::IOVRange_p1::IOVRange_p1
IOVRange_p1()
Definition: IOVPayloadContainer_p1.h:56
IOVPayloadContainer_p1::CondAttrListCollection_p1::CondAttrListCollection_p1
CondAttrListCollection_p1()
Definition: IOVPayloadContainer_p1.h:76
IOVPayloadContainer_p1::m_double
std::vector< double > m_double
Definition: IOVPayloadContainer_p1.h:119
IOVPayloadContainer_p1::CondAttrListEntry_p1::m_firstIndex
unsigned int m_firstIndex
Definition: IOVPayloadContainer_p1.h:67
IOVPayloadContainer_p1::CondAttrListCollection_p1::m_stop
unsigned long long m_stop
Definition: IOVPayloadContainer_p1.h:88
IOVPayloadContainer_p1::IOVRange_p1::m_start
unsigned long long m_start
Definition: IOVPayloadContainer_p1.h:57
IOVPayloadContainer_p1::ATTR_UNSIGNED_INT
@ ATTR_UNSIGNED_INT
Definition: IOVPayloadContainer_p1.h:37
IOVPayloadContainer_p1::m_unsignedLongLong
std::vector< unsigned long long > m_unsignedLongLong
Definition: IOVPayloadContainer_p1.h:117
IOVPayloadContainer_p1::m_unsignedInt
std::vector< unsigned int > m_unsignedInt
Definition: IOVPayloadContainer_p1.h:113
IOVPayloadContainer_p1::ATTR_UNSIGNED_LONG
@ ATTR_UNSIGNED_LONG
Definition: IOVPayloadContainer_p1.h:39
IOVPayloadContainer_p1::m_float
std::vector< float > m_float
Definition: IOVPayloadContainer_p1.h:118
IOVPayloadContainer_p1::m_long
std::vector< long > m_long
Definition: IOVPayloadContainer_p1.h:114
IOVPayloadContainer_p1::ATTR_FLOAT
@ ATTR_FLOAT
Definition: IOVPayloadContainer_p1.h:42
IOVPayloadContainer_p1::CondAttrListCollection_p1::m_start
unsigned long long m_start
Definition: IOVPayloadContainer_p1.h:87
IOVPayloadContainer_p1::ATTR_LONG
@ ATTR_LONG
Definition: IOVPayloadContainer_p1.h:38
IOVPayloadContainer_p1::ATTR_INT
@ ATTR_INT
Definition: IOVPayloadContainer_p1.h:36
IOVPayloadContainer_p1::ATTR_LONG_DOUBLE
@ ATTR_LONG_DOUBLE
Definition: IOVPayloadContainer_p1.h:44
IOVPayloadContainer_p1::ATTR_UNSIGNED_LONG_LONG
@ ATTR_UNSIGNED_LONG_LONG
Definition: IOVPayloadContainer_p1.h:41
xAOD::unsigned
unsigned
Definition: RingSetConf_v1.cxx:662
IOVPayloadContainer_p1::CondAttrListEntry_p1
Definition: IOVPayloadContainer_p1.h:63
IOVPayloadContainer_p1::IOVRange_p1
Definition: IOVPayloadContainer_p1.h:54
IOVPayloadContainer_p1::CondAttrListCollection_p1
Definition: IOVPayloadContainer_p1.h:74
IOVPayloadContainer_p1::m_char
std::vector< char > m_char
Definition: IOVPayloadContainer_p1.h:108
IOVPayloadContainer_p1::ATTR_LONG_LONG
@ ATTR_LONG_LONG
Definition: IOVPayloadContainer_p1.h:40
IOVPayloadContainer_p1::ATTR_DOUBLE
@ ATTR_DOUBLE
Definition: IOVPayloadContainer_p1.h:43
IOVPayloadContainer_p1::CondAttrListEntry_p1::m_range
IOVRange_p1 m_range
Definition: IOVPayloadContainer_p1.h:69
IOVPayloadContainer_p1::m_attrName
std::vector< std::string > m_attrName
Definition: IOVPayloadContainer_p1.h:126
IOVPayloadContainer_p1::m_longLong
std::vector< long long > m_longLong
Definition: IOVPayloadContainer_p1.h:116
IOVPayloadContainer_p1::m_attrType
std::vector< unsigned int > m_attrType
Definition: IOVPayloadContainer_p1.h:127
IOVPayloadContainer_p1::m_string
std::vector< std::string > m_string
Definition: IOVPayloadContainer_p1.h:121
IOVPayloadContainer_p1::IOVRange_p1::m_stop
unsigned long long m_stop
Definition: IOVPayloadContainer_p1.h:58
IOVPayloadContainer_p1::ATTR_UNSIGNED_CHAR
@ ATTR_UNSIGNED_CHAR
Definition: IOVPayloadContainer_p1.h:33
IOVPayloadContainer_p1::ATTR_UNSIGNED_SHORT
@ ATTR_UNSIGNED_SHORT
Definition: IOVPayloadContainer_p1.h:35
IOVPayloadContainer_p1::ATTR_DATE
@ ATTR_DATE
Definition: IOVPayloadContainer_p1.h:47
IOVPayloadContainer_p1::m_unsignedShort
std::vector< unsigned short > m_unsignedShort
Definition: IOVPayloadContainer_p1.h:111
IOVPayloadContainer_p1::ATTR_SHORT
@ ATTR_SHORT
Definition: IOVPayloadContainer_p1.h:34
IOVPayloadContainer_p1::CondAttrListEntry_p1::m_channelNumber
unsigned int m_channelNumber
Definition: IOVPayloadContainer_p1.h:66
AttrListIndexes.h
IOVPayloadContainer_p1::m_date
std::vector< unsigned long long > m_date
Definition: IOVPayloadContainer_p1.h:122
IOVPayloadContainer_p1::CondAttrListCollection_p1::m_attrLists
std::vector< CondAttrListEntry_p1 > m_attrLists
Definition: IOVPayloadContainer_p1.h:81
IOVPayloadContainer_p1
Definition: IOVPayloadContainer_p1.h:27
IOVPayloadContainer_p1::ATTR_BOOL
@ ATTR_BOOL
Definition: IOVPayloadContainer_p1.h:31
IOVPayloadContainer_p1::ATTR_CHAR
@ ATTR_CHAR
Definition: IOVPayloadContainer_p1.h:32
IOVPayloadContainer_p1::ATTR_STRING
@ ATTR_STRING
Definition: IOVPayloadContainer_p1.h:45
IOVPayloadContainer_p1::m_unsignedLong
std::vector< unsigned long > m_unsignedLong
Definition: IOVPayloadContainer_p1.h:115
IOVPayloadContainer_p1::m_unsignedChar
std::vector< unsigned char > m_unsignedChar
Definition: IOVPayloadContainer_p1.h:109
IOVPayloadContainer_p1::CondAttrListEntry_p1::m_lastIndex
unsigned int m_lastIndex
Definition: IOVPayloadContainer_p1.h:68
IOVPayloadContainer_p1::ATTR_BLOB
@ ATTR_BLOB
Definition: IOVPayloadContainer_p1.h:46
IOVPayloadContainer_p1::m_int
std::vector< int > m_int
Definition: IOVPayloadContainer_p1.h:112
IOVPayloadContainer_p1::IOVPayloadContainer_p1
IOVPayloadContainer_p1()
Definition: IOVPayloadContainer_p1.cxx:7
IOVPayloadContainer_p1::m_payloadVec
std::vector< CondAttrListCollection_p1 > m_payloadVec
Definition: IOVPayloadContainer_p1.h:102
IOVPayloadContainer_p1::CondAttrListCollection_p1::m_hasRunLumiBlockTime
bool m_hasRunLumiBlockTime
Definition: IOVPayloadContainer_p1.h:89
IOVPayloadContainer_p1::CondAttrListEntry_p1::m_name
std::string m_name
Definition: IOVPayloadContainer_p1.h:70
IOVPayloadContainer_p1::AttrListTypes
AttrListTypes
Definition: IOVPayloadContainer_p1.h:30
IOVPayloadContainer_p1::ATTR_TIME_STAMP
@ ATTR_TIME_STAMP
Definition: IOVPayloadContainer_p1.h:48
IOVPayloadContainer_p1::m_bool
std::vector< bool > m_bool
Definition: IOVPayloadContainer_p1.h:107
IOVPayloadContainer_p1::m_timeStamp
std::vector< unsigned long long > m_timeStamp
Definition: IOVPayloadContainer_p1.h:123