seed::TProcessEventABC


class description - source file - inheritance tree

class seed::TProcessEventABC : public TObject


    public:
virtual void ~TProcessEventABC() static TClass* Class() virtual TClass* IsA() const virtual Bool_t Process(seed::TEventSample* pEventSample, const int iEventNo) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description

  This class can be used in combination with seed::TEventSample::SetProcessEvent and
  seed::TEventSample::Create. Instead of splitting the data -> objects translation
  (done by Create) from the analysis, one can analyze the data right after Create has
  filled the output tree, in one go.

  To do this, the Process method of the TProcessEventABC derived class that was passed
  to seed::TEventSample::SetProcessEvent is called after every "translated" event. The
  data can be accessed using the seed::TEventSample* passed as an argument to Process,
  in the same way one would analyze the data in a separate analysis program.

  Additionally, this class allows for a selection of events that are written to the
  output file by calling pEventSample->SetSaveOutput(kTRUE/kFALSE) for each event.

  These are the steps during the traslation of data to objects:
     Seeds fill the output tree with data, creating objects
     ProcessEventABC::Process is called (if set)
     output tree is stored to disk (if SetSaveOutput is set).

  Multiple TProcessEventABC derived classes A, B, C can be run by deriving a class Z
  from TProcessEventABC that in turn calls all TProcessEventABC derived classes that
  should be used. Sombolically:
     Z::Process(...){ A::Process; B::Process; C::Process; }




Inline Functions


             Bool_t Process(seed::TEventSample* pEventSample, const int iEventNo)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
               void ~TProcessEventABC()


Last update: Tue Feb 25 11:33:27 2003


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.