StRoot
1
|
#include <StiSsdDetectorBuilder.h>
Public Member Functions | |
StiSsdDetectorBuilder (bool active) | |
virtual void | buildDetectors (StMaker &source) |
virtual void | useVMCGeometry () |
void | setSiMat (StiMaterial *m) |
void | setHybridMat (StiMaterial *m) |
StiMaterial * | getSiMat () |
StiMaterial * | getHybridMat () |
Public Member Functions inherited from StiDetectorBuilder | |
StiDetectorBuilder (const string &name, bool active) | |
detectorMap | getDetectors () |
virtual StiMaterial * | add (StiMaterial *material) |
virtual StiShape * | add (StiShape *shape) |
virtual StiDetector * | add (StiDetector *detector) |
virtual StiDetector * | add (UInt_t row, UInt_t sector, StiDetector *detector) |
virtual void | del (UInt_t row, UInt_t sector) |
virtual StiMaterial * | findMaterial (const string &szName) const |
virtual StiShape * | findShape (const string &szName) const |
virtual StiDetector * | findDetector (const string &szName) const |
virtual StiDetector * | getDetector (UInt_t layer, UInt_t sector) const |
virtual void | setDetector (UInt_t layer, UInt_t sector, StiDetector *detector) |
virtual void | setNRows (UInt_t nRows) |
virtual UInt_t | getNRows () const |
virtual UInt_t | getNSectors (UInt_t row=0) const |
virtual void | setNSectors (UInt_t row, UInt_t nSectors) |
virtual bool | hasMore () const |
virtual StiDetector * | next () |
virtual void | build (StMaker &source) |
double | nice (double angle) const |
void | setGroupId (int id) |
int | getGroupId () const |
StiTrackingParameters * | getTrackingParameters () |
Factory< StiDetector > * | getDetectorFactory () |
void | SetCurrentDetectorBuilder (StiDetectorBuilder *m) |
virtual void | AverageVolume (TGeoPhysicalNode *nodeP) |
void | setGasMat (StiMaterial *m) |
StiMaterial * | getGasMat () |
void | setSplit (double relThick=0.5, int maxSplit=20) |
void | Print () const |
Public Member Functions inherited from Named | |
void | setName (const string &newName) |
Set the name of the object. | |
const string & | getName () const |
Get the name of the object. | |
bool | isName (const string &aName) const |
Determine whether name equals given name. | |
Protected Member Functions | |
ssdWafersPosition_st * | ssdWafersPosition (Int_t Id, St_ssdWafersPosition *wafers) |
Protected Member Functions inherited from Named | |
Named (const string &aName=" ") | |
Only derived class are Named. | |
Protected Attributes | |
StiMaterial * | _siMat |
StiMaterial * | _hybridMat |
Protected Attributes inherited from StiDetectorBuilder | |
float | mThkSplit |
int | mMaxSplit |
int | _groupId |
bool | _active |
materialMap | mMaterialMap |
shapeMap | mShapeMap |
detectorMap | mDetectorMap |
detectorIterator | mDetectorIterator |
vector< vector< StiDetector * > > | _detectors |
Factory< StiDetector > * | _detectorFactory |
StiTrackingParameters * | _trackingParameters |
StiMaterial * | _gasMat |
Protected Attributes inherited from Named | |
string | _name |
Additional Inherited Members | |
Static Public Member Functions inherited from StiDetectorBuilder | |
static void | setDebug (int m=0) |
static int | debug () |
static StiDetectorBuilder * | GetCurrentDetectorBuilder () |
static void | MakeAverageVolume (TGeoPhysicalNode *nodeP) |
Static Protected Attributes inherited from StiDetectorBuilder | |
static StiDetectorBuilder * | fCurrentDetectorBuilder = 0 |
static int | _debug = 0 |
This class is the description of the StiSsdDetectorBuilder
Definition at line 39 of file StiSsdDetectorBuilder.h.
|
virtual |
Placement of Ssd Modules is currently done by reading the geom.C table. Ladders are placed according to the coordinates of its first module number int idwafer = 7*1000+wafer*100+ladder; -—> ladder # 1 ===> module 7101 -—> ladder # 20 ===> module 7120
Reimplemented from StiDetectorBuilder.
Definition at line 114 of file StiSsdDetectorBuilder.cxx.
References Factory< Abstract >::getInstance(), Named::setName(), and StiDetectorBuilder::setNRows().