#include <CastorQIECoder.h>
Public Member Functions | |
unsigned | adc (const CastorQIEShape &fShape, float fCharge, unsigned fCapId) const |
fC + capid [0..3] -> ADC conversion More... | |
CastorQIECoder (unsigned long fId=0) | |
float | charge (const CastorQIEShape &fShape, unsigned fAdc, unsigned fCapId) const |
ADC [0..127] + capid [0..3] -> fC conversion. More... | |
float | offset (unsigned fCapId, unsigned fRange) const |
uint32_t | rawId () const |
void | setOffset (unsigned fCapId, unsigned fRange, float fValue) |
void | setSlope (unsigned fCapId, unsigned fRange, float fValue) |
float | slope (unsigned fCapId, unsigned fRange) const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
uint32_t | mId |
float | mOffset00 |
float | mOffset01 |
float | mOffset02 |
float | mOffset03 |
float | mOffset10 |
float | mOffset11 |
float | mOffset12 |
float | mOffset13 |
float | mOffset20 |
float | mOffset21 |
float | mOffset22 |
float | mOffset23 |
float | mOffset30 |
float | mOffset31 |
float | mOffset32 |
float | mOffset33 |
float | mSlope00 |
float | mSlope01 |
float | mSlope02 |
float | mSlope03 |
float | mSlope10 |
float | mSlope11 |
float | mSlope12 |
float | mSlope13 |
float | mSlope20 |
float | mSlope21 |
float | mSlope22 |
float | mSlope23 |
float | mSlope30 |
float | mSlope31 |
float | mSlope32 |
float | mSlope33 |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Modified for CASTOR by L. Mundim
Definition at line 21 of file CastorQIECoder.h.
|
inline |
Definition at line 23 of file CastorQIECoder.h.
unsigned CastorQIECoder::adc | ( | const CastorQIEShape & | fShape, |
float | fCharge, | ||
unsigned | fCapId | ||
) | const |
fC + capid [0..3] -> ADC conversion
Definition at line 22 of file CastorQIECoder.cc.
References newFWLiteAna::bin, CastorQIEShape::highEdge(), cms::cuda::allocator::minBin, offset(), FastTimerService_cff::range, and slope().
Referenced by CastorCoderDb::fC2adc_().
float CastorQIECoder::charge | ( | const CastorQIEShape & | fShape, |
unsigned | fAdc, | ||
unsigned | fCapId | ||
) | const |
ADC [0..127] + capid [0..3] -> fC conversion.
Definition at line 17 of file CastorQIECoder.cc.
References CastorQIEShape::center(), offset(), CastorQIEShape::range(), FastTimerService_cff::range, and slope().
Referenced by CastorCoderDb::adc2fC_(), CastorPedestalsAnalysis::analyze(), reco::castor::getLinearizedADC(), CastorDbService::makeCastorCalibration(), CastorDbService::makeCastorCalibrationWidth(), and CastorPedestalAnalysis::per2CapsHists().
float CastorQIECoder::offset | ( | unsigned | fCapId, |
unsigned | fRange | ||
) | const |
Definition at line 42 of file CastorQIECoder.cc.
References mOffset00.
Referenced by adc(), charge(), and CastorDbASCIIIO::dumpObject().
|
inline |
|
private |
void CastorQIECoder::setOffset | ( | unsigned | fCapId, |
unsigned | fRange, | ||
float | fValue | ||
) |
Definition at line 46 of file CastorQIECoder.cc.
References DMR_cfg::cerr, mOffset00, and mitigatedMETSequence_cff::U.
Referenced by CastorDbASCIIIO::getObject().
void CastorQIECoder::setSlope | ( | unsigned | fCapId, |
unsigned | fRange, | ||
float | fValue | ||
) |
Definition at line 54 of file CastorQIECoder.cc.
References DMR_cfg::cerr, mSlope00, and mitigatedMETSequence_cff::U.
Referenced by CastorDbASCIIIO::getObject().
float CastorQIECoder::slope | ( | unsigned | fCapId, |
unsigned | fRange | ||
) | const |
Definition at line 44 of file CastorQIECoder.cc.
References mSlope00.
Referenced by adc(), charge(), and CastorDbASCIIIO::dumpObject().
|
friend |
Definition at line 107 of file CastorQIECoder.h.
|
friend |
Definition at line 107 of file CastorQIECoder.h.
|
private |
Definition at line 73 of file CastorQIECoder.h.
Referenced by rawId().
|
private |
Definition at line 74 of file CastorQIECoder.h.
Referenced by offset(), and setOffset().
|
private |
Definition at line 75 of file CastorQIECoder.h.
|
private |
Definition at line 76 of file CastorQIECoder.h.
|
private |
Definition at line 77 of file CastorQIECoder.h.
|
private |
Definition at line 78 of file CastorQIECoder.h.
|
private |
Definition at line 79 of file CastorQIECoder.h.
|
private |
Definition at line 80 of file CastorQIECoder.h.
|
private |
Definition at line 81 of file CastorQIECoder.h.
|
private |
Definition at line 82 of file CastorQIECoder.h.
|
private |
Definition at line 83 of file CastorQIECoder.h.
|
private |
Definition at line 84 of file CastorQIECoder.h.
|
private |
Definition at line 85 of file CastorQIECoder.h.
|
private |
Definition at line 86 of file CastorQIECoder.h.
|
private |
Definition at line 87 of file CastorQIECoder.h.
|
private |
Definition at line 88 of file CastorQIECoder.h.
|
private |
Definition at line 89 of file CastorQIECoder.h.
|
private |
Definition at line 90 of file CastorQIECoder.h.
Referenced by setSlope(), and slope().
|
private |
Definition at line 91 of file CastorQIECoder.h.
|
private |
Definition at line 92 of file CastorQIECoder.h.
|
private |
Definition at line 93 of file CastorQIECoder.h.
|
private |
Definition at line 94 of file CastorQIECoder.h.
|
private |
Definition at line 95 of file CastorQIECoder.h.
|
private |
Definition at line 96 of file CastorQIECoder.h.
|
private |
Definition at line 97 of file CastorQIECoder.h.
|
private |
Definition at line 98 of file CastorQIECoder.h.
|
private |
Definition at line 99 of file CastorQIECoder.h.
|
private |
Definition at line 100 of file CastorQIECoder.h.
|
private |
Definition at line 101 of file CastorQIECoder.h.
|
private |
Definition at line 102 of file CastorQIECoder.h.
|
private |
Definition at line 103 of file CastorQIECoder.h.
|
private |
Definition at line 104 of file CastorQIECoder.h.
|
private |
Definition at line 105 of file CastorQIECoder.h.