#include <CTPPSPixelGainCalibrations.h>
Public Types | |
typedef std::map< uint32_t, CTPPSPixelGainCalibration > | CalibMap |
Public Member Functions | |
CTPPSPixelGainCalibrations () | |
const CalibMap & | getCalibMap () const |
const CTPPSPixelGainCalibration & | getGainCalibration (const uint32_t &detid) const |
void | setGainCalibration (const uint32_t &DetId, const CTPPSPixelGainCalibration &PixGains) |
void | setGainCalibration (const uint32_t &DetId, const std::vector< float > &peds, const std::vector< float > &gains) |
void | setGainCalibrations (const CalibMap &PixGainsCalibs) |
void | setGainCalibrations (const std::vector< uint32_t > &detidlist, const std::vector< std::vector< float >> &peds, const std::vector< std::vector< float >> &gains) |
int | size () const |
virtual | ~CTPPSPixelGainCalibrations () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
CalibMap | m_calibrations |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 9 of file CTPPSPixelGainCalibrations.h.
typedef std::map<uint32_t,CTPPSPixelGainCalibration> CTPPSPixelGainCalibrations::CalibMap |
Definition at line 11 of file CTPPSPixelGainCalibrations.h.
|
inline |
Definition at line 13 of file CTPPSPixelGainCalibrations.h.
|
inlinevirtual |
Definition at line 14 of file CTPPSPixelGainCalibrations.h.
References setGainCalibration(), and setGainCalibrations().
|
inline |
Definition at line 21 of file CTPPSPixelGainCalibrations.h.
References getGainCalibration(), and m_calibrations.
Referenced by CTPPSPixGainCalibsESAnalyzer::analyze().
const CTPPSPixelGainCalibration & CTPPSPixelGainCalibrations::getGainCalibration | ( | const uint32_t & | detid | ) | const |
Definition at line 52 of file CTPPSPixelGainCalibrations.cc.
References m_calibrations.
Referenced by CTPPSPixGainCalibsESAnalyzer::analyze(), RPixDetClusterizer::calibrate(), and getCalibMap().
|
private |
void CTPPSPixelGainCalibrations::setGainCalibration | ( | const uint32_t & | DetId, |
const CTPPSPixelGainCalibration & | PixGains | ||
) |
Definition at line 6 of file CTPPSPixelGainCalibrations.cc.
References CTPPSPixelGainCalibration::getDetId(), CTPPSPixelGainCalibration::getGain(), CTPPSPixelGainCalibration::getIBegin(), CTPPSPixelGainCalibration::getIEnd(), CTPPSPixelGainCalibration::getNCols(), CTPPSPixelGainCalibration::getNRows(), CTPPSPixelGainCalibration::getPed(), CTPPSPixelGainCalibration::isDead(), CTPPSPixelGainCalibration::isNoisy(), m_calibrations, and CTPPSPixelGainCalibration::setIndexes().
Referenced by WriteCTPPSPixGainCalibrations::fillDB(), and ~CTPPSPixelGainCalibrations().
void CTPPSPixelGainCalibrations::setGainCalibration | ( | const uint32_t & | DetId, |
const std::vector< float > & | peds, | ||
const std::vector< float > & | gains | ||
) |
Definition at line 35 of file CTPPSPixelGainCalibrations.cc.
References m_calibrations.
void CTPPSPixelGainCalibrations::setGainCalibrations | ( | const CalibMap & | PixGainsCalibs | ) |
Definition at line 39 of file CTPPSPixelGainCalibrations.cc.
References m_calibrations.
Referenced by ~CTPPSPixelGainCalibrations().
void CTPPSPixelGainCalibrations::setGainCalibrations | ( | const std::vector< uint32_t > & | detidlist, |
const std::vector< std::vector< float >> & | peds, | ||
const std::vector< std::vector< float >> & | gains | ||
) |
Definition at line 43 of file CTPPSPixelGainCalibrations.cc.
References m_calibrations.
|
inline |
Definition at line 25 of file CTPPSPixelGainCalibrations.h.
References m_calibrations.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and CTPPSPixGainCalibsESAnalyzer::analyze().
|
friend |
Definition at line 30 of file CTPPSPixelGainCalibrations.h.
|
friend |
Definition at line 30 of file CTPPSPixelGainCalibrations.h.
|
private |
Definition at line 28 of file CTPPSPixelGainCalibrations.h.
Referenced by getCalibMap(), getGainCalibration(), setGainCalibration(), setGainCalibrations(), and size().