#include "hdstproduction.h" |
HDstProduction
class description - source file - inheritance tree (.pdf)
public:
HDstProduction()
HDstProduction(const HDstProduction&)
~HDstProduction()
static TClass* Class()
void configure(int argc, char** argv)
void finalize()
const HDstProduction::DstConfiguration_t& getConfiguration() const
void initialize()
virtual TClass* IsA() const
HDstProduction& operator=(const HDstProduction&)
void printConfiguration()
void printHelp()
void runEventLoop()
void setupAllParameterOutput()
void setupOutput()
void setupParameterOutput()
void setupParameterSources()
void setupRootInput()
void setupSpectrometer()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void terminate(Int_t exit_code)
protected:
static const Int_t TREE_BUFFER_SIZE
HDstProduction::DstConfiguration_t dstCfg
HDstProduction()
~HDstProduction()
void configure(int argc, char** argv)
First this function checks on the command line, weather a
configuration file was specified. Then these information
are evaluated, before the command line is search again for
other option.
This means, that the program parameter are evaluated in the
following order of precedence (low to high):
1. Default parameter from constructor
2. Parameter read from configuration file
3. Parameter read from command line
void setupSpectrometer()
Setup the spectormeter. This functions creates the setup of the
spectrometer using the related module parameters of the dstCfg
structure.
void setupParameterSources()
Setup and open parameter sources. The function uses the related variables
of the dstCfg structure to decide which source is taken.
void setupRootInput()
Setup data input file: This function determines and opens
one or more .root input files of analysed data. All necessary
information are provided by dstCfg structure.
void setupOutput()
Setup data output: This function opens a .root output file, those
name is derived from the input filename and initializes the output
tree 'T' in this file.
CAUTION: This function must be called AFTER initialize(), otherwise
the output is corrupted or the program might crash.
void setupAllParameterOutput()
Dump all parameter of an experiment to an .root output file.
This function expects a filename ending on '.root' in dstCfg parameter
structure, if the output should be written to a Root file.
Actually to dump the parameter to file one has to destroy the object
gHades after the event loop was executed, thus do:
setupAllParameterOutput();
initialize();
runEventLoop();
finalize();
void setupParameterOutput()
Dump the used parameter to an .root output file.
This function expects a filename ending on '.root' in dstCfg parameter
structure, if the output should be written to a Root file.
Actually to dump the parameter to file one has to destroy the object
gHades after the event loop was executed, thus do:
setupAllParameterOutput();
initialize();
runEventLoop();
finalize();
void printConfiguration()
Just print the content of the dstCfg structure.
void initialize()
Just initialize the analysis run.
void runEventLoop()
Run the event loop an print the timing information of the
executed tasks, if available.
The number of events to be processed and other parameter
are provided by the dstCfg structure.
void finalize()
Close all IO sources and exit the program successfully.
void terminate(Int_t exit_code)
Close all IO sources and exit the program with an error code.
void printHelp()
Just print the help on the command line options.
Inline Functions
const HDstProduction::DstConfiguration_t& getConfiguration() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HDstProduction HDstProduction(const HDstProduction&)
HDstProduction& operator=(const HDstProduction&)
Last update: Fri Jan 26 11:54:07 2007
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.