|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "CLHEP/Units/SystemOfUnits.h"
42 for(
int i = 0;
i<60;
i++){
51 for(
int i=0;
i<12;
i++){
61 for(
int i = 0;
i<60;
i++){
72 if(ibin < 0)
return -1;
78 if(ibin < 0)
return -1;
84 if(ibin < 0)
return -1;
90 if(ibin < 0)
return -1;
97 if(ibin < 0||m_version>-2)
return -1;
98 if(
static_cast<unsigned int>(ibin) >
m_iblphierror.size())
return -1;
103 if(ibin < 0||m_version>-2)
return -1;
104 if(
static_cast<unsigned int>(ibin) >
m_ibletaerror.size())
return -1;
137 if(ibin<0||m_version>-2)
return 0;
138 if(
static_cast<unsigned int>(ibin)>
m_iblphierror.size())
return 0;
144 if(ibin<0||m_version>-2)
return 0;
145 if(
static_cast<unsigned int>(ibin)>
m_ibletaerror.size())
return 0;
156 int iphi = phiClusterSize-1;
159 int iz = etaClusterSize-1;
168 int iphi = phiClusterSize-1;
170 int iz = etaClusterSize-1;
178 std::ofstream*
outfile =
new std::ofstream(
file.c_str());
int setPixelEndcapRError(int ibin, float error)
float getPixelBarrelEtaError(int ibin) const
std::vector< float > m_ibletaerror
int setPixelBarrelEtaError(int ibin, float error)
int setPixelIBLPhiError(int ibin, float error)
std::vector< float > m_endcapphierror
float getPixelEndcapPhiError(int ibin) const
int setPixelEndcapPhiError(int ibin, float error)
float getPixelBarrelPhiError(int ibin) const
std::vector< float > m_endcapetaerror
std::vector< float > m_barrelphierror
float getPixelEndcapRError(int ibin) const
float getPixelIBLPhiError(int ibin) const
std::vector< float > m_etaref
int setPixelIBLEtaError(int ibin, float error)
void setVersion(int version)
int getBarrelBin(double eta, int etaClusterSize, int phiClusterSize) const
void Load(const std::string &file)
float getPixelIBLEtaError(int ibin) const
int getEndcapBin(int etaClusterSize, int phiClusterSize) const
int getVersion() const
Methods to access the calibration data.
void Print(const std::string &file) const
int setPixelBarrelPhiError(int ibin, float error)
std::vector< float > m_barreletaerror
std::vector< float > m_iblphierror