CbmRoot
CbmStsSimSensorFactory Class Reference

#include <CbmStsSimSensorFactory.h>

Public Types

typedef std::unique_ptr< CbmStsSimSensorUP_sensor
 

Public Member Functions

 CbmStsSimSensorFactory ()
 Constructor. More...
 
virtual ~CbmStsSimSensorFactory ()
 
UP_sensor CreateSensor (const CbmStsParSensor &par)
 Create a sensor. More...
 

Detailed Description

Author
Volker Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
Date
17.03.2020

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.

Member Typedef Documentation

◆ UP_sensor

Definition at line 33 of file CbmStsSimSensorFactory.h.

Constructor & Destructor Documentation

◆ CbmStsSimSensorFactory()

CbmStsSimSensorFactory::CbmStsSimSensorFactory ( )

Constructor.

Definition at line 19 of file CbmStsSimSensorFactory.cxx.

◆ ~CbmStsSimSensorFactory()

CbmStsSimSensorFactory::~CbmStsSimSensorFactory ( )
virtual

@Destructor

Definition at line 24 of file CbmStsSimSensorFactory.cxx.

Member Function Documentation

◆ CreateSensor()

UP_sensor CbmStsSimSensorFactory::CreateSensor ( const CbmStsParSensor par)

Create a sensor.

Parameters
parSensor parameter object
Returns
unique_ptr to sensor object

Definition at line 29 of file CbmStsSimSensorFactory.cxx.

References CbmStsParSensor::GetClass(), CbmStsParSensor::GetPar(), CbmStsParSensor::GetParInt(), kDssdOrtho, and kDssdStereo.

Referenced by CbmStsDigitize::InitSensors().


The documentation for this class was generated from the following files: