BrModuleContainer
class description - source file - inheritance tree
public:
BrModuleContainer BrModuleContainer(BrModuleContainer&)
BrModuleContainer BrModuleContainer(Char_t* name, Char_t* title)
BrModuleContainer BrModuleContainer()
void ~BrModuleContainer()
virtual Int_t AddModule(BrModule* Module)
virtual void Begin()
TClass* Class()
virtual void End()
virtual void Event(BrEventNode* indat, BrEventNode* outdat)
virtual void Event()
virtual TClass* IsA()
virtual void ListModules()
virtual void SetVerbose(Int_t Verbose)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
TObjArray* fModuleList List of Analysis Modules
Int_t fVerbose Option flag
BrEventIO
Class to manage modules to be executed in sequence in
BRAHMS analysis
Description:
This class is a container class for BRAHMS Analysis Modules.
It is meant to be used to simplify like-kinds of analyis.
Usage:
The Object is created, modules previously created are added to
it and then is used in the event by event loop to call the
Event method of each module that was added. Usage of this
class essentially eliminates a loop.
Example:
asp_digitize = new BrModuleContainer("asp_digitize","Digitize Modules");
asp_digitize->AddModule(t1_digitize); //add t1_digitize previously created
asp_digitize->AddModule(t2_digitize);
asp_digitize->AddModule(t3_digitize);
asp_digitize->AddModule(t4_digitize);
asp_digitize->AddModule(t5_digitize);
Event Loop
.
.
Get GBRAHMS data and create BrEvent *geantevent
BrEvent *dig_table = new BrEvent("Digitized Table",0,0);
asp_digitize->Event(geantevent,dig_table);
.
.
Analyze dig_table as needed
.
.
delete dig_table;
.
.
End Event Loop
BrModuleContainer()
BrModuleContainer(Char_t *Name, Char_t *Title)
Constructor
Set up Module list
~BrModuleContainer()
Destructor
Delete module list if it was created
Int_t AddModule(BrModule *Object)
Routine to add a module to the list of modules to be executed
void ListModules()
Routine to list the names of all modules that have been added.
void Event()
The method to be used event by event in case there are no arguments in the
Event method of the modules in the list.
void Event(BrEventNode* indat, BrEventNode* outdat)
The method to be used event by event in case there is an input table and output
table in the Event method of the modules in the list.
void SetVerbose(Int_t Verbose)
Routine to get this class to tell more about what it is up to.
Inline Functions
void Begin()
void End()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
BrModuleContainer BrModuleContainer(BrModuleContainer&)
ROOT page - Class index - 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.