CbmRoot
|
#include <CbmStsSimSensorFactory.h>
Public Types | |
typedef std::unique_ptr< CbmStsSimSensor > | UP_sensor |
Public Member Functions | |
CbmStsSimSensorFactory () | |
Constructor. More... | |
virtual | ~CbmStsSimSensorFactory () |
UP_sensor | CreateSensor (const CbmStsParSensor &par) |
Create a sensor. More... | |
The factory creates objects of types derived from CbmStsSimSensors used for the simulation of the STS detector response. Currently, two sensor types are supported: DssdStereo (double-sided strip sensor with stereo angles on both sides, read out at the top edge) and DssdOrtho (double-sided strip sensor with vertical strips on the front side, read out at the top edge) and horizontal strips on the back side (read out at the left edge).
Definition at line 30 of file CbmStsSimSensorFactory.h.
typedef std::unique_ptr<CbmStsSimSensor> CbmStsSimSensorFactory::UP_sensor |
Definition at line 33 of file CbmStsSimSensorFactory.h.
CbmStsSimSensorFactory::CbmStsSimSensorFactory | ( | ) |
Constructor.
Definition at line 19 of file CbmStsSimSensorFactory.cxx.
|
virtual |
@Destructor
Definition at line 24 of file CbmStsSimSensorFactory.cxx.
UP_sensor CbmStsSimSensorFactory::CreateSensor | ( | const CbmStsParSensor & | par | ) |
Create a sensor.
par | Sensor parameter object |
Definition at line 29 of file CbmStsSimSensorFactory.cxx.
References CbmStsParSensor::GetClass(), CbmStsParSensor::GetPar(), CbmStsParSensor::GetParInt(), kDssdOrtho, and kDssdStereo.
Referenced by CbmStsDigitize::InitSensors().