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

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

#include <CbmStsModule.h>

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

Public Member Functions

 CbmStsModule ()
 
 CbmStsModule (const char *name, const char *title, TGeoPhysicalNode *node=NULL)
 
virtual ~CbmStsModule ()
 
void AddSensor (CbmStsSenzor *sensor)
 
void AddSignal (Int_t channel, Double_t time, Double_t charge)
 
- Public Member Functions inherited from CbmStsElement
 CbmStsElement ()
 
 CbmStsElement (const char *name, const char *title, Int_t level, TGeoPhysicalNode *node=NULL)
 
virtual ~CbmStsElement ()
 
virtual void AddDaughter (CbmStsElement *element)
 
UInt_t GetAddress () const
 
CbmStsElementGetDaughter (Int_t index) const
 
Int_t GetIndex () const
 
StsElementLevel GetLevel () const
 
Int_t GetNofDaughters () const
 
void InitDaughters ()
 
virtual void Print (Option_t *opt="") const
 

Additional Inherited Members

- Protected Member Functions inherited from CbmStsElement
void SetLevel (Int_t level)
 
 CbmStsElement (const CbmStsElement &)
 
CbmStsElementoperator= (const CbmStsElement &)
 
 ClassDef (CbmStsElement, 1)
 
- Protected Attributes inherited from CbmStsElement
UInt_t fAddress
 Unique address.
 
StsElementLevel fLevel
 Level in hierarchy.
 
TGeoPhysicalNode * fNode
 Pointer to geometry.
 
vector< CbmStsElement * > fDaughters
 Array of daughters.
 

Detailed Description

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

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

The StsModule is the read-out unit in the CBM STS. It consists of one sensor or two or more daisy-chained sensors (CbmStsSensor), the analogue cable and the read-out electronics.

The module receives and stores the analogue signals from the sensor(s) in a buffer. It takes care of interference of signals in one and the same channel (two signals arriving within a given dead time). The module digitises the analogue signals and sends them to the CbmDaq when appropriate.

Definition at line 40 of file CbmStsModule.h.

Constructor & Destructor Documentation

◆ CbmStsModule() [1/2]

CbmStsModule::CbmStsModule ( )

Default constructor

Definition at line 14 of file CbmStsModule.cxx.

◆ CbmStsModule() [2/2]

CbmStsModule::CbmStsModule ( const char *  name,
const char *  title,
TGeoPhysicalNode *  node = NULL 
)

Standard constructor

Parameters
nameName
titleTitle
nodePointer to relevant TGeoPhysicalNode

Definition at line 22 of file CbmStsModule.cxx.

◆ ~CbmStsModule()

CbmStsModule::~CbmStsModule ( )
virtual

Destructor

Definition at line 33 of file CbmStsModule.cxx.

Member Function Documentation

◆ AddSensor()

void CbmStsModule::AddSensor ( CbmStsSenzor sensor)

Add daughter element (from base class)

Parameters
elementPointer to element to be added as daughter. Add a sensor to the module
sensorPointer to sensor object

Definition at line 40 of file CbmStsModule.cxx.

References CbmStsElement::fAddress, CbmStsElement::fDaughters, CbmStsSenzor::GetType(), CbmStsSensorType::GetTypeId(), kStsSensor, CbmStsSenzor::SetAddress(), CbmStsAddress::SetElementId(), and CbmStsSenzor::SetModule().

◆ AddSignal()

void CbmStsModule::AddSignal ( Int_t  channel,
Double_t  time,
Double_t  charge 
)

Add an analogue signal to the buffer

Parameters
channelchannel number
timetime of signal [ns]
chargeanalogue charge [e]

The signal will be added to the buffer. Interference with previous signals within the same channels is checked and the proper action is executed.

Definition at line 73 of file CbmStsModule.cxx.


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