|
BmnRoot
|
Class representing an instance of a readout unit in the CBM-STS. More...
#include <CbmStsModule.h>
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 |
| CbmStsElement * | GetDaughter (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 &) | |
| CbmStsElement & | operator= (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. | |
Class representing an instance of a readout unit in the CBM-STS.
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.
| CbmStsModule::CbmStsModule | ( | ) |
Default constructor
Definition at line 14 of file CbmStsModule.cxx.
| CbmStsModule::CbmStsModule | ( | const char * | name, |
| const char * | title, | ||
| TGeoPhysicalNode * | node = NULL |
||
| ) |
Standard constructor
| name | Name |
| title | Title |
| node | Pointer to relevant TGeoPhysicalNode |
Definition at line 22 of file CbmStsModule.cxx.
|
virtual |
Destructor
Definition at line 33 of file CbmStsModule.cxx.
| void CbmStsModule::AddSensor | ( | CbmStsSenzor * | sensor | ) |
Add daughter element (from base class)
| element | Pointer to element to be added as daughter. Add a sensor to the module |
| sensor | Pointer 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().
| void CbmStsModule::AddSignal | ( | Int_t | channel, |
| Double_t | time, | ||
| Double_t | charge | ||
| ) |
Add an analogue signal to the buffer
| channel | channel number |
| time | time of signal [ns] |
| charge | analogue 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.