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) {
27 for (
int i = 0;
i < 9; ++
i) {
49 if (correlations.size() != 12) {
51 <<
"Expect 12 noise correlation coefficients, but got " << correlations.size();
55 matrix(3, 3) = correlations[0];
56 matrix(3, 4) = correlations[1];
57 matrix(4, 4) = correlations[2];
58 matrix(3, 5) = correlations[3];
59 matrix(4, 5) = correlations[4];
60 matrix(5, 5) = correlations[5];
61 matrix(4, 6) = correlations[6];
62 matrix(5, 6) = correlations[7];
63 matrix(6, 6) = correlations[8];
64 matrix(5, 7) = correlations[9];
65 matrix(6, 7) = correlations[10];
66 matrix(7, 7) = correlations[11];
71 matrix(0, 0) = scaVariance;
72 matrix(1, 1) = scaVariance;
73 matrix(2, 2) = scaVariance;
78 const CSCDetId &detId,
int channel,
double stripLength,
bool leftRight,
float &capacitive,
float &resistive)
const {
T getParameter(std::string const &) const
float gain(const CSCDetId &detId, int channel) const override
channels count from 1
~CSCConfigurableStripConditions() override
void fetchNoisifier(const CSCDetId &detId, int istrip) override
float theResistiveCrosstalk
static int whatChamberType(int istation, int iring)
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
void crosstalk(const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const override
CSCCorrelatedNoisifier * theNoisifier
CorrelatedNoisifier< CSCCorrelatedNoiseMatrix > CSCCorrelatedNoisifier