CbmRoot
CbmStsSimSensorFactory.h
Go to the documentation of this file.
1
6
#ifndef CBMSTSSIMSENSORFACTORY_H
7
#define CBMSTSSIMSENSORFACTORY_H 1
8
9
10
#include <Rtypes.h>
11
#include <memory>
12
13
#include "
CbmStsSimSensor.h
"
14
15
class
CbmStsParSensor
;
16
17
30
class
CbmStsSimSensorFactory
{
31
32
public
:
33
typedef
std::unique_ptr<CbmStsSimSensor>
UP_sensor
;
34
36
CbmStsSimSensorFactory
();
37
38
40
virtual
~CbmStsSimSensorFactory
();
41
42
47
UP_sensor
CreateSensor
(
const
CbmStsParSensor
& par);
48
49
ClassDef(
CbmStsSimSensorFactory
, 2)
50
};
51
52
53
#endif
/* CBMSTSSIMSENSORFACTORY_H */
CbmStsSimSensorFactory::CbmStsSimSensorFactory
CbmStsSimSensorFactory()
Constructor.
Definition:
CbmStsSimSensorFactory.cxx:19
CbmStsParSensor
Constructional parameters of a STS sensor.
Definition:
CbmStsParSensor.h:38
CbmStsSimSensorFactory::UP_sensor
std::unique_ptr< CbmStsSimSensor > UP_sensor
Definition:
CbmStsSimSensorFactory.h:33
CbmStsSimSensorFactory::CreateSensor
UP_sensor CreateSensor(const CbmStsParSensor &par)
Create a sensor.
Definition:
CbmStsSimSensorFactory.cxx:29
CbmStsSimSensor.h
CbmStsSimSensorFactory::~CbmStsSimSensorFactory
virtual ~CbmStsSimSensorFactory()
Definition:
CbmStsSimSensorFactory.cxx:24
CbmStsSimSensorFactory
Definition:
CbmStsSimSensorFactory.h:30
sim
detectors
sts
CbmStsSimSensorFactory.h
Generated on Wed Oct 28 2020 15:11:45 for CbmRoot by
1.8.18