#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 53 of file SiPixelGainCalibration.h.
typedef std::pair<ContainerIterator, ContainerIterator> SiPixelGainCalibration::Range |
Definition at line 54 of file SiPixelGainCalibration.h.
typedef std::vector<DetRegistry> SiPixelGainCalibration::Registry |
Definition at line 55 of file SiPixelGainCalibration.h.
typedef Registry::const_iterator SiPixelGainCalibration::RegistryIterator |
Definition at line 56 of file SiPixelGainCalibration.h.
SiPixelGainCalibration::SiPixelGainCalibration | ( | ) |
Definition at line 9 of file SiPixelGainCalibration.cc.
SiPixelGainCalibration::SiPixelGainCalibration | ( | float | minPed, |
float | maxPed, | ||
float | minGain, | ||
float | maxGain | ||
) |
Definition at line 24 of file SiPixelGainCalibration.cc.
|
inline |
Definition at line 61 of file SiPixelGainCalibration.h.
|
private |
Definition at line 188 of file SiPixelGainCalibration.cc.
|
private |
Definition at line 180 of file SiPixelGainCalibration.cc.
|
private |
Definition at line 154 of file SiPixelGainCalibration.cc.
|
private |
Definition at line 167 of file SiPixelGainCalibration.cc.
void SiPixelGainCalibration::getDetIds | ( | std::vector< uint32_t > & | DetIds_ | ) | const |
Definition at line 87 of file SiPixelGainCalibration.cc.
float SiPixelGainCalibration::getGain | ( | const int & | col, |
const int & | row, | ||
const Range & | range, | ||
const int & | nCols, | ||
bool & | isDead, | ||
bool & | isNoisy | ||
) | const |
Definition at line 139 of file SiPixelGainCalibration.cc.
|
inline |
|
inline |
const int SiPixelGainCalibration::getNCols | ( | const uint32_t & | detID | ) | const |
Definition at line 58 of file SiPixelGainCalibration.cc.
|
inline |
Definition at line 71 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 124 of file SiPixelGainCalibration.cc.
|
inline |
|
inline |
const SiPixelGainCalibration::Range SiPixelGainCalibration::getRange | ( | const uint32_t & | detID | ) | const |
Definition at line 67 of file SiPixelGainCalibration.cc.
const std::pair< const SiPixelGainCalibration::Range, const int > SiPixelGainCalibration::getRangeAndNCols | ( | const uint32_t & | detID | ) | const |
Definition at line 78 of file SiPixelGainCalibration.cc.
|
inline |
Definition at line 63 of file SiPixelGainCalibration.h.
bool SiPixelGainCalibration::put | ( | const uint32_t & | detID, |
Range | input, | ||
const int & | nCols | ||
) |
Definition at line 39 of file SiPixelGainCalibration.cc.
|
private |
void SiPixelGainCalibration::setData | ( | float | ped, |
float | gain, | ||
std::vector< char > & | vped, | ||
bool | thisPixelIsDead = false , |
||
bool | thisPixelIsNoisy = false |
||
) |
Definition at line 96 of file SiPixelGainCalibration.cc.
Referenced by setDeadPixel(), and setNoisyPixel().
|
inline |
Definition at line 80 of file SiPixelGainCalibration.h.
References setData().
|
inline |
Definition at line 81 of file SiPixelGainCalibration.h.
References setData().
|
friend |
Definition at line 103 of file SiPixelGainCalibration.h.
|
friend |
Definition at line 103 of file SiPixelGainCalibration.h.
|
private |
Definition at line 99 of file SiPixelGainCalibration.h.
|
private |
Definition at line 94 of file SiPixelGainCalibration.h.
|
private |
Definition at line 95 of file SiPixelGainCalibration.h.
Referenced by getGainHigh().
|
private |
Definition at line 95 of file SiPixelGainCalibration.h.
Referenced by getPedHigh().
|
private |
Definition at line 95 of file SiPixelGainCalibration.h.
Referenced by getGainLow().
|
private |
Definition at line 95 of file SiPixelGainCalibration.h.
Referenced by getPedLow().
|
private |
Definition at line 98 of file SiPixelGainCalibration.h.
|
private |
Definition at line 100 of file SiPixelGainCalibration.h.
|
private |
Definition at line 97 of file SiPixelGainCalibration.h.
Referenced by getNumberOfRowsToAverageOver().
|
private |
Definition at line 93 of file SiPixelGainCalibration.h.