A wrapper for DataHeader.
More...
#include <PyDataHeader.h>
A wrapper for DataHeader.
- Author
- Tadashi Maeno
Definition at line 25 of file PyDataHeader.h.
◆ PyDataHeader()
PyDataHeader::PyDataHeader |
( |
| ) |
|
|
inline |
Definition at line 28 of file PyDataHeader.h.
33 SmartIF<StoreGateSvc> pSvc{ Gaudi::svcLocator()->service(
"StoreGateSvc") };
35 log << MSG::ERROR <<
"could not get StoreGateSvc" <<
endmsg;
42 if (
sc.isFailure() ||
beg==ending)
43 log << MSG::ERROR <<
"could not get DataHeader" <<
endmsg;
47 for (;
beg != ending; ++
beg)
50 std::vector<DataHeaderElement>::const_iterator
it =
dh.begin();
51 for (;
it !=
dh.end(); ++
it)
58 log << MSG::ERROR <<
"could not get ClassIDSvc" <<
endmsg;
◆ ~PyDataHeader()
virtual PyDataHeader::~PyDataHeader |
( |
| ) |
|
|
inlinevirtual |
◆ getKey()
std::string PyDataHeader::getKey |
( |
int |
index | ) |
|
|
inline |
get key of Nth element
Definition at line 97 of file PyDataHeader.h.
102 return (*it)->getKey();
◆ getName()
std::string PyDataHeader::getName |
( |
int |
index | ) |
|
|
inline |
get class name of Nth element
Definition at line 67 of file PyDataHeader.h.
75 for (
CLID clid : (*it)->getClassIDs())
78 std::string localName;
83 log << MSG::ERROR <<
"could not get TypeName for " << clid <<
endmsg;
88 ((localName !=
"ParticleBaseContainer") &&
89 (localName !=
"IParticleContainer") &&
90 (localName !=
"INavigable4MomentumCollection")))
◆ size()
int PyDataHeader::size |
( |
| ) |
|
|
inline |
◆ m_classIDSvc
◆ m_DataHeaderElementV
The documentation for this class was generated from the following file: