Go to the documentation of this file. 1 #ifndef CondFormats_SiPixelObjects_SiPixelGainCalibration_h
2 #define CondFormats_SiPixelObjects_SiPixelGainCalibration_h
51 typedef std::pair<ContainerIterator, ContainerIterator>
Range;
62 bool put(
const uint32_t& detID,
Range input,
const int& nCols);
64 void getDetIds(std::vector<uint32_t>& DetIds_)
const;
65 const int getNCols(
const uint32_t& detID)
const;
66 const std::pair<const Range, const int>
getRangeAndNCols(
const uint32_t& detID)
const;
76 float ped,
float gain, std::vector<char>& vped,
bool thisPixelIsDead =
false,
bool thisPixelIsNoisy =
false);
81 float getPed(
const int&
col,
const int& row,
const Range&
range,
const int& nCols,
bool& isDead,
bool& isNoisy)
const;
82 float getGain(
const int&
col,
const int& row,
const Range&
range,
const int& nCols,
bool& isDead,
bool& isNoisy)
const;
static const std::string input
float decodePed(unsigned int ped) const
float encodePed(const float &ped)
unsigned int getNumberOfRowsToAverageOver() const
double getPedHigh() const
const Range getRange(const uint32_t &detID) const
const int getNCols(const uint32_t &detID) const
#define COND_SERIALIZABLE
Registry::const_iterator RegistryIterator
void getDetIds(std::vector< uint32_t > &DetIds_) const
double getGainHigh() const
double getGainLow() const
std::pair< ContainerIterator, ContainerIterator > Range
void setData(float ped, float gain, std::vector< char > &vped, bool thisPixelIsDead=false, bool thisPixelIsNoisy=false)
float decodeGain(unsigned int gain) const
float getPed(const int &col, const int &row, const Range &range, const int &nCols, bool &isDead, bool &isNoisy) const
~SiPixelGainCalibration()
std::vector< char > v_pedestals
unsigned int nBinsToUseForEncoding_
float encodeGain(const float &gain)
bool put(const uint32_t &detID, Range input, const int &nCols)
std::vector< DetRegistry > indexes
std::vector< char >::const_iterator ContainerIterator
void setDeadPixel(std::vector< char > &vped)
void setNoisyPixel(std::vector< char > &vped)
std::vector< DetRegistry > Registry
const std::pair< const Range, const int > getRangeAndNCols(const uint32_t &detID) const
unsigned int numberOfRowsToAverageOver_
bool operator()(const DetRegistry &p, const uint32_t &i) const
float getGain(const int &col, const int &row, const Range &range, const int &nCols, bool &isDead, bool &isNoisy) const