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"))
66 double stripLength,
bool leftRight,
67 float & capacitive,
float & resistive)
const
77 float maxSlopeTime = 60.;
79 float capacitiveFraction = fabs(slope)*maxSlopeTime;
92 std::vector<float> me(12);
120 float scaVariance = sigma * sigma;
float pedestalSigma(const CSCDetId &detId, int channel) const
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
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 the maps from the database
float crosstalkSlope(const CSCDetId &detId, int channel, bool leftRight) const
float crosstalkIntercept(const CSCDetId &detId, int channel, bool leftRight) const
bool isInBadChamber(const CSCDetId &id) const
Is the gven chamber flagged as bad?
float gain(const CSCDetId &detId, int channel) const
channels count from 1
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
int rawStripChannel(const CSCDetId &id, int igeom) const
Return raw strip channel number for input geometrical channel number.
CorrelatedNoisifier< CSCCorrelatedNoiseMatrix > CSCCorrelatedNoisifier
CSCDetId rawCSCDetId(const CSCDetId &id) const
float theCapacitiveCrosstalk
virtual void crosstalk(const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const