39 return STATUS_CODE_FAILURE;
48 std::cout <<
" FileReader::ReadGeometry() encountered unrecognized object in file: " << statusCodeException.
ToString() << std::endl;
53 return STATUS_CODE_SUCCESS;
74 std::cout <<
" FileReader::ReadEvent() encountered unrecognized object in file: " << statusCodeException.
ToString() << std::endl;
79 return STATUS_CODE_SUCCESS;
92 return STATUS_CODE_SUCCESS;
105 return STATUS_CODE_SUCCESS;
Header file for the file reader class.
Header file for the pandora api class.
#define PANDORA_RETURN_RESULT_IF(StatusCode1, Operator, Command)
virtual StatusCode GoToNextContainer()=0
Skip to next container in the file.
FileReader(const pandora::Pandora &pandora, const std::string &fileName)
Constructor.
virtual StatusCode ReadNextEventComponent()=0
Read the next pandora event component from the current position in the file, recreating the stored co...
StatusCode GoToNextGeometry()
Skip to next geometry container in the file.
StatusCode ReadEvent()
Read an entire pandora event from the file, recreating the stored objects.
StatusCode ReadGeometry()
Read the current geometry information from the file.
virtual StatusCode ReadHeader()=0
Read the container header from the current position in the file, checking for properly written contai...
virtual ContainerId GetNextContainerId()=0
Get the id of the next container in the file without changing the current position in the file.
virtual ~FileReader()
Destructor.
virtual StatusCode ReadNextGeometryComponent()=0
Read the next pandora geometry component from the current position in the file, recreating the stored...
StatusCode GoToNextEvent()
Skip to next event container in the file.
ContainerId m_containerId
The type of container currently being written to file.
StatusCodeException class.
std::string ToString() const
Get status code as a string.
StatusCode
The StatusCode enum.