#include <CastorPedestalWidth.h>
Public Member Functions | |
CastorPedestalWidth (int fId=0) | |
float | getSigma (int fCapId1, int fCapId2) const |
get correlation element for capId1/2 = 0..3 More... | |
const float * | getValues () const |
get value for all capId = 0..3, 10 values in total More... | |
float | getWidth (int fCapId) const |
get width (sqrt(sigma_i_i)) for capId = 0..3 More... | |
void | makeNoise (unsigned fFrames, const double *fGauss, double *fNoise) const |
uint32_t | rawId () const |
void | setSigma (int fCapId1, int fCapId2, float fSigma) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
uint32_t | mId |
float | mSigma00 |
float | mSigma01 |
float | mSigma02 |
float | mSigma03 |
float | mSigma10 |
float | mSigma11 |
float | mSigma12 |
float | mSigma13 |
float | mSigma20 |
float | mSigma21 |
float | mSigma22 |
float | mSigma23 |
float | mSigma30 |
float | mSigma31 |
float | mSigma32 |
float | mSigma33 |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Adapted for CASTOR by L. Mundim
Adapted for CASTOR by L. Mundim
Definition at line 17 of file CastorPedestalWidth.h.
CastorPedestalWidth::CastorPedestalWidth | ( | int | fId = 0 | ) |
Definition at line 27 of file CastorPedestalWidth.cc.
References mps_fire::i, and mSigma00.
Referenced by getValues().
float CastorPedestalWidth::getSigma | ( | int | fCapId1, |
int | fCapId2 | ||
) | const |
get correlation element for capId1/2 = 0..3
Definition at line 35 of file CastorPedestalWidth.cc.
References getValues(), and PFRecoTauDiscriminationByIsolation_cfi::offset.
Referenced by CastorPedestalAnalysis::CastorPedVal(), CastorDbASCIIIO::dumpObject(), getValues(), and makeNoise().
|
inline |
get value for all capId = 0..3, 10 values in total
Definition at line 20 of file CastorPedestalWidth.h.
References CastorPedestalWidth(), getSigma(), getWidth(), mSigma00, and setSigma().
Referenced by getSigma(), and getWidth().
float CastorPedestalWidth::getWidth | ( | int | fCapId | ) | const |
get width (sqrt(sigma_i_i)) for capId = 0..3
Definition at line 31 of file CastorPedestalWidth.cc.
References getValues(), PFRecoTauDiscriminationByIsolation_cfi::offset, and mathSSE::sqrt().
Referenced by getValues(), CastorDbService::makeCastorCalibrationWidth(), and CastorDbHardcode::makePedestal().
void CastorPedestalWidth::makeNoise | ( | unsigned | fFrames, |
const double * | fGauss, | ||
double * | fNoise | ||
) | const |
Definition at line 44 of file CastorPedestalWidth.cc.
References corr, getSigma(), mps_fire::i, and mathSSE::sqrt().
Referenced by CastorAmplifier::amplify(), and rawId().
|
inline |
|
private |
void CastorPedestalWidth::setSigma | ( | int | fCapId1, |
int | fCapId2, | ||
float | fSigma | ||
) |
Definition at line 39 of file CastorPedestalWidth.cc.
References mSigma00, and PFRecoTauDiscriminationByIsolation_cfi::offset.
Referenced by CastorPedestalAnalysis::CastorPedVal(), CastorDbXml::dumpObject(), CastorDbASCIIIO::getObject(), CastorPedestalAnalysis::GetPedConst(), getValues(), and CastorPedestalsAnalysis::~CastorPedestalsAnalysis().
|
friend |
Definition at line 56 of file CastorPedestalWidth.h.
|
friend |
Definition at line 56 of file CastorPedestalWidth.h.
|
private |
Definition at line 38 of file CastorPedestalWidth.h.
Referenced by rawId().
|
private |
Definition at line 39 of file CastorPedestalWidth.h.
Referenced by CastorPedestalWidth(), getValues(), and setSigma().
|
private |
Definition at line 40 of file CastorPedestalWidth.h.
|
private |
Definition at line 41 of file CastorPedestalWidth.h.
|
private |
Definition at line 42 of file CastorPedestalWidth.h.
|
private |
Definition at line 43 of file CastorPedestalWidth.h.
|
private |
Definition at line 44 of file CastorPedestalWidth.h.
|
private |
Definition at line 45 of file CastorPedestalWidth.h.
|
private |
Definition at line 46 of file CastorPedestalWidth.h.
|
private |
Definition at line 47 of file CastorPedestalWidth.h.
|
private |
Definition at line 48 of file CastorPedestalWidth.h.
|
private |
Definition at line 49 of file CastorPedestalWidth.h.
|
private |
Definition at line 50 of file CastorPedestalWidth.h.
|
private |
Definition at line 51 of file CastorPedestalWidth.h.
|
private |
Definition at line 52 of file CastorPedestalWidth.h.
|
private |
Definition at line 53 of file CastorPedestalWidth.h.
|
private |
Definition at line 54 of file CastorPedestalWidth.h.