#include <SiPixelVCal.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 9 of file SiPixelVCal.h.
SiPixelVCal::SiPixelVCal |
( |
| ) |
|
|
inline |
SiPixelVCal::~SiPixelVCal |
( |
| ) |
|
|
inline |
Definition at line 46 of file SiPixelVCal.cc.
References m_vcal, and HcalDetIdTransform::transform().
47 std::map<uint32_t, float> slopes;
50 std::inserter(slopes, slopes.end()),
51 [](std::pair<uint32_t, SiPixelVCal::VCal> vcalentry) -> std::pair<uint32_t, float> {
52 return std::make_pair(vcalentry.first, vcalentry.second.slope);
std::map< unsigned int, VCal > m_vcal
float SiPixelVCal::getOffset |
( |
const uint32_t & |
pixid | ) |
const |
Definition at line 37 of file SiPixelVCal.cc.
References m_vcal.
38 std::map<unsigned int, VCal>::const_iterator
id =
m_vcal.find(pixid);
40 return id->second.offset;
42 edm::LogError(
"SiPixelVCal") <<
"SiPixelVCal offset for pixid " << pixid <<
" is not stored" << std::endl;
std::map< unsigned int, VCal > m_vcal
float SiPixelVCal::getSlope |
( |
const uint32_t & |
pixid | ) |
const |
Definition at line 28 of file SiPixelVCal.cc.
References m_vcal.
29 std::map<unsigned int, VCal>::const_iterator
id =
m_vcal.find(pixid);
31 return id->second.slope;
33 edm::LogError(
"SiPixelVCal") <<
"SiPixelVCal slope for pixid " << pixid <<
" is not stored" << std::endl;
std::map< unsigned int, VCal > m_vcal
const std::map<unsigned int, VCal>& SiPixelVCal::getSlopeAndOffset |
( |
| ) |
const |
|
inline |
Definition at line 18 of file SiPixelVCal.cc.
References m_vcal.
19 std::map<unsigned int, VCal>::const_iterator
id =
m_vcal.find(pixid);
23 edm::LogError(
"SiPixelVCal") <<
"SiPixelVCal for pixid " << pixid <<
" is not stored" << std::endl;
std::map< unsigned int, VCal > m_vcal
void SiPixelVCal::putSlopeAndOffset |
( |
std::map< unsigned int, VCal > & |
vcal | ) |
|
|
inline |
bool SiPixelVCal::putSlopeAndOffset |
( |
const uint32_t & |
pixid, |
|
|
float & |
slopeValue, |
|
|
float & |
offsetValue |
|
) |
| |
Definition at line 6 of file SiPixelVCal.cc.
References m_vcal.
7 std::map<unsigned int, VCal>::const_iterator
id =
m_vcal.find(pixid);
9 edm::LogError(
"SiPixelVCal") <<
"SiPixelVCal for pixid " << pixid <<
" is already stored. Skippig this put"
13 m_vcal[pixid] = {slopeValue, offsetValue};
Log< level::Error, false > LogError
std::map< unsigned int, VCal > m_vcal
template<class Archive >
void SiPixelVCal::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
friend class boost::serialization::access |
|
friend |
template<typename CondSerializationT , typename Enabled >
std::map<unsigned int, VCal> SiPixelVCal::m_vcal |
|
private |