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

PisaServer Class Reference

The core of the VPisa software. More...

#include <PisaServer.h>

List of all members.

Public Member Functions

int verbosity () const
void verbosity (int level)
void registerDevice (PisaDevice *device)
 Register a physical device (either a detector or a piece of structure).

bool hasSubsystem (const char *subsystemname) const
 Whether we have registered device(s) corresponding to a given subsystem.

void Init (PHCompositeNode *topnode)
 Initialize MC.

void process_event (PHCompositeNode *topnode)
 Run one event.

void FinishRun ()
 Finish MC run.

void ConstructGeometry ()
 Construct geometry.

void InitGeometry ()
 Initialize geometry, once built.

void GeneratePrimaries ()
 Generate primary particles and put them in the stack.

void BeginEvent ()
 Action(s) to be taken at beginning of each event.

void BeginPrimary ()
 Action(s) to be taken at beginning of each primary track.

void PreTrack ()
 Action(s) to be taken at beginning of each track.

void Stepping ()
 Action(s) to be taken at each track step.

void PostTrack ()
 Action(s) to be taken at the end of each track.

void FinishPrimary ()
 Action(s) to be taken at the end of each primary track.

void FinishEvent ()
 Action(s) to be taken at the end of each event.

void Field (const Double_t *x, Double_t *b) const
 Must return the 3D-magnetic field at position X.


Static Public Member Functions

PisaServerinstance ()
 Return the unique instance of this class.


Detailed Description

The core of the VPisa software.

This is a concrete implementation of a VMCApplication. It handles a list of devices (either a detector or a piece of structure).

Definition at line 17 of file PisaServer.h.


Member Function Documentation

void PisaServer::BeginEvent  ) 
 

Action(s) to be taken at beginning of each event.

Definition at line 197 of file PisaServer.C.

void PisaServer::BeginPrimary  ) 
 

Action(s) to be taken at beginning of each primary track.

Definition at line 209 of file PisaServer.C.

void PisaServer::ConstructGeometry  ) 
 

Construct geometry.

Definition at line 126 of file PisaServer.C.

References PisaHelper::getGeoManager().

void PisaServer::Field const Double_t *  x,
Double_t *  b
const
 

Must return the 3D-magnetic field at position X.

Definition at line 297 of file PisaServer.C.

void PisaServer::FinishEvent  ) 
 

Action(s) to be taken at the end of each event.

Definition at line 285 of file PisaServer.C.

void PisaServer::FinishPrimary  ) 
 

Action(s) to be taken at the end of each primary track.

Definition at line 278 of file PisaServer.C.

void PisaServer::FinishRun  ) 
 

Finish MC run.

Definition at line 117 of file PisaServer.C.

Referenced by PisaDriver::End().

void PisaServer::GeneratePrimaries  ) 
 

Generate primary particles and put them in the stack.

Definition at line 176 of file PisaServer.C.

References PisaStack::stack().

bool PisaServer::hasSubsystem const char *  subsystemname  )  const
 

Whether we have registered device(s) corresponding to a given subsystem.

Definition at line 75 of file PisaServer.C.

Referenced by PisaHALL::createGeometry().

void PisaServer::Init PHCompositeNode *  topnode  ) 
 

Initialize MC.

Definition at line 92 of file PisaServer.C.

References PisaHelper::getPisaNode().

Referenced by PisaDriver::Init().

void PisaServer::InitGeometry  ) 
 

Initialize geometry, once built.

Definition at line 167 of file PisaServer.C.

PisaServer * PisaServer::instance  )  [static]
 

Return the unique instance of this class.

Definition at line 38 of file PisaServer.C.

Referenced by PisaHALL::createGeometry(), PisaDriver::End(), PisaDriver::Init(), PisaDriver::process_event(), PisaDriver::registerDevice(), and PisaDriver::Verbosity().

void PisaServer::PostTrack  ) 
 

Action(s) to be taken at the end of each track.

Definition at line 216 of file PisaServer.C.

void PisaServer::PreTrack  ) 
 

Action(s) to be taken at beginning of each track.

Definition at line 223 of file PisaServer.C.

void PisaServer::process_event PHCompositeNode *  topnode  ) 
 

Run one event.

Definition at line 237 of file PisaServer.C.

Referenced by PisaDriver::process_event().

void PisaServer::registerDevice PisaDevice device  ) 
 

Register a physical device (either a detector or a piece of structure).

The device is adopted (i.e. we are now in charge of deleting it).

Definition at line 230 of file PisaServer.C.

Referenced by PisaDriver::registerDevice().

void PisaServer::Stepping  ) 
 

Action(s) to be taken at each track step.

Definition at line 248 of file PisaServer.C.

void PisaServer::verbosity int  level  ) 
 

Definition at line 327 of file PisaServer.C.

int PisaServer::verbosity  )  const
 

Definition at line 320 of file PisaServer.C.

Referenced by PisaDriver::Verbosity().


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