#include <CondFormats/SiPixelObjects/src/SiPixelGainCalibration.cc>
Classes | |
struct | DecodingStructure |
struct | DetRegistry |
class | StrictWeakOrdering |
Public Types | |
typedef std::vector< char >::const_iterator | ContainerIterator |
typedef std::pair< ContainerIterator, ContainerIterator > | Range |
typedef std::vector< DetRegistry > | Registry |
typedef Registry::const_iterator | RegistryIterator |
Public Member Functions | |
void | getDetIds (std::vector< uint32_t > &DetIds_) const |
float | getGain (const int &col, const int &row, const Range &range, const int &nCols, bool &isDead, bool &isNoisy) const |
double | getGainHigh () const |
double | getGainLow () const |
const int | getNCols (const uint32_t &detID) const |
unsigned int | getNumberOfRowsToAverageOver () const |
float | getPed (const int &col, const int &row, const Range &range, const int &nCols, bool &isDead, bool &isNoisy) const |
double | getPedHigh () const |
double | getPedLow () const |
const Range | getRange (const uint32_t &detID) const |
const std::pair< const Range, const int > | getRangeAndNCols (const uint32_t &detID) const |
void | initialize () |
bool | put (const uint32_t &detID, Range input, const int &nCols) |
void | setData (float ped, float gain, std::vector< char > &vped, bool thisPixelIsDead=false, bool thisPixelIsNoisy=false) |
void | setDeadPixel (std::vector< char > &vped) |
void | setNoisyPixel (std::vector< char > &vped) |
SiPixelGainCalibration () | |
SiPixelGainCalibration (float minPed, float maxPed, float minGain, float maxGain) | |
~SiPixelGainCalibration () | |
Private Member Functions | |
float | decodeGain (unsigned int gain) const |
float | decodePed (unsigned int ped) const |
float | encodeGain (const float &gain) |
float | encodePed (const float &ped) |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
unsigned int | deadFlag_ |
std::vector< DetRegistry > | indexes |
float | maxGain_ |
float | maxPed_ |
float | minGain_ |
float | minPed_ |
unsigned int | nBinsToUseForEncoding_ |
unsigned int | noisyFlag_ |
unsigned int | numberOfRowsToAverageOver_ |
std::vector< char > | v_pedestals |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Description: Gain calibration object for the Silicon Pixel detector. Store gain/pedestal information at pixel granularity
Implementation: <Notes on="" implementation>="">
Definition at line 29 of file SiPixelGainCalibration.h.
typedef std::vector<char>::const_iterator SiPixelGainCalibration::ContainerIterator |
Definition at line 50 of file SiPixelGainCalibration.h.
typedef std::pair<ContainerIterator, ContainerIterator> SiPixelGainCalibration::Range |
Definition at line 51 of file SiPixelGainCalibration.h.
typedef std::vector<DetRegistry> SiPixelGainCalibration::Registry |
Definition at line 52 of file SiPixelGainCalibration.h.
typedef Registry::const_iterator SiPixelGainCalibration::RegistryIterator |
Definition at line 53 of file SiPixelGainCalibration.h.
SiPixelGainCalibration::SiPixelGainCalibration | ( | ) |
Definition at line 9 of file SiPixelGainCalibration.cc.
References deadFlag_, and Exception.
SiPixelGainCalibration::SiPixelGainCalibration | ( | float | minPed, |
float | maxPed, | ||
float | minGain, | ||
float | maxGain | ||
) |
Definition at line 24 of file SiPixelGainCalibration.cc.
References deadFlag_, and Exception.
|
inline |
Definition at line 58 of file SiPixelGainCalibration.h.
|
private |
Definition at line 184 of file SiPixelGainCalibration.cc.
References nano_mu_digi_cff::float, PedestalClient_cfi::gain, maxGain_, minGain_, nBinsToUseForEncoding_, and hcalRecHitTable_cff::precision.
Referenced by getGain().
|
private |
Definition at line 178 of file SiPixelGainCalibration.cc.
References nano_mu_digi_cff::float, maxPed_, minPed_, nBinsToUseForEncoding_, and hcalRecHitTable_cff::precision.
Referenced by getPed().
|
private |
Definition at line 156 of file SiPixelGainCalibration.cc.
References Exception, nano_mu_digi_cff::float, PedestalClient_cfi::gain, maxGain_, minGain_, nBinsToUseForEncoding_, and hcalRecHitTable_cff::precision.
Referenced by setData().
|
private |
Definition at line 167 of file SiPixelGainCalibration.cc.
References Exception, nano_mu_digi_cff::float, maxPed_, minPed_, nBinsToUseForEncoding_, and hcalRecHitTable_cff::precision.
Referenced by setData().
void SiPixelGainCalibration::getDetIds | ( | std::vector< uint32_t > & | DetIds_ | ) | const |
Definition at line 91 of file SiPixelGainCalibration.cc.
References mps_fire::end, indexes, and AlCaHLTBitMon_ParallelJobs::p.
float SiPixelGainCalibration::getGain | ( | const int & | col, |
const int & | row, | ||
const Range & | range, | ||
const int & | nCols, | ||
bool & | isDead, | ||
bool & | isNoisy | ||
) | const |
Definition at line 141 of file SiPixelGainCalibration.cc.
References cuy::col, deadFlag_, decodeGain(), Exception, PedestalClient_cfi::gain, noisyFlag_, and FastTimerService_cff::range.
|
inline |
|
inline |
const int SiPixelGainCalibration::getNCols | ( | const uint32_t & | detID | ) | const |
Definition at line 59 of file SiPixelGainCalibration.cc.
References indexes, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 68 of file SiPixelGainCalibration.h.
References numberOfRowsToAverageOver_.
float SiPixelGainCalibration::getPed | ( | const int & | col, |
const int & | row, | ||
const Range & | range, | ||
const int & | nCols, | ||
bool & | isDead, | ||
bool & | isNoisy | ||
) | const |
Definition at line 126 of file SiPixelGainCalibration.cc.
References cuy::col, deadFlag_, decodePed(), Exception, noisyFlag_, and FastTimerService_cff::range.
|
inline |
|
inline |
const SiPixelGainCalibration::Range SiPixelGainCalibration::getRange | ( | const uint32_t & | detID | ) | const |
Definition at line 69 of file SiPixelGainCalibration.cc.
References indexes, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, AlCaHLTBitMon_ParallelJobs::p, and v_pedestals.
const std::pair< const SiPixelGainCalibration::Range, const int > SiPixelGainCalibration::getRangeAndNCols | ( | const uint32_t & | detID | ) | const |
Definition at line 80 of file SiPixelGainCalibration.cc.
References indexes, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, AlCaHLTBitMon_ParallelJobs::p, and v_pedestals.
|
inline |
Definition at line 60 of file SiPixelGainCalibration.h.
bool SiPixelGainCalibration::put | ( | const uint32_t & | detID, |
Range | input, | ||
const int & | nCols | ||
) |
Definition at line 39 of file SiPixelGainCalibration.cc.
References SiPixelGainCalibration::DetRegistry::detid, SiPixelGainCalibration::DetRegistry::ibegin, SiPixelGainCalibration::DetRegistry::iend, indexes, input, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, SiPixelGainCalibration::DetRegistry::ncols, AlCaHLTBitMon_ParallelJobs::p, and v_pedestals.
Referenced by SiPixelGainCalibrationReadDQMFile::fillDatabase().
|
private |
void SiPixelGainCalibration::setData | ( | float | ped, |
float | gain, | ||
std::vector< char > & | vped, | ||
bool | thisPixelIsDead = false , |
||
bool | thisPixelIsNoisy = false |
||
) |
Definition at line 100 of file SiPixelGainCalibration.cc.
References data, deadFlag_, encodeGain(), encodePed(), PedestalClient_cfi::gain, sistrip::extrainfo::gain_, and noisyFlag_.
Referenced by SiPixelGainCalibrationReadDQMFile::fillDatabase(), setDeadPixel(), and setNoisyPixel().
|
inline |
Definition at line 78 of file SiPixelGainCalibration.h.
References setData().
Referenced by SiPixelGainCalibrationReadDQMFile::fillDatabase().
|
inline |
Definition at line 79 of file SiPixelGainCalibration.h.
References setData().
|
friend |
Definition at line 101 of file SiPixelGainCalibration.h.
|
friend |
Definition at line 101 of file SiPixelGainCalibration.h.
|
private |
Definition at line 98 of file SiPixelGainCalibration.h.
Referenced by getGain(), getPed(), setData(), and SiPixelGainCalibration().
|
private |
Definition at line 91 of file SiPixelGainCalibration.h.
Referenced by getDetIds(), getNCols(), getRange(), getRangeAndNCols(), and put().
|
private |
Definition at line 92 of file SiPixelGainCalibration.h.
Referenced by decodeGain(), encodeGain(), and getGainHigh().
|
private |
Definition at line 92 of file SiPixelGainCalibration.h.
Referenced by decodePed(), encodePed(), and getPedHigh().
|
private |
Definition at line 92 of file SiPixelGainCalibration.h.
Referenced by decodeGain(), encodeGain(), and getGainLow().
|
private |
Definition at line 92 of file SiPixelGainCalibration.h.
Referenced by decodePed(), encodePed(), and getPedLow().
|
private |
Definition at line 97 of file SiPixelGainCalibration.h.
Referenced by decodeGain(), decodePed(), encodeGain(), and encodePed().
|
private |
Definition at line 99 of file SiPixelGainCalibration.h.
|
private |
Definition at line 95 of file SiPixelGainCalibration.h.
Referenced by getNumberOfRowsToAverageOver().
|
private |
Definition at line 90 of file SiPixelGainCalibration.h.
Referenced by getRange(), getRangeAndNCols(), and put().