14 theCapacitiveCrosstalk(pset.getParameter<double>(
"capacativeCrosstalk")),
15 theResistiveCrosstalkScaling(pset.getParameter<double>(
"resistiveCrosstalkScaling")),
16 theGainsConstant(pset.getParameter<double>(
"gainsConstant")),
17 doCorrelatedNoise_(pset.getParameter<
bool>(
"doCorrelatedNoise")) {
42 const CSCDetId &
id,
int channel,
double stripLength,
bool leftRight,
float &capacitive,
float &resistive)
const {
46 float maxSlopeTime = 60.;
48 float capacitiveFraction = fabs(slope) * maxSlopeTime;
54 std::vector<float>
me(12);
83 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
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