12 theConditions(
pset, cc),
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;
float pedestal(const CSCDetId &detId, int channel) const override
in ADC counts
void initializeEvent(const edm::EventSetup &es) override
fetch the maps from the database
float pedestal(const CSCDetId &detId, int channel) const
static ped in ADC counts
void fetchNoisifier(const CSCDetId &detId, int istrip) override
static const double slope[3]
CSCDbStripConditions(const edm::ParameterSet &pset, edm::ConsumesCollector cc)
bool isInBadChamber(const CSCDetId &id) const
Is the gven chamber flagged as bad?
float gain(const CSCDetId &detId, int channel) const override
channels count from 1
float theResistiveCrosstalkScaling
math::ErrorD< 8 >::type CSCCorrelatedNoiseMatrix
void noiseMatrixElements(const CSCDetId &id, int channel, std::vector< float > &me) const
float gain(const CSCDetId &detId, int channel) const
gain per channel
~CSCDbStripConditions() override
void initializeEvent(const edm::EventSetup &es)
fetch database content via EventSetup
float pedestalSigma(const CSCDetId &detId, int channel) const override
float crosstalkIntercept(const CSCDetId &detId, int channel, bool leftRight) const
crosstalk intercept for left and right
float crosstalkSlope(const CSCDetId &detId, int channel, bool leftRight) const
crosstalk slope for left and right
void crosstalk(const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const override
CSCConditions theConditions
CSCCorrelatedNoisifier * theNoisifier
float pedestalSigma(const CSCDetId &detId, int channel) const
static ped rms in ADC counts
CorrelatedNoisifier< CSCCorrelatedNoiseMatrix > CSCCorrelatedNoisifier
bool isInBadChamber(const CSCDetId &id) const override
check list of bad chambers from db
float theCapacitiveCrosstalk