#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 8 of file CTPPSPixelGainCalibrations.h.
typedef std::map<uint32_t, CTPPSPixelGainCalibration> CTPPSPixelGainCalibrations::CalibMap |
Definition at line 10 of file CTPPSPixelGainCalibrations.h.
|
inline |
Definition at line 12 of file CTPPSPixelGainCalibrations.h.
|
inlinevirtual |
Definition at line 13 of file CTPPSPixelGainCalibrations.h.
|
inline |
Definition at line 22 of file CTPPSPixelGainCalibrations.h.
References 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 RPixDummyROCSimulator::ConvertChargeToHits().
|
private |
void CTPPSPixelGainCalibrations::setGainCalibration | ( | const uint32_t & | DetId, |
const CTPPSPixelGainCalibration & | PixGains | ||
) |
Definition at line 5 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().
void CTPPSPixelGainCalibrations::setGainCalibration | ( | const uint32_t & | DetId, |
const std::vector< float > & | peds, | ||
const std::vector< float > & | gains | ||
) |
Definition at line 31 of file CTPPSPixelGainCalibrations.cc.
References ecalph2::gains, and m_calibrations.
void CTPPSPixelGainCalibrations::setGainCalibrations | ( | const CalibMap & | PixGainsCalibs | ) |
Definition at line 37 of file CTPPSPixelGainCalibrations.cc.
References m_calibrations.
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 41 of file CTPPSPixelGainCalibrations.cc.
References ecalph2::gains, and m_calibrations.
|
inline |
Definition at line 26 of file CTPPSPixelGainCalibrations.h.
References m_calibrations.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and CTPPSPixGainCalibsESAnalyzer::analyze().
|
friend |
Definition at line 31 of file CTPPSPixelGainCalibrations.h.
|
friend |
Definition at line 31 of file CTPPSPixelGainCalibrations.h.
|
private |
Definition at line 29 of file CTPPSPixelGainCalibrations.h.
Referenced by getCalibMap(), getGainCalibration(), setGainCalibration(), setGainCalibrations(), and size().