PisaDetector Class Reference
Special case of a PisaDevice which describe a sensitive device, i.e. More...
#include <PisaDetector.h>
Inheritance diagram for PisaDetector:


Public Member Functions | |
PisaDetector () | |
virtual | ~PisaDetector () |
virtual void | beginEvent (PHCompositeNode *topNode)=0 |
Called at the beginning of each event. | |
virtual void | createGeometry (PHCompositeNode *topNode)=0 |
Build the geometry of the device topNode can be used e.g. | |
virtual void | createMaterials (PHCompositeNode *topNode)=0 |
Define the materials and tracking media used by this device. | |
virtual void | enable (bool status) |
virtual void | finishEvent (PHCompositeNode *topNode)=0 |
Called at the end of each event. | |
virtual bool | isSensitive () const |
Whether this device is a sensitive one. | |
virtual const char * | name () const =0 |
Name of the device. | |
virtual void | stepManager ()=0 |
Called at each step of each track. | |
virtual const char * | subsystem () const =0 |
Subsystem this device is related to. |
Detailed Description
Special case of a PisaDevice which describe a sensitive device, i.e.a detector. It has a stepManager which will record hits. Note that the stepManager might be disabled if needed, thus making this detector a "inactive" device (might be usefull if you want the material of this detector to be present in the simulation, but do not want any record of what happens within it).
Definition at line 14 of file PisaDetector.h.
Constructor & Destructor Documentation
|
Definition at line 4 of file PisaDetector.C. |
|
Definition at line 10 of file PisaDetector.C. |
Member Function Documentation
|
Called at the beginning of each event.
Reimplemented from PisaDevice. Implemented in PisaBBC. |
|
Build the geometry of the device topNode can be used e.g. to fetch the PhnxPar object, containing all subsystem parameters read from phnx.par file Implements PisaDevice. Implemented in PisaBBC. |
|
Define the materials and tracking media used by this device. topNode can be used e.g. to fetch the PhnxPar object, containing all subsystem parameters read from phnx.par file Implements PisaDevice. Implemented in PisaBBC. |
|
Definition at line 28 of file PisaDetector.h. Referenced by PisaBBC::PisaBBC(). |
|
Called at the end of each event.
Reimplemented from PisaDevice. Implemented in PisaBBC. |
|
Whether this device is a sensitive one. A sensitive device is typically a detector, whereas a non-sensitive one is some structural material (e.g. magnet). If true, must implement stepManager(). Note that a detector might return false here, in case one does not want to use its stepManager. Reimplemented from PisaDevice. Definition at line 32 of file PisaDetector.h. |
|
Name of the device.
Implements PisaDevice. Implemented in PisaBBC. |
|
Called at each step of each track.
Reimplemented from PisaDevice. Implemented in PisaBBC. |
|
Subsystem this device is related to.
Implements PisaDevice. Implemented in PisaBBC. |
The documentation for this class was generated from the following files: