7 : theGain( p.getParameter<double>(
"gain") ),
8 theME11Gain( p.getParameter<double>(
"me11gain") ),
9 theGainSigma( p.getParameter<double>(
"ampGainSigma") ),
10 thePedestal( p.getParameter<double>(
"pedestal") ),
11 thePedestalSigma( p.getParameter<double>(
"pedestalSigma") ),
12 theCapacitiveCrosstalk(0.0167),
13 theResistiveCrosstalk(0.02)
30 for(
int i = 0;
i < 9; ++
i)
63 if(correlations.size() != 12)
66 <<
"Expect 12 noise correlation coefficients, but got "
67 << correlations.size();
71 matrix(3,3) = correlations[0];
72 matrix(3,4) = correlations[1];
73 matrix(4,4) = correlations[2];
74 matrix(3,5) = correlations[3];
75 matrix(4,5) = correlations[4];
76 matrix(5,5) = correlations[5];
77 matrix(4,6) = correlations[6];
78 matrix(5,6) = correlations[7];
79 matrix(6,6) = correlations[8];
80 matrix(5,7) = correlations[9];
81 matrix(6,7) = correlations[10];
82 matrix(7,7) = correlations[11];
87 matrix(0,0) = scaVariance;
88 matrix(1,1) = scaVariance;
89 matrix(2,2) = scaVariance;
95 double stripLength,
bool leftRight,
96 float & capacitive,
float & resistive)
const
T getParameter(std::string const &) const
float theResistiveCrosstalk
static int whatChamberType(int istation, int iring)
virtual float gain(const CSCDetId &detId, int channel) const
channels count from 1
CSCConfigurableStripConditions(const edm::ParameterSet &p)
void makeNoisifier(int chamberType, const std::vector< double > &correlations)
float theCapacitiveCrosstalk
math::ErrorD< 8 >::type CSCCorrelatedNoiseMatrix
std::vector< CSCCorrelatedNoisifier * > theNoisifiers
virtual ~CSCConfigurableStripConditions()
virtual void crosstalk(const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const
virtual void fetchNoisifier(const CSCDetId &detId, int istrip)
CSCCorrelatedNoisifier * theNoisifier
CorrelatedNoisifier< CSCCorrelatedNoiseMatrix > CSCCorrelatedNoisifier