#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 22 of file CastorQIECoder.h.
|
inline |
Definition at line 24 of file CastorQIECoder.h.
References adc(), charge(), offset(), setOffset(), setSlope(), and slope().
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 stringResolutionProvider_cfi::bin, CastorQIEShape::highEdge(), offset(), and slope().
Referenced by CastorQIECoder(), and 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(), and slope().
Referenced by CastorCoderDb::adc2fC_(), CastorPedestalsAnalysis::analyze(), CastorQIECoder(), reco::castor::getLinearizedADC(), CastorDbService::makeCastorCalibration(), CastorDbService::makeCastorCalibrationWidth(), and CastorPedestalAnalysis::per2CapsHists().
float CastorQIECoder::offset | ( | unsigned | fCapId, |
unsigned | fRange | ||
) | const |
Definition at line 43 of file CastorQIECoder.cc.
References mOffset00.
Referenced by adc(), CastorQIECoder(), charge(), and CastorDbASCIIIO::dumpObject().
|
inline |
|
private |
void CastorQIECoder::setOffset | ( | unsigned | fCapId, |
unsigned | fRange, | ||
float | fValue | ||
) |
Definition at line 51 of file CastorQIECoder.cc.
References MessageLogger_cfi::cerr, mOffset00, and mitigatedMETSequence_cff::U.
Referenced by CastorQIECoder(), and CastorDbASCIIIO::getObject().
void CastorQIECoder::setSlope | ( | unsigned | fCapId, |
unsigned | fRange, | ||
float | fValue | ||
) |
Definition at line 60 of file CastorQIECoder.cc.
References MessageLogger_cfi::cerr, mSlope00, and mitigatedMETSequence_cff::U.
Referenced by CastorQIECoder(), and CastorDbASCIIIO::getObject().
float CastorQIECoder::slope | ( | unsigned | fCapId, |
unsigned | fRange | ||
) | const |
Definition at line 47 of file CastorQIECoder.cc.
References mSlope00.
Referenced by adc(), CastorQIECoder(), charge(), Vispa.Views.LineDecayView.DecayLine::containsPoint(), CastorDbASCIIIO::dumpObject(), and Vispa.Views.LineDecayView.DecayLine::transform().
|
friend |
Definition at line 81 of file CastorQIECoder.h.
|
friend |
Definition at line 81 of file CastorQIECoder.h.
|
private |
Definition at line 47 of file CastorQIECoder.h.
Referenced by rawId().
|
private |
Definition at line 48 of file CastorQIECoder.h.
Referenced by offset(), and setOffset().
|
private |
Definition at line 49 of file CastorQIECoder.h.
|
private |
Definition at line 50 of file CastorQIECoder.h.
|
private |
Definition at line 51 of file CastorQIECoder.h.
|
private |
Definition at line 52 of file CastorQIECoder.h.
|
private |
Definition at line 53 of file CastorQIECoder.h.
|
private |
Definition at line 54 of file CastorQIECoder.h.
|
private |
Definition at line 55 of file CastorQIECoder.h.
|
private |
Definition at line 56 of file CastorQIECoder.h.
|
private |
Definition at line 57 of file CastorQIECoder.h.
|
private |
Definition at line 58 of file CastorQIECoder.h.
|
private |
Definition at line 59 of file CastorQIECoder.h.
|
private |
Definition at line 60 of file CastorQIECoder.h.
|
private |
Definition at line 61 of file CastorQIECoder.h.
|
private |
Definition at line 62 of file CastorQIECoder.h.
|
private |
Definition at line 63 of file CastorQIECoder.h.
|
private |
Definition at line 64 of file CastorQIECoder.h.
Referenced by setSlope(), and slope().
|
private |
Definition at line 65 of file CastorQIECoder.h.
|
private |
Definition at line 66 of file CastorQIECoder.h.
|
private |
Definition at line 67 of file CastorQIECoder.h.
|
private |
Definition at line 68 of file CastorQIECoder.h.
|
private |
Definition at line 69 of file CastorQIECoder.h.
|
private |
Definition at line 70 of file CastorQIECoder.h.
|
private |
Definition at line 71 of file CastorQIECoder.h.
|
private |
Definition at line 72 of file CastorQIECoder.h.
|
private |
Definition at line 73 of file CastorQIECoder.h.
|
private |
Definition at line 74 of file CastorQIECoder.h.
|
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.