LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
EventReadingAlgorithm class. More...
#include "EventReadingAlgorithm.h"
Classes | |
class | ExternalEventReadingParameters |
External event reading parameters class. More... | |
Public Member Functions | |
EventReadingAlgorithm () | |
Default constructor. More... | |
~EventReadingAlgorithm () | |
Destructor. More... | |
Private Member Functions | |
pandora::StatusCode | Initialize () |
pandora::StatusCode | Run () |
void | MoveToNextEventFile () |
Proceed to process next event file named in the input list. More... | |
pandora::StatusCode | ReplaceEventFileReader (const std::string &fileName) |
Replace the current event file reader with a new reader for the specified file. More... | |
pandora::FileType | GetFileType (const std::string &fileName) const |
Analyze a provided file name to extract the file type/extension. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
std::string | m_geometryFileName |
Name of the file containing geometry information. More... | |
std::string | m_eventFileName |
Name of the current file containing event information. More... | |
pandora::StringVector | m_eventFileNameVector |
Vector of file names to be processed. More... | |
unsigned int | m_skipToEvent |
Index of first event to consider in first input file. More... | |
bool | m_useLArCaloHits |
Whether to read lar calo hits, or standard pandora calo hits. More... | |
bool | m_useLArMCParticles |
Whether to read lar mc particles, or standard pandora mc particles. More... | |
pandora::FileReader * | m_pEventFileReader |
Address of the event file reader. More... | |
EventReadingAlgorithm class.
Definition at line 27 of file EventReadingAlgorithm.h.
lar_content::EventReadingAlgorithm::EventReadingAlgorithm | ( | ) |
Default constructor.
Definition at line 26 of file EventReadingAlgorithm.cc.
lar_content::EventReadingAlgorithm::~EventReadingAlgorithm | ( | ) |
Destructor.
Definition at line 36 of file EventReadingAlgorithm.cc.
References m_pEventFileReader.
|
private |
Analyze a provided file name to extract the file type/extension.
fileName | the file name |
Definition at line 150 of file EventReadingAlgorithm.cc.
Referenced by Initialize(), and ReplaceEventFileReader().
|
private |
Definition at line 43 of file EventReadingAlgorithm.cc.
References GetFileType(), m_eventFileName, m_geometryFileName, m_pEventFileReader, m_skipToEvent, and ReplaceEventFileReader().
|
private |
Proceed to process next event file named in the input list.
Definition at line 97 of file EventReadingAlgorithm.cc.
References m_eventFileName, m_eventFileNameVector, m_pEventFileReader, and ReplaceEventFileReader().
Referenced by Run().
|
private |
Definition at line 172 of file EventReadingAlgorithm.cc.
References m_eventFileName, lar_content::EventReadingAlgorithm::ExternalEventReadingParameters::m_eventFileNameList, m_eventFileNameVector, lar_content::EventReadingAlgorithm::ExternalEventReadingParameters::m_geometryFileName, m_geometryFileName, lar_content::EventReadingAlgorithm::ExternalEventReadingParameters::m_skipToEvent, m_skipToEvent, m_useLArCaloHits, and m_useLArMCParticles.
|
private |
Replace the current event file reader with a new reader for the specified file.
fileName | the file name |
Definition at line 118 of file EventReadingAlgorithm.cc.
References GetFileType(), m_pEventFileReader, m_useLArCaloHits, and m_useLArMCParticles.
Referenced by Initialize(), and MoveToNextEventFile().
|
private |
Definition at line 76 of file EventReadingAlgorithm.cc.
References m_eventFileName, m_pEventFileReader, and MoveToNextEventFile().
|
private |
Name of the current file containing event information.
Definition at line 79 of file EventReadingAlgorithm.h.
Referenced by Initialize(), MoveToNextEventFile(), ReadSettings(), and Run().
|
private |
Vector of file names to be processed.
Definition at line 80 of file EventReadingAlgorithm.h.
Referenced by MoveToNextEventFile(), and ReadSettings().
|
private |
Name of the file containing geometry information.
Definition at line 78 of file EventReadingAlgorithm.h.
Referenced by Initialize(), and ReadSettings().
|
private |
Address of the event file reader.
Definition at line 87 of file EventReadingAlgorithm.h.
Referenced by Initialize(), MoveToNextEventFile(), ReplaceEventFileReader(), Run(), and ~EventReadingAlgorithm().
|
private |
Index of first event to consider in first input file.
Definition at line 82 of file EventReadingAlgorithm.h.
Referenced by Initialize(), and ReadSettings().
|
private |
Whether to read lar calo hits, or standard pandora calo hits.
Definition at line 84 of file EventReadingAlgorithm.h.
Referenced by ReadSettings(), and ReplaceEventFileReader().
|
private |
Whether to read lar mc particles, or standard pandora mc particles.
Definition at line 85 of file EventReadingAlgorithm.h.
Referenced by ReadSettings(), and ReplaceEventFileReader().