|
BmnRoot
|
Class representing an instance of a sensor in the CBM-STS. More...
#include <CbmStsSenzor.h>
Public Member Functions | |
| CbmStsSenzor () | |
| virtual | ~CbmStsSenzor () |
| UInt_t | GetAddress () const |
| CbmStsModule * | GetModule () const |
| Int_t | GetSensorId () const |
| CbmStsSensorType * | GetType () const |
| void | ProcessPoint (CbmStsPoint *point) const |
| void | SetAddress (UInt_t address) |
| void | SetModule (CbmStsModule *module) |
Class representing an instance of a sensor in the CBM-STS.
Definition at line 33 of file CbmStsSenzor.h.
| CbmStsSenzor::CbmStsSenzor | ( | ) |
Constructor
Definition at line 17 of file CbmStsSenzor.cxx.
|
inlinevirtual |
Destructor
Definition at line 43 of file CbmStsSenzor.h.
|
inline |
Get sensor address
Definition at line 47 of file CbmStsSenzor.h.
|
inline |
Get mother module
Definition at line 51 of file CbmStsSenzor.h.
|
inline |
Get the sensor Id within the module
Definition at line 55 of file CbmStsSenzor.h.
References CbmStsAddress::GetElementId(), and kStsSensor.
|
inline |
Pointer to sensor type
Definition at line 61 of file CbmStsSenzor.h.
Referenced by CbmStsModule::AddSensor().
| void CbmStsSenzor::ProcessPoint | ( | CbmStsPoint * | point | ) | const |
Produce charge in the sensor and send it to the module.
Perform the appropriate action for a particle trajectory in the sensor characterised by the CbmStsPoint object
Definition at line 31 of file CbmStsSenzor.cxx.
References CbmStsPoint::GetXIn(), CbmStsPoint::GetXOut(), CbmStsPoint::GetYIn(), CbmStsPoint::GetYOut(), CbmStsPoint::GetZIn(), CbmStsPoint::GetZOut(), and CbmStsSensorType::ProcessPoint().
|
inline |
Set the sensor address
| address | Sensor address |
Definition at line 75 of file CbmStsSenzor.h.
Referenced by CbmStsModule::AddSensor().
|
inline |
Set a pointer to the mother module
| module | Pointer to mother module |
Definition at line 81 of file CbmStsSenzor.h.
Referenced by CbmStsModule::AddSensor().