FastMC


class description - source file - inheritance tree

class FastMC : public TObject


    public:
FastMC FastMC(EventSource* eventSource, Char_t* parameterFileName, Char_t* outputFileName) FastMC FastMC(FastMC&) virtual void ~FastMC() TClass* Class() void Cleanup() Int_t DoEventBatch() void Doit(Event* evt) Int_t FetchEvent(Event* evt) CalRecon* GetCalRecon() virtual TClass* IsA() void SetSource(EventSource* eventSource) virtual void ShowMembers(TMemberInspector& insp, char* parent) void Spew() virtual void Streamer(TBuffer& b)

Data Members

private:
EventSource* m_source e.g., base class that can produce events TObjArray m_ModuleList processors which have signed up TObjArrayIter* m_iter iterate through m_ModuleList RecModule* m_module EventMarker* m_eventMarker our instance of EventMarker MCPartPrint* m_mcPartPrint our instance of MCPartPrint TrackFullSmear* m_trackFullSmear our instance of TrackFullSmear CalRecon* m_calRecon our instance of CalRecon FILE* m_ofile output file FILE* m_parfile parameter file

Class Description

     FastMC

     Manager class for Fast MC.  Creates instances of specific
     modules (processors) at constructor time.  Then may fetch
     events one at a time from event source and invoke the modules

FastMC(EventSource* eventSource, char* parameterFileName, char* outputFileName )
 Constructor for FastMC.  Modules can use parameterFile
 to set up and will write to outputFile (if non-null outputFileName
 has been supplied.)

~FastMC()
 Destructor (but there is almost nothing to do)

Int_t DoEventBatch()
 Full batch-like processing for a single event.

Int_t FetchEvent(Event *evt)
 Get single event from source

void Doit(Event *event)
 Invoke each module to process event

void Spew()
 Invoke each module to do its spew (if have an output file to spew to)

void Cleanup()
 Invoke each module's cleanup method



Inline Functions


               void SetSource(EventSource* eventSource)
          CalRecon* GetCalRecon()
            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
             FastMC FastMC(FastMC&)


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.