#include <CondFormats/SiPixelObjects/src/SiPixelGainCalibrationForHLT.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 | |
std::vector< char > const & | data () const |
void | getDetIds (std::vector< uint32_t > &DetIds_) const |
float | getGain (const int &col, const int &row, const Range &range, const int &nCols, bool &isDeadColumn, bool &isNoisyColumn) const |
float | getGainHigh () const |
float | getGainLow () const |
std::vector< DetRegistry > const & | getIndexes () 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 &isDeadColumn, bool &isNoisyColumn) const |
std::pair< float, float > | getPedAndGain (const int &col, const int &row, const Range &range, const int &nCols, bool &isDeadColumn, bool &isNoisyColumn) const |
float | getPedHigh () const |
float | 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 thisColumnIsDead=false, bool thisColumnIsNoisy=false) |
void | setDeadColumn (const int &nRows, std::vector< char > &vped) |
void | setNoisyColumn (const int &nRows, std::vector< char > &vped) |
SiPixelGainCalibrationForHLT () | |
SiPixelGainCalibrationForHLT (float minPed, float maxPed, float minGain, float maxGain) | |
~SiPixelGainCalibrationForHLT () | |
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_ |
float | gainPrecision |
std::vector< DetRegistry > | indexes |
float | maxGain_ |
float | maxPed_ |
float | minGain_ |
float | minPed_ |
unsigned int | nBinsToUseForEncoding_ |
unsigned int | noisyFlag_ |
unsigned int | numberOfRowsToAverageOver_ |
float | pedPrecision |
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 for use at HLT. Stores only average gain and average pedestal per column.
Implementation: <Notes on="" implementation>="">
Definition at line 29 of file SiPixelGainCalibrationForHLT.h.
typedef std::vector<char>::const_iterator SiPixelGainCalibrationForHLT::ContainerIterator |
Definition at line 50 of file SiPixelGainCalibrationForHLT.h.
typedef std::pair<ContainerIterator, ContainerIterator> SiPixelGainCalibrationForHLT::Range |
Definition at line 51 of file SiPixelGainCalibrationForHLT.h.
typedef std::vector<DetRegistry> SiPixelGainCalibrationForHLT::Registry |
Definition at line 52 of file SiPixelGainCalibrationForHLT.h.
typedef Registry::const_iterator SiPixelGainCalibrationForHLT::RegistryIterator |
Definition at line 53 of file SiPixelGainCalibrationForHLT.h.
SiPixelGainCalibrationForHLT::SiPixelGainCalibrationForHLT | ( | ) |
Definition at line 9 of file SiPixelGainCalibrationForHLT.cc.
References deadFlag_, Exception, and initialize().
SiPixelGainCalibrationForHLT::SiPixelGainCalibrationForHLT | ( | float | minPed, |
float | maxPed, | ||
float | minGain, | ||
float | maxGain | ||
) |
Definition at line 25 of file SiPixelGainCalibrationForHLT.cc.
References deadFlag_, Exception, and initialize().
|
inline |
Definition at line 58 of file SiPixelGainCalibrationForHLT.h.
|
inline |
Definition at line 74 of file SiPixelGainCalibrationForHLT.h.
References v_pedestals.
Referenced by setData().
|
inlineprivate |
Definition at line 110 of file SiPixelGainCalibrationForHLT.h.
References PedestalClient_cfi::gain, gainPrecision, and minGain_.
Referenced by getGain(), and getPedAndGain().
|
inlineprivate |
Definition at line 111 of file SiPixelGainCalibrationForHLT.h.
References minPed_, and pedPrecision.
Referenced by getPed(), and getPedAndGain().
|
private |
Definition at line 217 of file SiPixelGainCalibrationForHLT.cc.
References Exception, dqmMemoryStats::float, PedestalClient_cfi::gain, maxGain_, minGain_, nBinsToUseForEncoding_, and common_cff::precision.
Referenced by setData().
|
private |
Definition at line 228 of file SiPixelGainCalibrationForHLT.cc.
References Exception, dqmMemoryStats::float, maxPed_, minPed_, nBinsToUseForEncoding_, and common_cff::precision.
Referenced by setData().
void SiPixelGainCalibrationForHLT::getDetIds | ( | std::vector< uint32_t > & | DetIds_ | ) | const |
Definition at line 99 of file SiPixelGainCalibrationForHLT.cc.
References mps_fire::end, indexes, and AlCaHLTBitMon_ParallelJobs::p.
float SiPixelGainCalibrationForHLT::getGain | ( | const int & | col, |
const int & | row, | ||
const Range & | range, | ||
const int & | nCols, | ||
bool & | isDeadColumn, | ||
bool & | isNoisyColumn | ||
) | const |
Definition at line 191 of file SiPixelGainCalibrationForHLT.cc.
References cuy::col, deadFlag_, decodeGain(), Exception, PedestalClient_cfi::gain, noisyFlag_, numberOfRowsToAverageOver_, and FastTimerService_cff::range.
|
inline |
|
inline |
|
inline |
const int SiPixelGainCalibrationForHLT::getNCols | ( | const uint32_t & | detID | ) | const |
Definition at line 66 of file SiPixelGainCalibrationForHLT.cc.
References indexes, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 68 of file SiPixelGainCalibrationForHLT.h.
References numberOfRowsToAverageOver_.
float SiPixelGainCalibrationForHLT::getPed | ( | const int & | col, |
const int & | row, | ||
const Range & | range, | ||
const int & | nCols, | ||
bool & | isDeadColumn, | ||
bool & | isNoisyColumn | ||
) | const |
Definition at line 162 of file SiPixelGainCalibrationForHLT.cc.
References cuy::col, deadFlag_, decodePed(), Exception, noisyFlag_, numberOfRowsToAverageOver_, and FastTimerService_cff::range.
std::pair< float, float > SiPixelGainCalibrationForHLT::getPedAndGain | ( | const int & | col, |
const int & | row, | ||
const Range & | range, | ||
const int & | nCols, | ||
bool & | isDeadColumn, | ||
bool & | isNoisyColumn | ||
) | const |
Definition at line 134 of file SiPixelGainCalibrationForHLT.cc.
References cuy::col, deadFlag_, decodeGain(), decodePed(), PedestalClient_cfi::gain, noisyFlag_, numberOfRowsToAverageOver_, and FastTimerService_cff::range.
Referenced by SiPixelGainCalibrationForHLTService::calibrate().
|
inline |
|
inline |
const SiPixelGainCalibrationForHLT::Range SiPixelGainCalibrationForHLT::getRange | ( | const uint32_t & | detID | ) | const |
Definition at line 77 of file SiPixelGainCalibrationForHLT.cc.
References indexes, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, AlCaHLTBitMon_ParallelJobs::p, and v_pedestals.
const std::pair< const SiPixelGainCalibrationForHLT::Range, const int > SiPixelGainCalibrationForHLT::getRangeAndNCols | ( | const uint32_t & | detID | ) | const |
Definition at line 88 of file SiPixelGainCalibrationForHLT.cc.
References indexes, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, AlCaHLTBitMon_ParallelJobs::p, and v_pedestals.
Referenced by SiPixelGainCalibrationForHLTService::calibrate().
void SiPixelGainCalibrationForHLT::initialize | ( | ) |
Definition at line 41 of file SiPixelGainCalibrationForHLT.cc.
References gainPrecision, maxGain_, maxPed_, minGain_, minPed_, nBinsToUseForEncoding_, and pedPrecision.
Referenced by SiPixelGainCalibrationForHLT().
bool SiPixelGainCalibrationForHLT::put | ( | const uint32_t & | detID, |
Range | input, | ||
const int & | nCols | ||
) |
Definition at line 46 of file SiPixelGainCalibrationForHLT.cc.
References SiPixelGainCalibrationForHLT::DetRegistry::detid, SiPixelGainCalibrationForHLT::DetRegistry::ibegin, SiPixelGainCalibrationForHLT::DetRegistry::iend, indexes, input, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, SiPixelGainCalibrationForHLT::DetRegistry::ncols, AlCaHLTBitMon_ParallelJobs::p, sd, and v_pedestals.
|
private |
void SiPixelGainCalibrationForHLT::setData | ( | float | ped, |
float | gain, | ||
std::vector< char > & | vped, | ||
bool | thisColumnIsDead = false , |
||
bool | thisColumnIsNoisy = false |
||
) |
Definition at line 108 of file SiPixelGainCalibrationForHLT.cc.
References data(), deadFlag_, encodeGain(), encodePed(), PedestalClient_cfi::gain, sistrip::extrainfo::gain_, and noisyFlag_.
Referenced by setDeadColumn(), and setNoisyColumn().
|
inline |
Definition at line 80 of file SiPixelGainCalibrationForHLT.h.
References setData().
|
inline |
Definition at line 83 of file SiPixelGainCalibrationForHLT.h.
References setData().
|
friend |
Definition at line 126 of file SiPixelGainCalibrationForHLT.h.
|
friend |
Definition at line 126 of file SiPixelGainCalibrationForHLT.h.
|
private |
Definition at line 123 of file SiPixelGainCalibrationForHLT.h.
Referenced by getGain(), getPed(), getPedAndGain(), setData(), and SiPixelGainCalibrationForHLT().
|
private |
Definition at line 117 of file SiPixelGainCalibrationForHLT.h.
Referenced by decodeGain(), and initialize().
|
private |
Definition at line 114 of file SiPixelGainCalibrationForHLT.h.
Referenced by getDetIds(), getIndexes(), getNCols(), getRange(), getRangeAndNCols(), and put().
|
private |
Definition at line 115 of file SiPixelGainCalibrationForHLT.h.
Referenced by encodeGain(), getGainHigh(), and initialize().
|
private |
Definition at line 115 of file SiPixelGainCalibrationForHLT.h.
Referenced by encodePed(), getPedHigh(), and initialize().
|
private |
Definition at line 115 of file SiPixelGainCalibrationForHLT.h.
Referenced by decodeGain(), encodeGain(), getGainLow(), and initialize().
|
private |
Definition at line 115 of file SiPixelGainCalibrationForHLT.h.
Referenced by decodePed(), encodePed(), getPedLow(), and initialize().
|
private |
Definition at line 122 of file SiPixelGainCalibrationForHLT.h.
Referenced by encodeGain(), encodePed(), and initialize().
|
private |
Definition at line 124 of file SiPixelGainCalibrationForHLT.h.
Referenced by getGain(), getPed(), getPedAndGain(), and setData().
|
private |
Definition at line 120 of file SiPixelGainCalibrationForHLT.h.
Referenced by getGain(), getNumberOfRowsToAverageOver(), getPed(), and getPedAndGain().
|
private |
Definition at line 117 of file SiPixelGainCalibrationForHLT.h.
Referenced by decodePed(), and initialize().
|
private |
Definition at line 113 of file SiPixelGainCalibrationForHLT.h.
Referenced by data(), getRange(), getRangeAndNCols(), and put().