31 if (index <
fPar.size()) value =
fPar[index];
50 default: ss <<
"Class unknown";
break;
53 ss <<
"size (" <<
fPar[0] <<
" x " <<
fPar[1] <<
" x " <<
fPar[2] <<
") | active " <<
fPar[3] <<
" | strips "
54 <<
fPar[4] <<
" / " <<
fPar[5] <<
" | pitch " <<
fPar[6] <<
" / " <<
fPar[7] <<
" | stereo " <<
fPar[8] <<
" / "
CbmStsSensorClass
Sensor classes.
ClassImp(CbmStsParSensor) CbmStsParSensor
Constructional parameters of a STS sensor.
Int_t GetParInt(UInt_t index) const
Get the nearest integer value of a parameter.
CbmStsParSensor(CbmStsSensorClass sClass=CbmStsSensorClass::kDssdStereo)
Constructor.
std::array< float, NPARAMS > fPar
std::string ToString() const
Info to string.
Float_t GetPar(UInt_t index) const
Get a parameter.