Go to the documentation of this file.
13 using std::stringstream;
20 : fNofChannels(nChannels), fNofAsicChannels(nAsicChannels) {
21 UInt_t nAsics = (nChannels % nAsicChannels ? nChannels / nAsicChannels + 1
22 : nChannels / nAsicChannels);
23 fAsicPars.resize(nAsics);
Bool_t IsChannelActive(UInt_t channel) const
Check for a channel being active.
std::vector< CbmStsParAsic > fAsicPars
ASIC parameters.
CbmStsParModule()
Default constructor.
void SetAllAsics(const CbmStsParAsic &asicPar)
Set all ASICs with the same parameter set.
UInt_t GetNofAsics() const
Number of ASICs.
UInt_t fNofAsicChannels
Number of channels per ASIC.
const CbmStsParAsic & GetParAsic(UInt_t channel) const
ASIC parameters for a given channel.
Parameters of the STS readout ASIC.
Parameters for one STS module.
UInt_t fNofChannels
Number of readout channels.
ClassImp(CbmStsParModule) CbmStsParModule
std::string ToString() const
String output.
void Init()
Initialisation.
Bool_t IsChannelActive(UShort_t channel) const
Check for a channel being active.