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;
float pedestalSigma(const CSCDetId &detId, int channel) const
static ped rms in ADC counts
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 theResistiveCrosstalkScaling
math::ErrorD< 8 >::type CSCCorrelatedNoiseMatrix
float pedestal(const CSCDetId &detId, int channel) const
static ped in ADC counts
virtual ~CSCDbStripConditions()
CSCDbStripConditions(const edm::ParameterSet &pset)
virtual float pedestal(const CSCDetId &detId, int channel) const
in ADC counts
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 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
virtual float pedestalSigma(const CSCDetId &detId, int channel) const
virtual void fetchNoisifier(const CSCDetId &detId, int istrip)
virtual void initializeEvent(const edm::EventSetup &es)
fetch the maps from the database
virtual bool isInBadChamber(const CSCDetId &id) const
check list of bad chambers from db
virtual float gain(const CSCDetId &detId, int channel) const
channels count from 1
CSCConditions theConditions
CSCCorrelatedNoisifier * theNoisifier
CorrelatedNoisifier< CSCCorrelatedNoiseMatrix > CSCCorrelatedNoisifier
float theCapacitiveCrosstalk
virtual void crosstalk(const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const