Go to the documentation of this file. 1 #ifndef CondFormats_SiPixelObjects_SiPixelGainCalibrationForHLT_h
2 #define CondFormats_SiPixelObjects_SiPixelGainCalibrationForHLT_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;
79 float ped,
float gain, std::vector<char>& vped,
bool thisColumnIsDead =
false,
bool thisColumnIsNoisy =
false);
81 setData(0, 0 , vped,
true,
false);
84 setData(0, 0 , vped,
false,
true);
92 bool& isNoisyColumn)
const;
99 bool& isNoisyColumn)
const;
105 bool& isNoisyColumn)
const;
static const std::string input
std::pair< float, float > getPedAndGain(const int &col, const int &row, const Range &range, const int &nCols, bool &isDeadColumn, bool &isNoisyColumn) const
float decodePed(unsigned int ped) const
SiPixelGainCalibrationForHLT()
float getPed(const int &col, const int &row, const Range &range, const int &nCols, bool &isDeadColumn, bool &isNoisyColumn) const
bool operator()(const DetRegistry &p, const uint32_t &i) const
std::vector< char > v_pedestals
#define COND_SERIALIZABLE
std::pair< ContainerIterator, ContainerIterator > Range
unsigned int numberOfRowsToAverageOver_
unsigned int getNumberOfRowsToAverageOver() const
bool put(const uint32_t &detID, Range input, const int &nCols)
float getGainHigh() const
void setData(float ped, float gain, std::vector< char > &vped, bool thisColumnIsDead=false, bool thisColumnIsNoisy=false)
float encodeGain(const float &gain)
const int getNCols(const uint32_t &detID) const
void getDetIds(std::vector< uint32_t > &DetIds_) const
float decodeGain(unsigned int gain) const
void setDeadColumn(const int &nRows, std::vector< char > &vped)
float encodePed(const float &ped)
std::vector< DetRegistry > Registry
std::vector< DetRegistry > indexes
const std::pair< const Range, const int > getRangeAndNCols(const uint32_t &detID) const
Registry::const_iterator RegistryIterator
void setNoisyColumn(const int &nRows, std::vector< char > &vped)
float getGain(const int &col, const int &row, const Range &range, const int &nCols, bool &isDeadColumn, bool &isNoisyColumn) const
~SiPixelGainCalibrationForHLT()
const Range getRange(const uint32_t &detID) const
std::vector< char > const & data() const
std::vector< char >::const_iterator ContainerIterator
std::vector< DetRegistry > const & getIndexes() const
unsigned int nBinsToUseForEncoding_