Go to the documentation of this file. 1 #ifndef CondFormats_SiPixelObjects_SiPixelGainCalibrationOffline_h
2 #define CondFormats_SiPixelObjects_SiPixelGainCalibrationOffline_h
50 typedef std::pair<ContainerIterator, ContainerIterator>
Range;
61 bool put(
const uint32_t& detID,
Range input,
const int& nCols);
63 void getDetIds(std::vector<uint32_t>& DetIds_)
const;
64 const int getNCols(
const uint32_t& detID)
const;
65 const std::pair<const Range, const int>
getRangeAndNCols(
const uint32_t& detID)
const;
70 std::vector<char>& vped,
71 bool thisColumnIsDead =
false,
72 bool thisColumnIsNoisy =
false);
74 std::vector<char>& vped,
75 bool thisPixelIsDead =
false,
76 bool thisPixelIsNoisy =
false);
97 float getPed(
const int&
col,
const int& row,
const Range&
range,
const int& nCols,
bool& isDead,
bool& isNoisy)
const;
103 bool& isNoisyColumn)
const;
void setDeadColumn(const int &nRows, std::vector< char > &vped)
Registry::const_iterator RegistryIterator
~SiPixelGainCalibrationOffline()
static const std::string input
float decodePed(unsigned int ped) const
std::vector< char > v_pedestals
double getGainHigh() const
double getGainLow() const
#define COND_SERIALIZABLE
unsigned int numberOfRowsToAverageOver_
void setDataPedestal(float pedestal, std::vector< char > &vped, bool thisPixelIsDead=false, bool thisPixelIsNoisy=false)
double getPedHigh() const
unsigned int getNumberOfRowsToAverageOver() const
const std::pair< const Range, const int > getRangeAndNCols(const uint32_t &detID) const
std::pair< ContainerIterator, ContainerIterator > Range
void setDataGain(float gain, const int &nRows, std::vector< char > &vped, bool thisColumnIsDead=false, bool thisColumnIsNoisy=false)
std::vector< char >::const_iterator ContainerIterator
SiPixelGainCalibrationOffline()
float decodeGain(unsigned int gain) const
float encodePed(const float &ped)
void setNoisyColumn(const int &nRows, std::vector< char > &vped)
float encodeGain(const float &gain)
void setDeadPixel(std::vector< char > &vped)
bool operator()(const DetRegistry &p, const uint32_t &i) const
const int getNCols(const uint32_t &detID) const
void setNoisyPixel(std::vector< char > &vped)
std::vector< DetRegistry > Registry
void getDetIds(std::vector< uint32_t > &DetIds_) const
const Range getRange(const uint32_t &detID) const
float getPed(const int &col, const int &row, const Range &range, const int &nCols, bool &isDead, bool &isNoisy) const
std::vector< DetRegistry > indexes
unsigned int nBinsToUseForEncoding_
float getGain(const int &col, const int &row, const Range &range, const int &nCols, bool &isDeadColumn, bool &isNoisyColumn) const
bool put(const uint32_t &detID, Range input, const int &nCols)