ATLAS Offline Software
|
This class provides the layout for summary information stored for data written to POOL. More...
#include <DataHeader.h>
Public Types | |
enum | statusFlag { Output, Input, Other } |
Public Member Functions | |
DataHeader () | |
Default Constructor. More... | |
DataHeader (const DataHeader &rhs) | |
Copy Constructor. More... | |
virtual | ~DataHeader () |
Destructor. More... | |
DataHeader & | operator= (const DataHeader &rhs) |
Assignment Operator. More... | |
void | setStatus (statusFlag status) |
Set StatusFlag enum for DataHeader. More... | |
bool | isInput () const |
Check whether StatusFlag is "Input". More... | |
void | setProcessTag (const std::string &processTag) |
Set ProcessTag for DataHeader. More... | |
const std::string & | getProcessTag () const |
int | size () const |
std::vector< DataHeaderElement >::const_iterator | begin () const |
std::vector< DataHeaderElement >::const_iterator | end () const |
const std::vector< DataHeaderElement > & | elements () const |
void | insert (const SG::TransientAddress *sgAddress, IOpaqueAddress *tokAddress=0, const std::string &pTag="") |
Insert a new element into the "DataObject" vector. More... | |
void | insert (const SG::DataProxy *proxy, IOpaqueAddress *tokAddress=0, const std::string &pTag="") |
Insert a new element into the "DataObject" vector. More... | |
void | insert (const DataHeaderElement &dhe) |
Insert a new element into the "DataObject" vector. More... | |
int | sizeProvenance () const |
std::vector< DataHeaderElement >::const_iterator | beginProvenance () const |
std::vector< DataHeaderElement >::const_iterator | endProvenance () const |
void | insertProvenance (const DataHeaderElement &dhe) |
Insert a new element into the "Provenance" vector. More... | |
void | addHash (IStringPool *pool) |
Add new entry to hash map. More... | |
void | setAttributeList (const coral::AttributeList *attrList) |
const coral::AttributeList * | getAttributeList () |
void | setEvtRefTokenStr (const std::string &tokenStr) |
const std::string & | getEvtRefTokenStr () |
void | dump (std::ostream &ostr) const |
Private Attributes | |
std::vector< DataHeaderElement > | m_dataHeader |
vector with DataHeaderElement to "DataObject". More... | |
std::vector< DataHeaderElement > | m_inputDataHeader |
vector with DataHeaderElement to upstream DataHeader ("Provenance"). More... | |
statusFlag | m_status |
StatusFlag (i.e.: Output, Primary, Input, Manual, Other). More... | |
std::string | m_processTag |
ProcessTag (e.g.: "StreamESD", "StreamAOD" ...). More... | |
const coral::AttributeList * | m_attrList |
Optional pointer to AttributeList to enable writing of TAG Attributes to Payload files. More... | |
std::string | m_evtRefTokenStr |
Optional Token String for Event Reference to enable writing of TAG to Payload files. More... | |
Friends | |
class | DataHeaderCnv_p3 |
class | DataHeaderCnv_p4 |
class | DataHeaderCnv_p5 |
class | DataHeaderCnv_p6 |
class | DataHeaderCnv |
This class provides the layout for summary information stored for data written to POOL.
Definition at line 124 of file DataHeader.h.
Enumerator | |
---|---|
Output | |
Input | |
Other |
Definition at line 126 of file DataHeader.h.
DataHeader::DataHeader | ( | ) |
DataHeader::DataHeader | ( | const DataHeader & | rhs | ) |
|
virtual |
void DataHeader::addHash | ( | IStringPool * | pool | ) |
std::vector< DataHeaderElement >::const_iterator DataHeader::begin | ( | ) | const |
Definition at line 255 of file DataHeader.cxx.
std::vector< DataHeaderElement >::const_iterator DataHeader::beginProvenance | ( | ) | const |
Definition at line 285 of file DataHeader.cxx.
void DataHeader::dump | ( | std::ostream & | ostr | ) | const |
Definition at line 327 of file DataHeader.cxx.
const std::vector< DataHeaderElement > & DataHeader::elements | ( | ) | const |
Definition at line 263 of file DataHeader.cxx.
std::vector< DataHeaderElement >::const_iterator DataHeader::end | ( | ) | const |
Definition at line 259 of file DataHeader.cxx.
std::vector< DataHeaderElement >::const_iterator DataHeader::endProvenance | ( | ) | const |
Definition at line 289 of file DataHeader.cxx.
const coral::AttributeList * DataHeader::getAttributeList | ( | ) |
Definition at line 312 of file DataHeader.cxx.
const std::string & DataHeader::getEvtRefTokenStr | ( | ) |
Definition at line 320 of file DataHeader.cxx.
const std::string & DataHeader::getProcessTag | ( | ) | const |
Definition at line 247 of file DataHeader.cxx.
void DataHeader::insert | ( | const DataHeaderElement & | dhe | ) |
Insert a new element into the "DataObject" vector.
dhe | [IN] reference to the DataHeaderElement to be inserted. |
Definition at line 277 of file DataHeader.cxx.
void DataHeader::insert | ( | const SG::DataProxy * | proxy, |
IOpaqueAddress * | tokAddress = 0 , |
||
const std::string & | pTag = "" |
||
) |
Insert a new element into the "DataObject" vector.
proxy | [IN] pointer to the DataProxy for the DataObject. |
pTag | [IN] string to overwrite key member of the DataHeaderElement |
Definition at line 273 of file DataHeader.cxx.
void DataHeader::insert | ( | const SG::TransientAddress * | sgAddress, |
IOpaqueAddress * | tokAddress = 0 , |
||
const std::string & | pTag = "" |
||
) |
Insert a new element into the "DataObject" vector.
sgAddress | [IN] pointer to the TransientAddress of the DataObject. |
pTag | [IN] string to overwrite key member of the DataHeaderElement |
Definition at line 267 of file DataHeader.cxx.
void DataHeader::insertProvenance | ( | const DataHeaderElement & | dhe | ) |
Insert a new element into the "Provenance" vector.
dhe | [IN] reference to the DataHeaderElement to be inserted. |
Definition at line 293 of file DataHeader.cxx.
bool DataHeader::isInput | ( | ) | const |
Check whether StatusFlag is "Input".
Definition at line 239 of file DataHeader.cxx.
DataHeader & DataHeader::operator= | ( | const DataHeader & | rhs | ) |
void DataHeader::setAttributeList | ( | const coral::AttributeList * | attrList | ) |
Definition at line 308 of file DataHeader.cxx.
void DataHeader::setEvtRefTokenStr | ( | const std::string & | tokenStr | ) |
Definition at line 316 of file DataHeader.cxx.
void DataHeader::setProcessTag | ( | const std::string & | processTag | ) |
Set ProcessTag for DataHeader.
processTag | [IN] string containing ProcessTag. |
Definition at line 243 of file DataHeader.cxx.
void DataHeader::setStatus | ( | statusFlag | status | ) |
Set StatusFlag enum for DataHeader.
Definition at line 235 of file DataHeader.cxx.
int DataHeader::size | ( | ) | const |
Definition at line 251 of file DataHeader.cxx.
int DataHeader::sizeProvenance | ( | ) | const |
Definition at line 281 of file DataHeader.cxx.
|
friend |
Definition at line 198 of file DataHeader.h.
|
friend |
Definition at line 194 of file DataHeader.h.
|
friend |
Definition at line 195 of file DataHeader.h.
|
friend |
Definition at line 196 of file DataHeader.h.
|
friend |
Definition at line 197 of file DataHeader.h.
|
private |
Optional pointer to AttributeList to enable writing of TAG Attributes to Payload files.
Definition at line 209 of file DataHeader.h.
|
private |
vector with DataHeaderElement to "DataObject".
Definition at line 201 of file DataHeader.h.
|
private |
Optional Token String for Event Reference to enable writing of TAG to Payload files.
Definition at line 211 of file DataHeader.h.
|
private |
vector with DataHeaderElement to upstream DataHeader ("Provenance").
Definition at line 203 of file DataHeader.h.
|
private |
ProcessTag (e.g.: "StreamESD", "StreamAOD" ...).
Definition at line 207 of file DataHeader.h.
|
private |
StatusFlag (i.e.: Output, Primary, Input, Manual, Other).
Definition at line 205 of file DataHeader.h.