CbmRoot
|
Parameters for one STS module. More...
#include <CbmStsParModule.h>
Public Member Functions | |
CbmStsParModule () | |
Default constructor. More... | |
CbmStsParModule (UInt_t nChannels, UInt_t nAsicChannels) | |
Standard constructor. More... | |
~CbmStsParModule () | |
Destructor. More... | |
const CbmStsParAsic & | GetParAsic (UInt_t channel) const |
ASIC parameters for a given channel. More... | |
const std::vector< CbmStsParAsic > & | GetAsicParams () const |
All ASIC parameters. More... | |
UInt_t | GetNofAsicChannels () const |
Number of channels per ASIC. More... | |
UInt_t | GetNofAsics () const |
Number of ASICs. More... | |
UInt_t | GetNofChannels () const |
Number of channels. More... | |
Bool_t | IsChannelActive (UInt_t channel) const |
Check for a channel being active. More... | |
void | SetAllAsics (const CbmStsParAsic &asicPar) |
Set all ASICs with the same parameter set. More... | |
std::string | ToString () const |
String output. More... | |
Private Member Functions | |
ClassDefNV (CbmStsParModule, 1) | |
Private Attributes | |
UInt_t | fNofChannels = 0 |
Number of readout channels. More... | |
UInt_t | fNofAsicChannels = 0. |
Number of channels per ASIC. More... | |
std::vector< CbmStsParAsic > | fAsicPars {} |
ASIC parameters. More... | |
Parameters for one STS module.
The module is the basic building block of the STS. It consists of a sensor connected to a number of ASICs. The number of module channels must be adjusted to the number of strips of the connected sensor. The number of ASICS is given by the number of module channels divided by the number of channels per ASIC.
Definition at line 28 of file CbmStsParModule.h.
|
inline |
Default constructor.
Definition at line 32 of file CbmStsParModule.h.
CbmStsParModule::CbmStsParModule | ( | UInt_t | nChannels, |
UInt_t | nAsicChannels | ||
) |
Standard constructor.
nChannels | Number of readout channels |
nAsics | Number of readout channels per ASIC |
|
inline |
Destructor.
Definition at line 43 of file CbmStsParModule.h.
|
private |
|
inline |
All ASIC parameters.
Definition at line 56 of file CbmStsParModule.h.
References fAsicPars.
Referenced by CbmStsSimModule::GenerateNoise().
|
inline |
Number of channels per ASIC.
Definition at line 62 of file CbmStsParModule.h.
References fNofAsicChannels.
Referenced by CbmStsSimModule::GenerateNoise().
|
inline |
Number of ASICs.
Definition at line 68 of file CbmStsParModule.h.
References fAsicPars.
Referenced by CbmStsSimModule::GenerateNoise(), GetParAsic(), and ToString().
|
inline |
Number of channels.
Definition at line 74 of file CbmStsParModule.h.
References fNofChannels.
Referenced by CbmStsAlgoAnaCluster::AnaSize2(), CbmStsAlgoAnaCluster::AnaSizeN(), CbmStsDigitizeQa::Finish(), CbmStsSimModule::GetNofChannels(), CbmStsDigitizeQa::Init(), CbmStsSimModule::InitAnalogBuffer(), and CbmStsDigitizeQa::ProcessDigisAndPoints().
const CbmStsParAsic & CbmStsParModule::GetParAsic | ( | UInt_t | channel | ) | const |
ASIC parameters for a given channel.
channel | Channel number |
Definition at line 29 of file CbmStsParModule.cxx.
References fAsicPars, fNofAsicChannels, fNofChannels, and GetNofAsics().
Referenced by CbmStsSimModule::AddSignal(), CbmStsAlgoAnaCluster::AnaSize1(), CbmStsAlgoAnaCluster::AnaSize2(), CbmStsAlgoAnaCluster::AnaSizeN(), CbmStsAlgoFindClusters::CheckChannel(), CbmStsSimModule::Digitize(), CbmStsDigitizeQa::Init(), IsChannelActive(), CbmStsSimModule::ProcessAnalogBuffer(), CbmStsSimModule::ToString(), and CbmStsAlgoAnaCluster::WeightedMean().
Bool_t CbmStsParModule::IsChannelActive | ( | UInt_t | channel | ) | const |
Check for a channel being active.
channel | Channel number |
Definition at line 40 of file CbmStsParModule.cxx.
References fNofAsicChannels, GetParAsic(), and CbmStsParAsic::IsChannelActive().
Referenced by CbmStsSimModule::AddSignal().
void CbmStsParModule::SetAllAsics | ( | const CbmStsParAsic & | asicPar | ) |
Set all ASICs with the same parameter set.
asicPar | Parameters for all ASICs |
Definition at line 49 of file CbmStsParModule.cxx.
References fAsicPars, and CbmStsParAsic::Init().
Referenced by CbmStsDigitize::InitParams().
string CbmStsParModule::ToString | ( | ) | const |
String output.
Definition at line 59 of file CbmStsParModule.cxx.
References fNofAsicChannels, fNofChannels, and GetNofAsics().
Referenced by CbmStsParSetModule::ToString().
|
private |
ASIC parameters.
Definition at line 97 of file CbmStsParModule.h.
Referenced by GetAsicParams(), GetNofAsics(), GetParAsic(), and SetAllAsics().
|
private |
Number of channels per ASIC.
Definition at line 96 of file CbmStsParModule.h.
Referenced by GetNofAsicChannels(), GetParAsic(), IsChannelActive(), and ToString().
|
private |
Number of readout channels.
Definition at line 95 of file CbmStsParModule.h.
Referenced by GetNofChannels(), GetParAsic(), and ToString().