6#ifndef CBMSTSPARMODULE_H
7#define CBMSTSPARMODULE_H 1
Parameters of the STS readout ASIC.
Parameters for one STS module.
uint32_t GetNofChannels() const
Number of channels.
uint32_t DeactivateRandomChannels(double fraction)
Randomly deactivate a fraction of the channels.
~CbmStsParModule()
Destructor.
std::vector< CbmStsParAsic > fAsicPars
ASIC parameters.
uint32_t GetNofAsics() const
Number of ASICs.
void SetAllAsics(const CbmStsParAsic &asicPar)
Set all ASICs with the same parameter set.
ClassDefNV(CbmStsParModule, 2)
CbmStsParModule()
Default constructor.
uint32_t GetNofAsicChannels() const
Number of channels per ASIC.
uint32_t fNofAsicChannels
Number of channels per ASIC.
bool IsChannelActive(uint32_t channel) const
Check for a channel being active.
CbmStsParModule & operator=(const CbmStsParModule &other)
Copy assignment operator.
uint32_t fNofChannels
Number of readout channels.
std::string ToString() const
String output.
const std::vector< CbmStsParAsic > & GetAsicParams() const
All ASIC parameters.
void SetAsic(uint32_t asicNr, const CbmStsParAsic &asicPar)
Set parameters for a single ASIC.
const CbmStsParAsic & GetParAsic(uint32_t channel) const
ASIC parameters for a given channel.