14 theConditions( pset ),
15 theCapacitiveCrosstalk(pset.getParameter<double>(
"capacativeCrosstalk")),
16 theResistiveCrosstalkScaling(pset.getParameter<double>(
"resistiveCrosstalkScaling")),
17 theGainsConstant(pset.getParameter<double>(
"gainsConstant")),
18 doCorrelatedNoise_(pset.getParameter<
bool>(
"doCorrelatedNoise"))
56 double stripLength,
bool leftRight,
57 float & capacitive,
float & resistive)
const 63 float maxSlopeTime = 60.;
65 float capacitiveFraction = fabs(slope)*maxSlopeTime;
73 std::vector<float> me(12);
101 float scaVariance = sigma * sigma;
void initializeEvent(const edm::EventSetup &es) override
fetch the maps from the database
float pedestalSigma(const CSCDetId &detId, int channel) const
static ped rms in ADC counts
void fetchNoisifier(const CSCDetId &detId, int istrip) override
void noiseMatrixElements(const CSCDetId &id, int channel, std::vector< float > &me) const
fill vector (dim 12, must be allocated by caller) with noise matrix elements (scaled to float) ...
static const double slope[3]
float pedestal(const CSCDetId &detId, int channel) const override
in ADC counts
bool isInBadChamber(const CSCDetId &id) const override
check list of bad chambers from db
float theResistiveCrosstalkScaling
math::ErrorD< 8 >::type CSCCorrelatedNoiseMatrix
float pedestal(const CSCDetId &detId, int channel) const
static ped in ADC counts
CSCDbStripConditions(const edm::ParameterSet &pset)
float pedestalSigma(const CSCDetId &detId, int channel) const override
~CSCDbStripConditions() override
void initializeEvent(const edm::EventSetup &es)
fetch database content via EventSetup
float crosstalkSlope(const CSCDetId &detId, int channel, bool leftRight) const
crosstalk slope for left and right
float gain(const CSCDetId &detId, int channel) const override
channels count from 1
float crosstalkIntercept(const CSCDetId &detId, int channel, bool leftRight) const
crosstalk intercept for left and right
bool isInBadChamber(const CSCDetId &id) const
Is the gven chamber flagged as bad?
float gain(const CSCDetId &detId, int channel) const
gain per channel
void crosstalk(const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const override
CSCConditions theConditions
CSCCorrelatedNoisifier * theNoisifier
CorrelatedNoisifier< CSCCorrelatedNoiseMatrix > CSCCorrelatedNoisifier
float theCapacitiveCrosstalk