BmnRoot
Loading...
Searching...
No Matches
CbmStsSenzor Class Reference

Class representing an instance of a sensor in the CBM-STS. More...

#include <CbmStsSenzor.h>

Inheritance diagram for CbmStsSenzor:
[legend]
Collaboration diagram for CbmStsSenzor:
[legend]

Public Member Functions

 CbmStsSenzor ()
 
virtual ~CbmStsSenzor ()
 
UInt_t GetAddress () const
 
CbmStsModuleGetModule () const
 
Int_t GetSensorId () const
 
CbmStsSensorTypeGetType () const
 
void ProcessPoint (CbmStsPoint *point) const
 
void SetAddress (UInt_t address)
 
void SetModule (CbmStsModule *module)
 

Detailed Description

Class representing an instance of a sensor in the CBM-STS.

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
Version
2.0

Definition at line 33 of file CbmStsSenzor.h.

Constructor & Destructor Documentation

◆ CbmStsSenzor()

CbmStsSenzor::CbmStsSenzor ( )

Constructor

Definition at line 17 of file CbmStsSenzor.cxx.

◆ ~CbmStsSenzor()

virtual CbmStsSenzor::~CbmStsSenzor ( )
inlinevirtual

Destructor

Definition at line 43 of file CbmStsSenzor.h.

Member Function Documentation

◆ GetAddress()

UInt_t CbmStsSenzor::GetAddress ( ) const
inline

Get sensor address

Definition at line 47 of file CbmStsSenzor.h.

◆ GetModule()

CbmStsModule * CbmStsSenzor::GetModule ( ) const
inline

Get mother module

Definition at line 51 of file CbmStsSenzor.h.

◆ GetSensorId()

Int_t CbmStsSenzor::GetSensorId ( ) const
inline

Get the sensor Id within the module

Definition at line 55 of file CbmStsSenzor.h.

References CbmStsAddress::GetElementId(), and kStsSensor.

◆ GetType()

CbmStsSensorType * CbmStsSenzor::GetType ( ) const
inline

Pointer to sensor type

Definition at line 61 of file CbmStsSenzor.h.

Referenced by CbmStsModule::AddSensor().

◆ ProcessPoint()

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().

◆ SetAddress()

void CbmStsSenzor::SetAddress ( UInt_t  address)
inline

Set the sensor address

Parameters
addressSensor address

Definition at line 75 of file CbmStsSenzor.h.

Referenced by CbmStsModule::AddSensor().

◆ SetModule()

void CbmStsSenzor::SetModule ( CbmStsModule module)
inline

Set a pointer to the mother module

Parameters
modulePointer to mother module

Definition at line 81 of file CbmStsSenzor.h.

Referenced by CbmStsModule::AddSensor().


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