57 void Dump(std::ostream&)
const;
#define Q_BEGIN_NAMESPACE
Base class for diana drivers.
error class with error type and description
list of references to const QEvent (s)
Object to manage I/O (DB, file, or memory) of diana global quantities.
module instantiation class
Base class for diana modules.
base class for anything that has a name
Base class for diana event readers.
QObject storing a QSequence configuration, a set of QModuleConfigs.
Diana Reconstruction program.
void SetRunAgain(bool b)
Run the sequence again.
const QError & JumpToEvent(Long64_t event, QBaseModule *caller)
Jump to an event in a particular in a module.
QSequence(const std::string &)
Ctor that takes the name of the sequence as argument.
virtual ~QSequence()
Default dtor.
bool GetRunAgain() const
Check if this sequence is going to be rerun.
SequenceStatus GetSequenceStatus() const
Get the sequence status (Config/Init/Do/Done)
static size_t fCounter
Static sequence counter.
unsigned int GetIteration() const
QGlobalDataManager fGlobalData
Global variables that a module can save.
size_t GetNumber() const
Get the number of this sequence.
QDriver * p_Driver
Pointer to a driver.
SequenceStatus fSequenceStatus
Status of the current sequence.
void PrintGlobal() const
Print the global data.
unsigned int fIteration
Iterations counter.
const QGlobalDataManager & GlobalData() const
Access to the global data manager for the sequence.
std::vector< QBaseModule * > modules
The list of the modules.
void Dump(std::ostream &) const
Dump the content of the sequence.
std::string GetReaderName() const
Get the name of the reader.
QWriter * p_Writer
Pointer to the writer.
QGlobalDataManager & GlobalData()
Access to the global data manager for the sequence.
QRWCommon fRWCommon
The Reader/Writer data shared between the reader and writer.
QReader * p_Reader
Pointer to the reader.
void SaveConfig()
Save the config data to file.
void PrintEvents(const QEvent &ev, const QEventList &evList) const
Print the event list.
std::string GetWriterName() const
Get the name of the writer.
bool Run()
The core of the sequence. Loops over Init's, Do's and Done's.
void CheckModuleWithNeighbours()
Check if any of the modules have neighbours.
QSequenceConfig fConfig
Sequence config data.
std::string GetDriverName() const
Get the name of the driver.
Abstract class for diana writers.