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

PisaBBC Class Reference

Pisa Detector Class for Beam-Beam Counter. More...

#include <PisaBBC.h>

Inheritance diagram for PisaBBC:

Inheritance graph
[legend]
Collaboration diagram for PisaBBC:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PisaBBC (bool enabled=true)
virtual ~PisaBBC ()
void beginEvent (PHCompositeNode *topNode)
 Called at the beginning of each event.

void createGeometry (PHCompositeNode *topNode)
 Creates the geometry of the BBC.

void createMaterials (PHCompositeNode *topNode)
 Creates the materials and tracking media used by the BBC.

void finishEvent (PHCompositeNode *topNode)
 Called at the end of each event.

const char * name () const
 Name of the device.

void stepManager ()
 Called at each step for each track by the Virtual Monte Carlo.

const char * subsystem () const
 Subsystem this device is related to.


Detailed Description

Pisa Detector Class for Beam-Beam Counter.

Definition at line 10 of file PisaBBC.h.


Constructor & Destructor Documentation

PisaBBC::PisaBBC bool  enabled = true  ) 
 

Definition at line 98 of file PisaBBC.C.

References PisaDetector::enable().

PisaBBC::~PisaBBC  )  [virtual]
 

Definition at line 105 of file PisaBBC.C.


Member Function Documentation

void PisaBBC::beginEvent PHCompositeNode *  topNode  )  [virtual]
 

Called at the beginning of each event.

Implements PisaDetector.

Definition at line 111 of file PisaBBC.C.

References PisaHelper::getPisaNode(), and PisaBBCHitVector.

void PisaBBC::createGeometry PHCompositeNode *  topNode  )  [virtual]
 

Creates the geometry of the BBC.

Implements PisaDetector.

Definition at line 132 of file PisaBBC.C.

References PisaPhnxPar::get(), PisaPhnxSubPar::getDouble(), PisaHelper::getGeoManager(), PisaPhnxSubPar::getInt(), max(), and min().

void PisaBBC::createMaterials PHCompositeNode *  topNode  )  [virtual]
 

Creates the materials and tracking media used by the BBC.

Implements PisaDetector.

Definition at line 504 of file PisaBBC.C.

References PisaHelper::getGeoManager().

void PisaBBC::finishEvent PHCompositeNode *  topNode  )  [virtual]
 

Called at the end of each event.

Implements PisaDetector.

Definition at line 606 of file PisaBBC.C.

References PHObjectVector< BASE >::size().

const char* PisaBBC::name  )  const [inline, virtual]
 

Name of the device.

Implements PisaDetector.

Definition at line 28 of file PisaBBC.h.

void PisaBBC::stepManager  )  [virtual]
 

Called at each step for each track by the Virtual Monte Carlo.

Implements PisaDetector.

Definition at line 614 of file PisaBBC.C.

References PHObjectVector< BASE >::add(), PHObjectVector< BASE >::back(), PisaBBCHit::del(), PisaBBCHit::len(), PisaBBCHit::momentum(), PisaBBCHit::pid(), PisaBBCHit::position(), PHObjectVector< BASE >::size(), status(), PisaBBCHit::tof(), and PisaBBCHit::track().

const char* PisaBBC::subsystem  )  const [inline, virtual]
 

Subsystem this device is related to.

Implements PisaDetector.

Definition at line 33 of file PisaBBC.h.


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