31 LOG(info) <<
"MvdStationPar: Initialized parameter file with " <<
fStationCount <<
" stations";
34 LOG(debug) <<
"Z Postion station " << i <<
": " <<
GetZPosition(i);
38 LOG(debug) <<
"Z Thickness station " << i <<
": " <<
GetZThickness(i);
42 LOG(debug) <<
"Width station " << i <<
": " <<
GetWidth(i);
46 LOG(debug) <<
"Height station " << i <<
": " <<
GetHeight(i);
50 LOG(debug) <<
"Z Radiation Thickness station " << i <<
": " <<
GetZRadThickness(i);
59 constexpr float kNaN {std::numeric_limits<float>::signaling_NaN()};
82 LOG(error) <<
"Station number out of Range ";
85 return parArray.at(iStation);
94 if ((iStation < 0) || (iStation >=
fStationCount)) { LOG(error) <<
"Station number out of Range "; }
96 Double_t&
v = parArray[iStation];
97 if (std::isnan(
v) || (
v < value)) {
v = value; }
107 if ((iStation < 0) || (iStation >=
fStationCount)) { LOG(error) <<
"Station number out of Range "; }
109 Double_t&
v = parArray[iStation];
110 if (std::isnan(
v) || (
v > value)) {
v = value; }
144 assert(zThickness >= 0.);
145 if (z - zThickness < zMin) zMin = z - zThickness;
146 if (z + zThickness > zMax) zMax = z + zThickness;
ClassImp(CbmConverterManager)
void AddYRes(Int_t stationNumber, Double_t yres)
void Init(Int_t nrOfStations)
void SetParameterMin(std::vector< Double_t > &parArray, Int_t iStation, Double_t value)
Double_t GetBeamWidth(Int_t stationNumber) const
std::vector< Double_t > fZPositionMax
std::vector< Double_t > fZPositions
std::vector< Double_t > fWidths
Double_t GetParameter(const std::vector< Double_t > &parArray, Int_t iStation) const
void Print(Option_t *opt="") const
void AddZPosition(Int_t stationNumber, Double_t z, Double_t zThickness)
void AddBeamWidth(Int_t stationNumber, Double_t beamwidth)
std::vector< Double_t > fZPositionMin
std::vector< Double_t > fHeights
std::vector< Double_t > fYResolutions
Double_t GetYRes(Int_t stationNumber) const
std::vector< Double_t > fZThicknesses
void AddHeight(Int_t stationNumber, Double_t height)
Double_t GetHeight(Int_t stationNumber) const
Double_t GetZRadThickness(Int_t stationNumber) const
std::vector< Double_t > fZRadThickness
virtual ~CbmMvdStationPar()
Double_t GetZPosition(Int_t stationNumber) const
std::vector< Double_t > fBeamHeights
Double_t GetXRes(Int_t stationNumber) const
void AddWidth(Int_t stationNumber, Double_t width)
void SetParameterMax(std::vector< Double_t > &parArray, Int_t iStation, Double_t value)
Double_t GetWidth(Int_t stationNumber) const
void AddBeamHeight(Int_t stationNumber, Double_t beamheight)
void AddZRadThickness(Int_t stationNumber, Double_t length)
Double_t GetZThickness(Int_t stationNumber) const
Double_t GetBeamHeight(Int_t stationNumber) const
void AddXRes(Int_t stationNumber, Double_t xres)
std::vector< Double_t > fBeamWidths
std::vector< Double_t > fXResolutions