class HDstProduction: public TObject

_HADES_CLASS_DESCRIPTION


  Base class of DST Production Classes.

  This is not an abstract base class, however it is not intended to create
  instances of this class. Instead, create an object of one of the classes
  derived from here. Therefore, the constructor of this class is protected.


Function Members (Methods)

public:
HDstProduction()
HDstProduction(const HDstProduction&)
virtual~HDstProduction()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
voidconfigure(Int_t argc, Char_t** argv)
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
voidfinalize()
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
const HDstProduction::DstConfiguration_t&getConfiguration()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
voidinitialize()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
HDstProduction&operator=(const HDstProduction&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
voidprintConfiguration()
voidprintHelp()
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
voidrunEventLoop()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
static voidsetBatchMode(Bool_t batch)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidsetupAllParameterOutput()
voidsetupOutput()
voidsetupParameterOutput()
voidsetupParameterSources()
voidsetupRootInput()
voidsetupSpectrometer()
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
voidterminate(Int_t exit_code)
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
static const Int_tTREE_BUFFER_SIZE
HDstProduction::DstConfiguration_tdstCfg
static Bool_tisBatch

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HDstProduction()
 Default Constructor: gHades created, Root set to batch mode.
~HDstProduction()
void configure(Int_t argc, Char_t** 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:
    setupParameterOutput();
    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)
 Write parameters to the output file. If setupAllParameterOutput()
 was used to set the name of the output parameter file,
 parameters for the whole beamtime period are written.
 In the case of using setupParameterOutput() function,
 parameters only for a single runID are written.

 At the end close all IO sources and exit the program with an error code.
void printHelp()
 Just print the help on the command line options.
HDstProduction()
const DstConfiguration_t& getConfiguration()
{ return dstCfg; }
void setBatchMode(Bool_t batch)
{ isBatch = batch; }

Last change: Sat May 22 12:54:54 2010
Last generated: 2010-05-22 12:54

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.