|
ATLAS Offline Software
|
Go to the documentation of this file.
18 size_t layerIndex =
static_cast<size_t>(
layer);
29 std::stringstream
error;
30 error <<
"PixelModuleData::getDefaultAnalogThreshold(" << barrel_ec <<
", " <<
layer <<
"): array out of bounds";
31 throw std::range_error(
error.str());
41 size_t layerIndex =
static_cast<size_t>(
layer);
52 std::stringstream
error;
53 error <<
"PixelModuleData::getDefaultAnalogThresholdSigma(" << barrel_ec <<
", " <<
layer <<
"): array out of bounds";
54 throw std::range_error(
error.str());
64 size_t layerIndex =
static_cast<size_t>(
layer);
75 std::stringstream
error;
76 error <<
"PixelModuleData::getDefaultAnalogThresholdNoise(" << barrel_ec <<
", " <<
layer <<
"): array out of bounds";
77 throw std::range_error(
error.str());
87 size_t layerIndex =
static_cast<size_t>(
layer);
98 std::stringstream
error;
99 error <<
"PixelModuleData::getDefaultInTimeThreshold(" << barrel_ec <<
", " <<
layer <<
"): array out of bounds";
100 throw std::range_error(
error.str());
109 size_t layerIndex =
static_cast<size_t>(
layer);
120 std::stringstream
error;
121 error <<
"PixelModuleData::getToTThreshold(" << barrel_ec <<
", " <<
layer <<
"): array out of bounds";
122 throw std::range_error(
error.str());
131 size_t layerIndex =
static_cast<size_t>(
layer);
139 if (std::abs(barrel_ec) == 4 && layerIndex <
m_DBMCrossTalk.size())
142 std::stringstream
error;
143 error <<
"PixelModuleData::getCrossTalk(" << barrel_ec <<
", " <<
layer <<
"): array out of bounds";
144 throw std::range_error(
error.str());
153 size_t layerIndex =
static_cast<size_t>(
layer);
164 std::stringstream
error;
165 error <<
"PixelModuleData::getThermalNoise(" << barrel_ec <<
", " <<
layer <<
"): array out of bounds";
166 throw std::range_error(
error.str());
175 size_t layerIndex =
static_cast<size_t>(
layer);
186 std::stringstream
error;
187 error <<
"PixelModuleData::getNoiseOccupancy(" << barrel_ec <<
", " <<
layer <<
"): array out of bounds";
188 throw std::range_error(
error.str());
197 size_t layerIndex =
static_cast<size_t>(
layer);
208 std::stringstream
error;
209 error <<
"PixelModuleData::getDisableProbability(" << barrel_ec <<
", " <<
layer <<
"): array out of bounds";
210 throw std::range_error(
error.str());
219 size_t layerIndex =
static_cast<size_t>(
layer);
230 std::stringstream
error;
231 error <<
"PixelModuleData::getNoiseShape(" << barrel_ec <<
", " <<
layer <<
"): array out of bounds";
232 throw std::range_error(
error.str());
240 size_t layerIndex =
static_cast<size_t>(
layer);
248 throw std::range_error(
msg);
256 size_t layerIndex =
static_cast<size_t>(
layer);
264 std::stringstream
error;
265 error <<
"PixelModuleData::getFEI3TimingSimTune(" << barrel_ec <<
", " <<
layer <<
"): array out of bounds";
266 throw std::range_error(
error.str());
289 else if (std::abs(barrel_ec)==2) {
294 return std::vector<float>(0.0);
298 std::vector<float>
prob;
304 else if (std::abs(barrel_ec)==2) {
309 int nCalibrationPoints = barrel_ec==0 ?
prob.size()/7 :
prob.size();
311 std::stringstream
error;
312 error <<
"PixelModuleData::getTimingProbability: array size(" << nCalibrationPoints <<
") mismatch with index array(" <<
getTimingIndex(barrel_ec,
layer).size() <<
")";
313 throw std::range_error(
error.str());
316 std::vector<float> etaprob;
317 for (
int i=0;
i<nCalibrationPoints;
i++) {
318 etaprob.push_back(
prob.at(
i+nCalibrationPoints*std::abs(
eta)));
void setEndcap1TimingIndex(const std::vector< float > &Endcap1TimingIndex)
int getDefaultAnalogThresholdSigma(int barrel_ec, int layer) const
std::vector< int > m_DBMToTThreshold
void setDBMDisableProbability(const std::vector< double > &DBMDisableProbability)
std::vector< int > m_FEI3BarrelLatency
void setDBMNoiseShape(const std::vector< std::vector< float >> &DBMNoiseShape)
std::vector< double > m_barrelThermalNoise
std::string m_cablingMapFileName
int getDefaultAnalogThreshold(int barrel_ec, int layer) const
std::vector< int > m_defaultBarrelAnalogThresholdSigma
std::vector< float > getTimingIndex(int barrel_ec, int layer) const
void setEndcapCrossTalk(const std::vector< double > &endcapCrossTalk)
std::vector< double > m_DBMThermalNoise
int getDefaultAnalogThresholdNoise(int barrel_ec, int layer) const
std::vector< double > m_endcapNoiseOccupancy
int getDefaultInTimeThreshold(int barrel_ec, int layer) const
bool getPIXLinearExtrapolation() const
std::vector< float > m_Layer2TimingIndex
std::vector< int > m_defaultDBMInTimeThreshold
std::vector< std::vector< float > > m_barrelNoiseShape
Scalar eta() const
pseudorapidity method
const std::vector< std::string > & getRadSimFluenceMapList() const
double getCrossTalk(int barrel_ec, int layer) const
std::vector< double > m_DBMDisableProbability
void setDefaultQ2TotC(float paramC)
std::vector< int > m_defaultEndcapAnalogThresholdNoise
void setBarrelCrossTalk(const std::vector< double > &barrelCrossTalk)
float getDefaultBiasVoltage() const
std::vector< float > m_Endcap3TimingIndex
bool m_doLinearExtrapolation
std::vector< float > m_Endcap2TimingProbability
void setEndcap2TimingIndex(const std::vector< float > &Endcap2TimingIndex)
void setEndcap3TimingIndex(const std::vector< float > &Endcap3TimingIndex)
void setEndcap3TimingProbability(const std::vector< float > &Endcap3TimingProbability)
void setEndcap1TimingProbability(const std::vector< float > &Endcap1TimingProbability)
std::vector< int > m_defaultDBMAnalogThresholdSigma
void setDefaultDBMAnalogThresholdSigma(const std::vector< int > &DBMAnalogThresholdSigma)
void setBarrelNoiseOccupancy(const std::vector< double > &barrelNoiseOccupancy)
const std::vector< std::string > & getRadSimFluenceMapList3D() const
void setBLayerTimingProbability(const std::vector< float > &BLayerTimingProbability)
std::vector< int > m_defaultEndcapAnalogThresholdSigma
std::vector< float > m_BLayerTimingProbability
std::vector< double > m_barrelCrossTalk
void setFEI3EndcapLatency(const std::vector< int > &FEI3EndcapLatency)
const std::string & getCablingMapFileName() const
void setDefaultDBMAnalogThreshold(const std::vector< int > &DBMAnalogThreshold)
std::vector< std::string > m_radSimFluenceMapList
void setDBMThermalNoise(const std::vector< double > &DBMThermalNoise)
float getDefaultQ2TotC() const
void setRadSimFluenceMapList3D(const std::vector< std::string > &radSimFluenceMapList3D)
int getToTThreshold(int barrel_ec, int layer) const
std::vector< int > m_defaultBarrelAnalogThreshold
std::vector< int > m_defaultEndcapInTimeThreshold
std::vector< int > m_barrelToTThreshold
void setBarrelDisableProbability(const std::vector< double > &barrelDisableProbability)
void setEndcapNoiseOccupancy(const std::vector< double > &endcapNoiseOccupancy)
std::vector< std::vector< float > > m_endcapNoiseShape
void setDefaultQ2TotA(float paramA)
void setFluenceLayer3D(const std::vector< double > &fluenceLayer)
void setDBMToTThreshold(const std::vector< int > &DBMToTThreshold)
std::vector< double > m_DBMNoiseOccupancy
void setDefaultEndcapAnalogThreshold(const std::vector< int > &endcapAnalogThreshold)
std::vector< double > m_fluenceLayer
void setLayer2TimingIndex(const std::vector< float > &Layer2TimingIndex)
std::vector< double > m_fluenceLayer3D
std::vector< int > m_defaultEndcapAnalogThreshold
std::vector< int > m_defaultDBMAnalogThresholdNoise
void setBarrelNoiseShape(const std::vector< std::vector< float >> &barrelNoiseShape)
void setRadSimFluenceMapList(const std::vector< std::string > &radSimFluenceMapList)
std::vector< float > m_Endcap1TimingProbability
void setFEI3BarrelLatency(const std::vector< int > &FEI3BarrelLatency)
void setEndcapToTThreshold(const std::vector< int > &endcapToTThreshold)
void setEndcapNoiseShape(const std::vector< std::vector< float >> &endcapNoiseShape)
std::vector< std::string > m_radSimFluenceMapList3D
void setEndcap2TimingProbability(const std::vector< float > &Endcap2TimingProbability)
void setDefaultBarrelAnalogThresholdSigma(const std::vector< int > &barrelAnalogThresholdSigma)
std::vector< float > m_Layer1TimingIndex
std::vector< int > m_FEI3EndcapTimingSimTune
std::vector< int > m_defaultBarrelAnalogThresholdNoise
void setEndcapThermalNoise(const std::vector< double > &endcapThermalNoise)
int getFEI3Latency(int barrel_ec, int layer) const
const std::vector< double > & getFluenceLayer3D() const
std::vector< double > m_endcapCrossTalk
void setCablingMapToFile(bool cablingMapToFile)
void setDBMNoiseOccupancy(const std::vector< double > &DBMNoiseOccupancy)
void setFEI3EndcapTimingSimTune(const std::vector< int > &FEI3EndcapTimingSimTune)
void setCablingMapFileName(const std::string &cablingMapFileName)
void setFEI3BarrelTimingSimTune(const std::vector< int > &FEI3BarrelTimingSimTune)
std::vector< float > m_Endcap3TimingProbability
void setBarrelToTThreshold(const std::vector< int > &barrelToTThreshold)
void setDBMCrossTalk(const std::vector< double > &DBMCrossTalk)
void setLayer1TimingIndex(const std::vector< float > &Layer1TimingIndex)
std::string to_string(const DetectorType &type)
std::vector< double > m_DBMCrossTalk
std::vector< std::vector< float > > m_DBMNoiseShape
void setDefaultEndcapAnalogThresholdNoise(const std::vector< int > &endcapAnalogThresholdNoise)
void setDefaultBarrelInTimeThreshold(const std::vector< int > &barrelInTimeThreshold)
std::vector< int > m_FEI3BarrelTimingSimTune
void setLayer2TimingProbability(const std::vector< float > &Layer2TimingProbability)
double getDisableProbability(int barrel_ec, int layer) const
double getThermalNoise(int barrel_ec, int layer) const
std::vector< float > getTimingProbability(int barrel_ec, int layer, int eta) const
std::vector< double > m_barrelDisableProbability
void setDefaultBarrelAnalogThresholdNoise(const std::vector< int > &barrelAnalogThresholdNoise)
float getDefaultQ2TotA() const
void setDefaultBiasVoltage(float biasVoltage)
void setEndcapDisableProbability(const std::vector< double > &endcapDisableProbability)
std::vector< int > m_defaultDBMAnalogThreshold
int getFEI3TimingSimTune(int barrel_ec, int layer) const
std::vector< float > m_BLayerTimingIndex
std::vector< float > m_Endcap1TimingIndex
const std::vector< float > & getNoiseShape(int barrel_ec, int layer) const
void setFluenceLayer(const std::vector< double > &fluenceLayer)
bool getCablingMapToFile() const
std::vector< int > m_defaultBarrelInTimeThreshold
void setBarrelThermalNoise(const std::vector< double > &barrelThermalNoise)
void setPIXLinearExtrapolation(bool doLinearExtrapolation)
std::vector< float > m_Endcap2TimingIndex
std::vector< int > m_endcapToTThreshold
std::vector< double > m_barrelNoiseOccupancy
double getNoiseOccupancy(int barrel_ec, int layer) const
void setDefaultQ2TotE(float paramE)
float getDefaultQ2TotE() const
void setDefaultEndcapAnalogThresholdSigma(const std::vector< int > &endcapAnalogThresholdSigma)
Store pixel constant parameters in PixelModuleData.
std::vector< float > m_Layer2TimingProbability
void setDefaultBarrelAnalogThreshold(const std::vector< int > &barrelAnalogThreshold)
void setBLayerTimingIndex(const std::vector< float > &BLayerTimingIndex)
std::vector< double > m_endcapThermalNoise
void setDefaultEndcapInTimeThreshold(const std::vector< int > &endcapInTimeThreshold)
void setLayer1TimingProbability(const std::vector< float > &Layer1TimingProbability)
void setDefaultDBMInTimeThreshold(const std::vector< int > &DBMInTimeThreshold)
std::vector< int > m_FEI3EndcapLatency
const std::vector< double > & getFluenceLayer() const
std::vector< float > m_Layer1TimingProbability
void setDefaultDBMAnalogThresholdNoise(const std::vector< int > &DBMAnalogThresholdNoise)
std::vector< double > m_endcapDisableProbability