Go to the documentation of this file.
13 theCapacitiveCrosstalk(
pset.getParameter<double>(
"capacativeCrosstalk")),
14 theResistiveCrosstalkScaling(
pset.getParameter<double>(
"resistiveCrosstalkScaling")),
15 theGainsConstant(
pset.getParameter<double>(
"gainsConstant")),
16 doCorrelatedNoise_(
pset.getParameter<
bool>(
"doCorrelatedNoise")) {
41 const CSCDetId &
id,
int channel,
double stripLength,
bool leftRight,
float &capacitive,
float &resistive)
const {
45 float maxSlopeTime = 60.;
47 float capacitiveFraction = fabs(
slope) * maxSlopeTime;
53 std::vector<float>
me(12);
82 float scaVariance = sigma * sigma;
void initializeEvent(const edm::EventSetup &es) override
fetch the maps from the database
bool isInBadChamber(const CSCDetId &id) const override
check list of bad chambers from db
math::ErrorD< 8 >::type CSCCorrelatedNoiseMatrix
CSCDbStripConditions(const edm::ParameterSet &pset, edm::ConsumesCollector cc)
float pedestal(const CSCDetId &detId, int channel) const override
in ADC counts
float pedestal(const CSCDetId &detId, int channel) const
static ped in ADC counts
float theResistiveCrosstalkScaling
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 noiseMatrixElements(const CSCDetId &id, int channel, std::vector< float > &me) const
float crosstalkIntercept(const CSCDetId &detId, int channel, bool leftRight) const
crosstalk intercept for left and right
float gain(const CSCDetId &detId, int channel) const override
channels count from 1
void fetchNoisifier(const CSCDetId &detId, int istrip) override
CorrelatedNoisifier< CSCCorrelatedNoiseMatrix > CSCCorrelatedNoisifier
CSCCorrelatedNoisifier * theNoisifier
~CSCDbStripConditions() override
void initializeEvent(const edm::EventSetup &es)
fetch database content via EventSetup
float pedestalSigma(const CSCDetId &detId, int channel) const override
float pedestalSigma(const CSCDetId &detId, int channel) const
static ped rms in ADC counts
float crosstalkSlope(const CSCDetId &detId, int channel, bool leftRight) const
crosstalk slope for left and right
CSCConditions theConditions
static const double slope[3]
void crosstalk(const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const override
float theCapacitiveCrosstalk