#include <CTPPSPixelGainCalibrations.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 8 of file CTPPSPixelGainCalibrations.h.
◆ CalibMap
◆ CTPPSPixelGainCalibrations()
CTPPSPixelGainCalibrations::CTPPSPixelGainCalibrations |
( |
| ) |
|
|
inline |
◆ ~CTPPSPixelGainCalibrations()
virtual CTPPSPixelGainCalibrations::~CTPPSPixelGainCalibrations |
( |
| ) |
|
|
inlinevirtual |
◆ getCalibMap()
const CalibMap& CTPPSPixelGainCalibrations::getCalibMap |
( |
| ) |
const |
|
inline |
◆ getGainCalibration()
◆ serialize()
template<class Archive >
void CTPPSPixelGainCalibrations::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
◆ setGainCalibration() [1/2]
Definition at line 5 of file CTPPSPixelGainCalibrations.cc.
10 <<
"newPixGains detId = " << newPixGains.
getDetId() <<
" ; iBegin = " << newPixGains.
getIBegin()
11 <<
" ; iEnd = " << newPixGains.
getIEnd() <<
" ; nCols = " << newPixGains.
getNCols()
12 <<
" ; nRows =" << newPixGains.
getNRows();
14 int npix = newPixGains.
getIEnd();
18 <<
"newPixGains Ped[0] = " << newPixGains.
getPed(0) <<
" ; Gain[0] = " << newPixGains.
getGain(0)
19 <<
" ; dead = " << newPixGains.
isDead(0) <<
" ; noisy = " << newPixGains.
isNoisy(0);
22 <<
"looks like setting gain calibrations did not work, npix is " << npix;
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().
◆ setGainCalibration() [2/2]
void CTPPSPixelGainCalibrations::setGainCalibration |
( |
const uint32_t & |
DetId, |
|
|
const std::vector< float > & |
peds, |
|
|
const std::vector< float > & |
gains |
|
) |
| |
◆ setGainCalibrations() [1/2]
void CTPPSPixelGainCalibrations::setGainCalibrations |
( |
const CalibMap & |
PixGainsCalibs | ) |
|
◆ setGainCalibrations() [2/2]
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.
44 int nids = detidlist.size();
45 for (
int detid = 0; detid < nids; ++detid) {
46 const std::vector<float>& pedsvec = peds[detid];
47 const std::vector<float>& gainsvec = gains[detid];
References m_calibrations.
◆ size()
int CTPPSPixelGainCalibrations::size |
( |
void |
| ) |
const |
|
inline |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ cond::serialization::access
template<typename CondSerializationT , typename Enabled >
◆ m_calibrations
CalibMap CTPPSPixelGainCalibrations::m_calibrations |
|
private |