#include <CondAttrListVec.h>
Definition at line 30 of file CondAttrListVec.h.
◆ AttrListCVMap
◆ AttrListDataIter
◆ AttrListIOVMap
◆ AttrListPair
◆ AttrListVec
◆ const_iterator
◆ iov_const_iterator
◆ iov_size_type
◆ size_type
◆ CondAttrListVec() [1/4]
| CondAttrListVec::CondAttrListVec |
( |
bool | runevent | ) |
|
|
inlineexplicit |
Definition at line 127 of file CondAttrListVec.h.
127 :
133}
coral::AttributeListSpecification * m_spec
static constexpr uint64_t MAXTIMESTAMP
static constexpr uint32_t MAXRUN
static constexpr uint32_t MINEVENT
static constexpr uint64_t MINTIMESTAMP
static constexpr uint32_t MAXEVENT
static constexpr uint32_t MINRUN
◆ CondAttrListVec() [2/4]
| CondAttrListVec::CondAttrListVec |
( |
bool | runevent, |
|
|
size_type | nelm ) |
|
inline |
◆ ~CondAttrListVec()
| CondAttrListVec::~CondAttrListVec |
( |
| ) |
|
|
inline |
◆ CondAttrListVec() [3/4]
Definition at line 149 of file CondAttrListVec.h.
149 :
150 DataObject::DataObject(rhs),
156{
157
158
159 if (!rhs.
m_data.empty()) {
160 m_spec=
new coral::AttributeListSpecification();
161 const coral::AttributeList& atr1=rhs.
m_data.begin()->second;
162 for (const auto& attr : atr1) {
163 const coral::AttributeSpecification& aspec=attr.specification();
164 m_spec->extend(aspec.name(),aspec.typeName());
165 }
166 for (
const auto& [chan, attrList] : rhs.
m_data) {
168 coral::AttributeList(*
m_spec,
true)));
169 (
m_data.back().second).fastCopyData(attrList);
170 }
171 }
172}
std::pair< unsigned int, coral::AttributeList > AttrListPair
◆ CondAttrListVec() [4/4]
| CondAttrListVec::CondAttrListVec |
( |
| ) |
|
|
private |
◆ add()
Definition at line 238 of file CondAttrListVec.h.
240 {
241
243
250
251 if (!
m_spec && data_begin!=data_end) {
252 m_spec=
new coral::AttributeListSpecification();
253 for (const auto& attr : *data_begin) {
254 const coral::AttributeSpecification& aspec=attr.specification();
255 m_spec->extend(aspec.name(),aspec.typeName());
256 }
257 }
258
261 (
m_data.back().second).fastCopyData(*itr);
262 }
264}
std::vector< coral::AttributeList >::const_iterator AttrListDataIter
CxxUtils::CachedValue< Index > m_index
◆ addNewStop()
| void CondAttrListVec::addNewStop |
( |
const IOVTime & | stop | ) |
|
|
inline |
◆ addSlice()
| void CondAttrListVec::addSlice |
( |
const IOVRange & | range, |
|
|
const unsigned int | chan, |
|
|
const std::vector< coral::AttributeList > & | data, |
|
|
const unsigned int | datastart, |
|
|
const unsigned int | dataend ) |
|
inline |
Definition at line 266 of file CondAttrListVec.h.
271{
272
274
281
282 if (!
m_spec && datastart!=dataend) {
283 m_spec=
new coral::AttributeListSpecification();
284 const coral::AttributeList& atr0=
data[datastart];
285 for (const auto& attr : atr0) {
286 const coral::AttributeSpecification& aspec=attr.specification();
287 m_spec->extend(aspec.name(),aspec.typeName());
288 }
289 }
290
291 for (
unsigned int i=datastart;
i<dataend;++
i) {
294 }
296}
char data[hepevt_bytes_allocation_ATLAS]
◆ attrListVec()
| const std::vector< const coral::AttributeList * > & CondAttrListVec::attrListVec |
( |
const int | chan | ) |
const |
|
inline |
Definition at line 312 of file CondAttrListVec.h.
313{
315 AttrListCVMap::const_iterator
it =
m.find (chan);
318 }
319 static const std::vector<const coral::AttributeList*> dum;
320 return dum;
321}
std::map< unsigned int, std::vector< const coral::AttributeList * > > AttrListCVMap
const Index & index() const
AttrListCVMap m_indexchanvec
◆ begin()
◆ channelIDs()
| const std::vector< unsigned int > & CondAttrListVec::channelIDs |
( |
| ) |
const |
|
inline |
Definition at line 302 of file CondAttrListVec.h.
302 {
304}
std::vector< unsigned int > m_indexchan
◆ end()
◆ hasChannel()
| bool CondAttrListVec::hasChannel |
( |
const int | chan | ) |
const |
|
inline |
◆ hasUniqueIOV()
| bool CondAttrListVec::hasUniqueIOV |
( |
| ) |
const |
|
inline |
◆ index()
Definition at line 324 of file CondAttrListVec.h.
325{
328
329
330
332 unsigned int chan=
p.first;
333 AttrListCVMap::iterator clist=
index.m_indexchanvec.find(chan);
334 if (clist==
index.m_indexchanvec.end()) {
335
336 std::pair<AttrListCVMap::iterator,bool>
res=
337 index.m_indexchanvec.insert(AttrListCVMap::value_type(chan,
338 std::vector<const coral::AttributeList*>()));
340 index.m_indexchan.push_back(chan);
341 }
342 clist->second.push_back(&(
p.second));
343 }
344
346 }
348}
std::pair< std::vector< unsigned int >, bool > res
◆ iov_begin()
◆ iov_end()
◆ iov_size()
◆ iovRange()
◆ minRange()
| const IOVRange & CondAttrListVec::minRange |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ size()
◆ m_data
◆ m_index
◆ m_iovmap
◆ m_minrange
◆ m_runevent
| bool CondAttrListVec::m_runevent |
|
private |
◆ m_spec
| coral::AttributeListSpecification* CondAttrListVec::m_spec |
|
private |
◆ m_uniqueiov
| bool CondAttrListVec::m_uniqueiov |
|
private |
The documentation for this class was generated from the following file: