8#ifndef PANDORA_XML_FILE_READER_H
9#define PANDORA_XML_FILE_READER_H 1
116 return STATUS_CODE_FAILURE;
125 return STATUS_CODE_FAILURE;
134 return STATUS_CODE_FAILURE;
Header file for the cartesian vector class.
Header file for the file reader class.
Header file for the pandora class.
Header file for the track state class.
Header file for the xml helper class.
StatusCode ReadCaloHit()
Read a calo hit from the current position in the file, recreating the stored object.
StatusCode ReadNextGeometryComponent()
Read the next pandora geometry component from the current position in the file, recreating the stored...
StatusCode ReadRelationship()
Read a relationship from the current position in the file, recreating the stored relationship.
~XmlFileReader()
Destructor.
StatusCode ReadBoxGap()
Read a box gap from the current position in the file.
StatusCode GoToEvent(const unsigned int eventNumber)
Skip to a specified event number in the file.
StatusCode GoToGeometry(const unsigned int geometryNumber)
Skip to a specified geometry number in the file.
TiXmlNode * m_pContainerXmlNode
The document xml node.
StatusCode ReadLineGap()
Read a line gap from the current position in the file.
StatusCode ReadConcentricGap()
Read a concentric gap from the current position in the file.
StatusCode ReadVariable(const std::string &xmlKey, T &t)
Read a variable from the file.
StatusCode ReadNextEventComponent()
Read the next pandora event component from the current position in the file, recreating the stored co...
TiXmlDocument * m_pXmlDocument
The xml document.
StatusCode ReadLArTPC()
Read a lar tpc from the current position in the file.
StatusCode ReadMCParticle()
Read a mc particle from the current position in the file, recreating the stored object.
StatusCode GoToNextContainer()
Skip to next container in the file.
StatusCode ReadSubDetector()
Read a sub detector from the current position in the file.
bool m_isAtFileStart
Whether reader is at file start.
StatusCode ReadHeader()
Read the container header from the current position in the file, checking for properly written contai...
StatusCode ReadTrack()
Read a track from the current position in the file, recreating the stored object.
ContainerId GetNextContainerId()
Get the id of the next container in the file without changing the current position in the file.
TiXmlElement * m_pCurrentXmlElement
The current xml element.
static StatusCode ReadVectorOfValues(const TiXmlHandle &xmlHandle, const std::string &xmlElementName, std::vector< T > &vector)
Read a vector of values from a (space separated) list in an xml element.
static StatusCode ReadValue(const TiXmlHandle &xmlHandle, const std::string &xmlElementName, T &t)
Read a value from an xml element.
std::vector< int > IntVector
ContainerId
The container identification enum.
std::vector< float > FloatVector
StatusCode
The StatusCode enum.