#include <StiDetectorBuilder.h>

Public Member Functions | |
| StiDetectorBuilder (const string &name, bool active, const string &inputFile) | |
| detectorMap | getDetectors () |
| virtual StiMaterial * | add (StiMaterial *material) |
| virtual StiShape * | add (StiShape *shape) |
| virtual StiDetector * | add (StiDetector *detector) |
| virtual StiDetector * | add (unsigned int row, unsigned int sector, StiDetector *detector) |
| virtual StiMaterial * | findMaterial (const string &szName) const |
| virtual StiShape * | findShape (const string &szName) const |
| virtual StiDetector * | findDetector (const string &szName) const |
| virtual StiDetector * | getDetector (unsigned int layer, unsigned int sector) const |
| virtual void | setDetector (unsigned int layer, unsigned int sector, StiDetector *detector) |
| virtual void | setNRows (unsigned int nRows) |
| virtual unsigned int | getNRows () const |
| virtual unsigned int | getNSectors (unsigned int row=0) const |
| virtual void | setNSectors (unsigned int row, unsigned int nSectors) |
| virtual bool | hasMore () const |
| virtual StiDetector * | next () |
| virtual void | build (StMaker &source) |
| virtual void | buildDetectors (StMaker &source) |
| double | nice (double angle) const |
| void | setGroupId (int id) |
| int | getGroupId () const |
| void | setTrackingParameters (const StiTrackingParameters &pars) |
| StiTrackingParameters * | getTrackingParameters () |
| Factory< StiDetector > * | getDetectorFactory () |
| void | SetCurrentDetectorBuilder (StiDetectorBuilder *m) |
| virtual void | AverageVolume (TGeoPhysicalNode *nodeP) |
| virtual void | useVMCGeometry () |
| void | setGasMat (StiMaterial *m) |
| StiMaterial * | getGasMat () |
Static Public Member Functions | |
| static StiDetectorBuilder * | GetCurrentDetectorBuilder () |
| static void | MakeAverageVolume (TGeoPhysicalNode *nodeP) |
| static void | setDebug (int m=0) |
| static int | debug () |
Protected Attributes | |
| int | _groupId |
| bool | _active |
| materialMap | mMaterialMap |
| shapeMap | mShapeMap |
| detectorMap | mDetectorMap |
| detectorIterator | mDetectorIterator |
| vector< vector< StiDetector * > > | _detectors |
| Factory< StiDetector > * | _detectorFactory |
| StiTrackingParameters * | _trackingParameters |
| string | _inputFile |
| StiMaterial * | _gasMat |
Static Protected Attributes | |
| static StiDetectorBuilder * | fCurrentDetectorBuilder = 0 |
| static int | _debug = 0 |
Definition at line 41 of file StiDetectorBuilder.h.
| StiDetector * StiDetectorBuilder::add | ( | StiDetector * | detector | ) | [virtual] |
Add the given detector to the list of detectors known to this builder. Complete the "build" of this detector.
Definition at line 98 of file StiDetectorBuilder.cxx.
References Named::getName().
| unsigned int StiDetectorBuilder::getNSectors | ( | unsigned int | row = 0 |
) | const [virtual] |
Returns the number of sectors (or segments) in a the given row. Sector are expected to be azimuthally distributed.
Definition at line 266 of file StiDetectorBuilder.cxx.
| virtual void StiDetectorBuilder::setNRows | ( | unsigned int | nRows | ) | [inline, virtual] |
Returns the number of active rows in the detector Rows can be counted radially or longitudinally
Definition at line 59 of file StiDetectorBuilder.h.
Referenced by StiSsdDetectorBuilder::buildDetectors().
1.5.9