|
BmnRoot
|
#include <CbmStsDigiLight.h>
Public Member Functions | |
| CbmStsDigiLight () | |
| CbmStsDigiLight (Int_t station, Int_t sector, Int_t side, Int_t channel, Int_t adc, Int_t time) | |
| virtual | ~CbmStsDigiLight () |
| void | AddAdc (Int_t adc) |
| Int_t | GetSystemId () const |
| Int_t | GetStationNr () const |
| Int_t | GetSectorNr () const |
| Int_t | GetSide () const |
| Int_t | GetChannelNr () const |
| Int_t | GetAdc () const |
| Double_t | GetTime () const |
| Int_t | GetAddress () const |
| CbmStsDigiLight () | |
| CbmStsDigiLight (Int_t station, Int_t sector, Int_t side, Int_t channel, Int_t adc, Int_t time) | |
| virtual | ~CbmStsDigiLight () |
| void | AddAdc (Int_t adc) |
| Int_t | GetSystemId () const |
| Int_t | GetStationNr () const |
| Int_t | GetSectorNr () const |
| Int_t | GetSide () const |
| Int_t | GetChannelNr () const |
| Int_t | GetAdc () const |
| Double_t | GetTime () const |
| Int_t | GetAddress () const |
Public Member Functions inherited from CbmDigi | |
| CbmDigi () | |
| virtual | ~CbmDigi () |
| virtual Double_t | GetCharge () const |
| FairMultiLinkedData * | GetLinks () const |
| void | SetLinks (FairMultiLinkedData *links) |
| CbmDigi () | |
| virtual | ~CbmDigi () |
| virtual Double_t | GetCharge () const |
| FairMultiLinkedData * | GetLinks () const |
| void | SetLinks (FairMultiLinkedData *links) |
Public Member Functions inherited from CbmStsDetectorId | |
| CbmStsDetectorId () | |
| virtual | ~CbmStsDetectorId () |
| Int_t | DetectorId (Int_t station, Int_t sector, Int_t side, Int_t channel) const |
| Int_t | SystemId (Int_t detectorId) const |
| Int_t | StationNr (Int_t detectorId) const |
| Int_t | SectorNr (Int_t detectorId) const |
| Int_t | Side (Int_t detectorId) const |
| Int_t | ChannelNr (Int_t detectorId) const |
| CbmStsDetectorId () | |
| virtual | ~CbmStsDetectorId () |
| Int_t | DetectorId (Int_t station, Int_t sector, Int_t side, Int_t channel) const |
| Int_t | SystemId (Int_t detectorId) const |
| Int_t | StationNr (Int_t detectorId) const |
| Int_t | SectorNr (Int_t detectorId) const |
| Int_t | Side (Int_t detectorId) const |
| Int_t | ChannelNr (Int_t detectorId) const |
Additional Inherited Members | |
Static Public Attributes inherited from CbmStsDetectorId | |
| static const Int_t | fgkStatBits = 4 |
| static const Int_t | fgkSectBits = 8 |
| static const Int_t | fgkSideBits = 1 |
| static const Int_t | fgkChanBits = 12 |
Protected Member Functions inherited from CbmDigi | |
| CbmDigi (const CbmDigi &) | |
| CbmDigi & | operator= (const CbmDigi &) |
| ClassDef (CbmDigi, 2) | |
| CbmDigi (const CbmDigi &) | |
| CbmDigi & | operator= (const CbmDigi &) |
| ClassDef (CbmDigi, 2) | |
Protected Attributes inherited from CbmDigi | |
| FairMultiLinkedData * | fLinks |
| Monte-Carlo link collection. | |
CbmStsDigiLight.h
Data class for digital STS information Data level: RAW
Without inheritance from FairTimeStamp and FairMultiLinkedData
The information is encoded into 8 bytes (1 Long64_t). Address: 25 bits
The time is relative to the event time.
Definition at line 31 of file CbmStsDigiLight.h.
| CbmStsDigiLight::CbmStsDigiLight | ( | ) |
Default constructor
Definition at line 40 of file CbmStsDigiLight.cxx.
| CbmStsDigiLight::CbmStsDigiLight | ( | Int_t | station, |
| Int_t | sector, | ||
| Int_t | side, | ||
| Int_t | channel, | ||
| Int_t | adc, | ||
| Int_t | time | ||
| ) |
Constructor from station number, sector number, front/back side and channel number
| station | station number (1 - 15) |
| sector | sector number (1 - 1023) |
| side | 0=front side; 1=back side |
| channel | channel number (1 - 1023) |
| adc | Charge ADC channel (0 - 4095) |
| time | Time within event [ns] |
Definition at line 64 of file CbmStsDigiLight.cxx.
|
virtual |
Destructor
Definition at line 79 of file CbmStsDigiLight.cxx.
| CbmStsDigiLight::CbmStsDigiLight | ( | ) |
Default constructor
| CbmStsDigiLight::CbmStsDigiLight | ( | Int_t | station, |
| Int_t | sector, | ||
| Int_t | side, | ||
| Int_t | channel, | ||
| Int_t | adc, | ||
| Int_t | time | ||
| ) |
Constructor from station number, sector number, front/back side and channel number
| station | station number (1 - 15) |
| sector | sector number (1 - 1023) |
| side | 0=front side; 1=back side |
| channel | channel number (1 - 1023) |
| adc | Charge ADC channel (0 - 4095) |
| time | Time within event [ns] |
|
virtual |
Destructor
| void CbmStsDigiLight::AddAdc | ( | Int_t | adc | ) |
| void CbmStsDigiLight::AddAdc | ( | Int_t | adc | ) |
Add charge
|
inline |
|
inline |
Charge
Definition at line 88 of file CbmStsDigiLight.h.
|
inlinevirtual |
Unique detector ID
Implements CbmDigi.
Definition at line 96 of file CbmStsDigiLight.h.
References kGEM.
Referenced by GetChannelNr(), GetSectorNr(), GetSide(), and GetStationNr().
|
inlinevirtual |
Unique detector ID
Implements CbmDigi.
Definition at line 96 of file CbmStsDigiLight.h.
References kGEM.
|
inline |
Channel number
Definition at line 84 of file CbmStsDigiLight.h.
References CbmStsDetectorId::ChannelNr(), and GetAddress().
|
inline |
Channel number
Definition at line 84 of file CbmStsDigiLight.h.
References CbmStsDetectorId::ChannelNr(), and GetAddress().
|
inline |
Sector number
Definition at line 76 of file CbmStsDigiLight.h.
References GetAddress(), and CbmStsDetectorId::SectorNr().
|
inline |
Sector number
Definition at line 76 of file CbmStsDigiLight.h.
References GetAddress(), and CbmStsDetectorId::SectorNr().
|
inline |
Side ( 0 = front, 1 = back )
Definition at line 80 of file CbmStsDigiLight.h.
References GetAddress(), and CbmStsDetectorId::Side().
|
inline |
Side ( 0 = front, 1 = back )
Definition at line 80 of file CbmStsDigiLight.h.
References GetAddress(), and CbmStsDetectorId::Side().
|
inline |
Station number
Definition at line 72 of file CbmStsDigiLight.h.
References GetAddress(), and CbmStsDetectorId::StationNr().
|
inline |
Station number
Definition at line 72 of file CbmStsDigiLight.h.
References GetAddress(), and CbmStsDetectorId::StationNr().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |