|
BmnRoot
|
Creates available sensor types for STS geometry. More...
#include <CbmStsSensorFactory.h>
Public Member Functions | |
| virtual | ~CbmStsSensorFactory () |
| Int_t | DefineSensors () |
| Int_t | GetNofSensors () const |
| TGeoVolume * | GetSensor (Int_t index) |
Static Public Member Functions | |
| static CbmStsSensorFactory * | Instance () |
Creates available sensor types for STS geometry.
Singleton factory class as first step towards a STS sensor database. At present, it comprises only the geometric parameters of the sensors, to be used when creating the geometry. The idea is to extend the scheme also to parameters describing the internal configuration of the sensor as needed by digitisation, such as strip pitch, size of active area etc.
Definition at line 25 of file CbmStsSensorFactory.h.
|
inlinevirtual |
Destructor (empty)
Definition at line 30 of file CbmStsSensorFactory.h.
| Int_t CbmStsSensorFactory::DefineSensors | ( | ) |
Define the available sensor types. Parameters are hard-coded here.
Definition at line 70 of file CbmStsSensorFactory.cxx.
|
inline |
Number of sensors in database
Definition at line 40 of file CbmStsSensorFactory.h.
|
inline |
Get a sensor type from the database
| index | Running index of sensor type in the database |
Definition at line 47 of file CbmStsSensorFactory.h.
|
static |
Static instance
Definition at line 155 of file CbmStsSensorFactory.cxx.