Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

PisaDriver Class Reference

Wrapper around PisaServer to make it a SubsysReco. More...

#include <PisaDriver.h>

List of all members.

Public Member Functions

 PisaDriver ()
 ctor.

virtual ~PisaDriver ()
 dtor.

virtual int End (PHCompositeNode *topNode)
 Called at the end of all processing.

virtual int EndRun (const int runnumber)
 Called at the end of each run.

virtual int Init (PHCompositeNode *topNode)
 Called during initialization.

virtual int InitRun (PHCompositeNode *topNode)
 Called for first event when run number is known.

virtual int process_event (PHCompositeNode *topNode)
 Called for each event.

virtual void registerDevice (PisaDevice *device)
 Register a Pisa Device (either structural material or detector).

virtual int Reset (PHCompositeNode *topNode)
 Reset.

virtual int ResetEvent (PHCompositeNode *topNode)
 Clean up after each event.

virtual void Print (const char *what="ALL") const
 Print out some info about this module.

virtual void Verbosity (const int ival)


Detailed Description

Wrapper around PisaServer to make it a SubsysReco.

Definition at line 11 of file PisaDriver.h.


Constructor & Destructor Documentation

PisaDriver::PisaDriver  ) 
 

ctor.

Definition at line 7 of file PisaDriver.C.

PisaDriver::~PisaDriver  )  [virtual]
 

dtor.

Definition at line 13 of file PisaDriver.C.


Member Function Documentation

int PisaDriver::End PHCompositeNode *  topNode  )  [virtual]
 

Called at the end of all processing.

Definition at line 19 of file PisaDriver.C.

References PisaServer::FinishRun(), and PisaServer::instance().

virtual int PisaDriver::EndRun const int  runnumber  )  [virtual]
 

Called at the end of each run.

int PisaDriver::Init PHCompositeNode *  topNode  )  [virtual]
 

Called during initialization.

Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).

Definition at line 36 of file PisaDriver.C.

References PisaServer::Init(), and PisaServer::instance().

int PisaDriver::InitRun PHCompositeNode *  topNode  )  [virtual]
 

Called for first event when run number is known.

Typically this is where you may want to fetch data from database, because you know the run number.

Definition at line 52 of file PisaDriver.C.

void PisaDriver::Print const char *  what = "ALL"  )  const [virtual]
 

Print out some info about this module.

Parameters:
what can be used to specify what to print exactly.

Definition at line 95 of file PisaDriver.C.

int PisaDriver::process_event PHCompositeNode *  topNode  )  [virtual]
 

Called for each event.

This is where you do the real work.

Definition at line 62 of file PisaDriver.C.

References PisaServer::instance(), and PisaServer::process_event().

void PisaDriver::registerDevice PisaDevice device  )  [virtual]
 

Register a Pisa Device (either structural material or detector).

The device is adopted.

Definition at line 74 of file PisaDriver.C.

References PisaServer::instance(), and PisaServer::registerDevice().

int PisaDriver::Reset PHCompositeNode *  topNode  )  [virtual]
 

Reset.

Definition at line 81 of file PisaDriver.C.

int PisaDriver::ResetEvent PHCompositeNode *  topNode  )  [virtual]
 

Clean up after each event.

Definition at line 88 of file PisaDriver.C.

void PisaDriver::Verbosity const int  ival  )  [virtual]
 

Definition at line 101 of file PisaDriver.C.

References PisaServer::instance(), and PisaServer::verbosity().


The documentation for this class was generated from the following files: