CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
PedsFullNoiseAnalysis Class Reference

Histogram-based analysis for pedestal run. More...

#include <PedsFullNoiseAnalysis.h>

Inheritance diagram for PedsFullNoiseAnalysis:
CommissioningAnalysis

Public Member Functions

const VVFloatadProbab () const
 
const VVIntbadADProbab () const
 
const VVIntbadChi2Probab () const
 
const VVIntbadDoublePeakStrip () const
 
const VVIntbadFitStatus () const
 
const VVIntbadJBProbab () const
 
const VVIntbadKSProbab () const
 
const VVIntbadStrip () const
 
const VVIntbadStripBit () const
 
const VVIntbadTailStrip () const
 
const VVFloatchi2Probab () const
 
const VVIntdeadStrip () const
 
const VVIntdeadStripBit () const
 
bool isValid () const override
 
const VVFloatjbProbab () const
 
const VVFloatksProbab () const
 
const VVIntlargeNoiseSignificance () const
 
const VVIntlargeNoiseStrip () const
 
const VVIntlowNoiseStrip () const
 
const VVFloatnoise () const
 
const VFloatnoiseMax () const
 
const VFloatnoiseMean () const
 
const VFloatnoiseMin () const
 
const VVFloatnoiseSignificance () const
 
const VFloatnoiseSpread () const
 
const VVFloatpeds () const
 
 PedsFullNoiseAnalysis ()
 
 PedsFullNoiseAnalysis (const uint32_t &key)
 
const VFloatpedsMax () const
 
const VFloatpedsMean () const
 
const VFloatpedsMin () const
 
const VFloatpedsSpread () const
 
void print (std::stringstream &, uint32_t apv_number=0) override
 
const VVFloatraw () const
 
const VFloatrawMax () const
 
const VFloatrawMean () const
 
const VFloatrawMin () const
 
const VFloatrawSpread () const
 
void reset () override
 
const VVFloatresidualIntegral () const
 
const VVFloatresidualIntegralNsigma () const
 
const VVFloatresidualKurtosis () const
 
const VVFloatresidualMean () const
 
const VVFloatresidualRMS () const
 
const VVFloatresidualSigmaGaus () const
 
const VVFloatresidualSkewness () const
 
const VVIntshiftedStrip () const
 
void summary (std::stringstream &) const override
 
 ~PedsFullNoiseAnalysis () override
 
- Public Member Functions inherited from CommissioningAnalysis
virtual void addErrorCode (const std::string &error)
 
 CommissioningAnalysis (const std::string &my_name)
 
 CommissioningAnalysis (const uint32_t &key, const std::string &my_name)
 
const uint32_t & dcuId () const
 
void dcuId (const uint32_t &)
 
const uint32_t & detId () const
 
void detId (const uint32_t &)
 
const uint32_t & fecKey () const
 
void fecKey (const uint32_t &)
 
const uint32_t & fedKey () const
 
void fedKey (const uint32_t &)
 
const VStringgetErrorCodes () const
 
virtual void header (std::stringstream &) const
 
const std::string & myName () const
 
void setErrorCodes (const VString &errors)
 
virtual ~CommissioningAnalysis ()
 

Private Attributes

VVFloat adProbab_
 
VVInt badADProbab_
 
VVInt badChi2Probab_
 
VVInt badDoublePeakStrip_
 
VVInt badFitStatus_
 
VVInt badJBProbab_
 
VVInt badKSProbab_
 
VVInt badStrip_
 
VVInt badStripBit_
 
VVInt badTailStrip_
 
VVFloat chi2Probab_
 
VVInt deadStrip_
 Quantities filled only for bad strips i.e. vectors of strip-id. More...
 
VVInt deadStripBit_
 
VVFloat jbProbab_
 
VVFloat ksProbab_
 
VVInt largeNoiseSignificance_
 
VVInt largeNoiseStrip_
 
bool legacy_
 
VVInt lowNoiseStrip_
 
VVFloat noise_
 
VFloat noiseMax_
 
VFloat noiseMean_
 
VFloat noiseMin_
 
VVFloat noiseSignificance_
 
VFloat noiseSpread_
 
VVFloat peds_
 Quantitles that are always filled for every strip. More...
 
VFloat pedsMax_
 
VFloat pedsMean_
 
VFloat pedsMin_
 
VFloat pedsSpread_
 
VVFloat raw_
 
VFloat rawMax_
 
VFloat rawMean_
 
VFloat rawMin_
 
VFloat rawSpread_
 
VVFloat residualIntegral_
 
VVFloat residualIntegralNsigma_
 
VVFloat residualKurtosis_
 
VVFloat residualMean_
 
VVFloat residualRMS_
 
VVFloat residualSigmaGaus_
 
VVFloat residualSkewness_
 
VVInt shiftedStrip_
 

Friends

class PedestalsAlgorithm
 
class PedsFullNoiseAlgorithm
 

Additional Inherited Members

- Public Types inherited from CommissioningAnalysis
typedef std::vector< bool > VBool
 
typedef std::vector< float > VFloat
 
typedef std::vector< uint16_t > VInt
 
typedef std::vector< std::string > VString
 
typedef std::vector< VBoolVVBool
 
typedef std::vector< VFloatVVFloat
 
typedef std::vector< VIntVVInt
 

Detailed Description

Histogram-based analysis for pedestal run.

Author
M. Wingham, R.Bainbridge

Definition at line 16 of file PedsFullNoiseAnalysis.h.

Constructor & Destructor Documentation

◆ PedsFullNoiseAnalysis() [1/2]

PedsFullNoiseAnalysis::PedsFullNoiseAnalysis ( const uint32_t &  key)

Definition at line 13 of file PedsFullNoiseAnalysis.cc.

14  : CommissioningAnalysis(key, "PedsFullNoiseAnalysis"),
15  peds_(2, VFloat(128, sistrip::invalid_)),
17  raw_(2, VFloat(128, sistrip::invalid_)),
57  legacy_(false) {
58  // for flag bits one reserve at max 128 positions since will be filled with strip id only if the strip is bad
59  for (auto iapv : deadStrip_)
60  iapv.reserve(128);
61  for (auto iapv : badStrip_)
62  iapv.reserve(128);
63  for (auto iapv : shiftedStrip_)
64  iapv.reserve(128);
65  for (auto iapv : lowNoiseStrip_)
66  iapv.reserve(128);
67  for (auto iapv : largeNoiseStrip_)
68  iapv.reserve(128);
69  for (auto iapv : largeNoiseSignificance_)
70  iapv.reserve(128);
71  for (auto iapv : badFitStatus_)
72  iapv.reserve(128);
73  for (auto iapv : badADProbab_)
74  iapv.reserve(128);
75  for (auto iapv : badKSProbab_)
76  iapv.reserve(128);
77  for (auto iapv : badJBProbab_)
78  iapv.reserve(128);
79  for (auto iapv : badChi2Probab_)
80  iapv.reserve(128);
81  for (auto iapv : badTailStrip_)
82  iapv.reserve(128);
83  for (auto iapv : badDoublePeakStrip_)
84  iapv.reserve(128);
85 }

References badADProbab_, badChi2Probab_, badDoublePeakStrip_, badFitStatus_, badJBProbab_, badKSProbab_, badStrip_, badTailStrip_, deadStrip_, largeNoiseSignificance_, largeNoiseStrip_, lowNoiseStrip_, and shiftedStrip_.

◆ PedsFullNoiseAnalysis() [2/2]

PedsFullNoiseAnalysis::PedsFullNoiseAnalysis ( )

Definition at line 89 of file PedsFullNoiseAnalysis.cc.

90  : CommissioningAnalysis("PedsFullNoiseAnalysis"),
91  peds_(2, VFloat(128, sistrip::invalid_)),
93  raw_(2, VFloat(128, sistrip::invalid_)),
133  legacy_(false) {
134  // for flag bits one reserve at max 128 positions since will be filled with strip id only if the strip is bad
135  for (auto iapv : deadStrip_)
136  iapv.reserve(128);
137  for (auto iapv : badStrip_)
138  iapv.reserve(128);
139  for (auto iapv : shiftedStrip_)
140  iapv.reserve(128);
141  for (auto iapv : lowNoiseStrip_)
142  iapv.reserve(128);
143  for (auto iapv : largeNoiseStrip_)
144  iapv.reserve(128);
145  for (auto iapv : largeNoiseSignificance_)
146  iapv.reserve(128);
147  for (auto iapv : badFitStatus_)
148  iapv.reserve(128);
149  for (auto iapv : badADProbab_)
150  iapv.reserve(128);
151  for (auto iapv : badKSProbab_)
152  iapv.reserve(128);
153  for (auto iapv : badJBProbab_)
154  iapv.reserve(128);
155  for (auto iapv : badChi2Probab_)
156  iapv.reserve(128);
157  for (auto iapv : badTailStrip_)
158  iapv.reserve(128);
159  for (auto iapv : badDoublePeakStrip_)
160  iapv.reserve(128);
161 }

References badADProbab_, badChi2Probab_, badDoublePeakStrip_, badFitStatus_, badJBProbab_, badKSProbab_, badStrip_, badTailStrip_, deadStrip_, largeNoiseSignificance_, largeNoiseStrip_, lowNoiseStrip_, and shiftedStrip_.

◆ ~PedsFullNoiseAnalysis()

PedsFullNoiseAnalysis::~PedsFullNoiseAnalysis ( )
inlineoverride

Definition at line 24 of file PedsFullNoiseAnalysis.h.

24 { ; }

Member Function Documentation

◆ adProbab()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::adProbab ( ) const
inline

Definition at line 161 of file PedsFullNoiseAnalysis.h.

161 { return adProbab_; }

References adProbab_.

◆ badADProbab()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badADProbab ( ) const
inline

Definition at line 188 of file PedsFullNoiseAnalysis.h.

188 { return badADProbab_; }

References badADProbab_.

◆ badChi2Probab()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badChi2Probab ( ) const
inline

Definition at line 191 of file PedsFullNoiseAnalysis.h.

191 { return badChi2Probab_; }

References badChi2Probab_.

◆ badDoublePeakStrip()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badDoublePeakStrip ( ) const
inline

Definition at line 193 of file PedsFullNoiseAnalysis.h.

193 { return badDoublePeakStrip_; }

References badDoublePeakStrip_.

◆ badFitStatus()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badFitStatus ( ) const
inline

Definition at line 187 of file PedsFullNoiseAnalysis.h.

187 { return badFitStatus_; }

References badFitStatus_.

◆ badJBProbab()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badJBProbab ( ) const
inline

Definition at line 190 of file PedsFullNoiseAnalysis.h.

190 { return badJBProbab_; }

References badJBProbab_.

◆ badKSProbab()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badKSProbab ( ) const
inline

Definition at line 189 of file PedsFullNoiseAnalysis.h.

189 { return badKSProbab_; }

References badKSProbab_.

◆ badStrip()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badStrip ( ) const
inline

Definition at line 178 of file PedsFullNoiseAnalysis.h.

178 { return badStrip_; }

References badStrip_.

◆ badStripBit()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badStripBit ( ) const
inline

Definition at line 179 of file PedsFullNoiseAnalysis.h.

179 { return badStripBit_; }

References badStripBit_.

◆ badTailStrip()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badTailStrip ( ) const
inline

Definition at line 192 of file PedsFullNoiseAnalysis.h.

192 { return badTailStrip_; }

References badTailStrip_.

◆ chi2Probab()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::chi2Probab ( ) const
inline

Definition at line 164 of file PedsFullNoiseAnalysis.h.

164 { return chi2Probab_; }

References chi2Probab_.

◆ deadStrip()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::deadStrip ( ) const
inline

Definition at line 177 of file PedsFullNoiseAnalysis.h.

177 { return deadStrip_; }

References deadStrip_.

◆ deadStripBit()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::deadStripBit ( ) const
inline

Definition at line 180 of file PedsFullNoiseAnalysis.h.

180 { return deadStripBit_; }

References deadStripBit_.

◆ isValid()

bool PedsFullNoiseAnalysis::isValid ( void  ) const
overridevirtual

◆ jbProbab()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::jbProbab ( ) const
inline

Definition at line 163 of file PedsFullNoiseAnalysis.h.

163 { return jbProbab_; }

References jbProbab_.

◆ ksProbab()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::ksProbab ( ) const
inline

Definition at line 162 of file PedsFullNoiseAnalysis.h.

162 { return ksProbab_; }

References ksProbab_.

◆ largeNoiseSignificance()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::largeNoiseSignificance ( ) const
inline

Definition at line 184 of file PedsFullNoiseAnalysis.h.

184  {
186 }

References largeNoiseSignificance_.

◆ largeNoiseStrip()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::largeNoiseStrip ( ) const
inline

Definition at line 183 of file PedsFullNoiseAnalysis.h.

183 { return largeNoiseStrip_; }

References largeNoiseStrip_.

◆ lowNoiseStrip()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::lowNoiseStrip ( ) const
inline

Definition at line 182 of file PedsFullNoiseAnalysis.h.

182 { return lowNoiseStrip_; }

References lowNoiseStrip_.

◆ noise()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::noise ( ) const
inline

Definition at line 158 of file PedsFullNoiseAnalysis.h.

158 { return noise_; }

References noise_.

◆ noiseMax()

const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::noiseMax ( ) const
inline

Definition at line 204 of file PedsFullNoiseAnalysis.h.

204 { return noiseMax_; }

References noiseMax_.

◆ noiseMean()

const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::noiseMean ( ) const
inline

Definition at line 197 of file PedsFullNoiseAnalysis.h.

197 { return noiseMean_; }

References noiseMean_.

◆ noiseMin()

const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::noiseMin ( ) const
inline

Definition at line 205 of file PedsFullNoiseAnalysis.h.

205 { return noiseMin_; }

References noiseMin_.

◆ noiseSignificance()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::noiseSignificance ( ) const
inline

Definition at line 168 of file PedsFullNoiseAnalysis.h.

168 { return noiseSignificance_; }

References noiseSignificance_.

◆ noiseSpread()

const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::noiseSpread ( ) const
inline

Definition at line 198 of file PedsFullNoiseAnalysis.h.

198 { return noiseSpread_; }

References noiseSpread_.

◆ peds()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::peds ( ) const
inline

Definition at line 157 of file PedsFullNoiseAnalysis.h.

157 { return peds_; }

References peds_.

◆ pedsMax()

const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::pedsMax ( ) const
inline

Definition at line 202 of file PedsFullNoiseAnalysis.h.

202 { return pedsMax_; }

References pedsMax_.

◆ pedsMean()

const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::pedsMean ( ) const
inline

Definition at line 195 of file PedsFullNoiseAnalysis.h.

195 { return pedsMean_; }

References pedsMean_.

◆ pedsMin()

const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::pedsMin ( ) const
inline

Definition at line 203 of file PedsFullNoiseAnalysis.h.

203 { return pedsMin_; }

References pedsMin_.

◆ pedsSpread()

const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::pedsSpread ( ) const
inline

Definition at line 196 of file PedsFullNoiseAnalysis.h.

196 { return pedsSpread_; }

References pedsSpread_.

◆ print()

void PedsFullNoiseAnalysis::print ( std::stringstream &  ss,
uint32_t  apv_number = 0 
)
overridevirtual

Prints analysis results.

Implements CommissioningAnalysis.

Definition at line 319 of file PedsFullNoiseAnalysis.cc.

319  {
320  if (iapv == 1 || iapv == 2) {
321  iapv--;
322  } else {
323  iapv = 0;
324  }
325 
326  if (peds_[iapv].size() < 128 || noise_[iapv].size() < 128 || raw_[iapv].size() < 128) {
327  edm::LogWarning(mlCommissioning_) << "[" << myName() << "::" << __func__ << "]"
328  << " Unexpected number of pedestal/noise values: " << peds_[iapv].size() << ", "
329  << noise_[iapv].size() << ", " << raw_[iapv].size();
330  return;
331  }
332 
333  header(ss);
334  ss << " Monitorables for APV number : " << iapv;
335  if (iapv == 0) {
336  ss << " (first of pair)";
337  } else if (iapv == 1) {
338  ss << " (second of pair)";
339  }
340  ss << std::endl;
341  ss << std::fixed << std::setprecision(2);
342  ss << " Example peds/noise for strips : "
343  << " 0, 31, 63, 127" << std::endl
344  << " Peds [ADC] : " << std::setw(6) << peds_[iapv][0] << ", " << std::setw(6)
345  << peds_[iapv][31] << ", " << std::setw(6) << peds_[iapv][63] << ", " << std::setw(6) << peds_[iapv][127]
346  << std::endl
347  << " Noise [ADC] : " << std::setw(6) << noise_[iapv][0] << ", " << std::setw(6)
348  << noise_[iapv][31] << ", " << std::setw(6) << noise_[iapv][63] << ", " << std::setw(6) << noise_[iapv][127]
349  << std::endl
350  << " Raw noise [ADC] : " << std::setw(6) << raw_[iapv][0] << ", " << std::setw(6) << raw_[iapv][31]
351  << ", " << std::setw(6) << raw_[iapv][63] << ", " << std::setw(6) << raw_[iapv][127] << std::endl
352  << " Dead strips (<5s) [strip] : (" << deadStrip_[iapv].size() << " in total) ";
353 
354  for (uint16_t ii = 0; ii < deadStrip_[iapv].size(); ii++) {
355  ss << deadStrip_[iapv][ii] << " ";
356  }
357 
358  ss << std::endl;
359  ss << " Bad strips (>5s) [strip] : (" << badStrip_[iapv].size() << " in total) ";
360  for (uint16_t ii = 0; ii < badStrip_[iapv].size(); ii++) {
361  ss << badStrip_[iapv][ii] << " ";
362  }
363  ss << std::endl;
364  ss << " Mean peds +/- spread [ADC] : " << pedsMean_[iapv] << " +/- " << pedsSpread_[iapv] << std::endl
365  << " Min/Max pedestal [ADC] : " << pedsMin_[iapv] << " <-> " << pedsMax_[iapv] << std::endl
366  << " Mean noise +/- spread [ADC] : " << noiseMean_[iapv] << " +/- " << noiseSpread_[iapv] << std::endl
367  << " Min/Max noise [ADC] : " << noiseMin_[iapv] << " <-> " << noiseMax_[iapv] << std::endl
368  << " Mean raw noise +/- spread [ADC] : " << rawMean_[iapv] << " +/- " << rawSpread_[iapv] << std::endl
369  << " Min/Max raw noise [ADC] : " << rawMin_[iapv] << " <-> " << rawMax_[iapv] << std::endl
370  << " Normalised noise : "
371  << "(yet to be implemented...)" << std::endl
372  << std::boolalpha << " isValid : " << isValid() << std::endl
373  << std::noboolalpha << " Error codes (found " << std::setw(2) << std::setfill(' ') << getErrorCodes().size()
374  << ") : ";
375  if (getErrorCodes().empty()) {
376  ss << "(none)";
377  } else {
378  VString::const_iterator istr = getErrorCodes().begin();
379  VString::const_iterator jstr = getErrorCodes().end();
380  for (; istr != jstr; ++istr) {
381  ss << *istr << " ";
382  }
383  }
384  ss << std::endl;
385 }

References badStrip_, deadStrip_, relativeConstraints::empty, alignBH_cfg::fixed, CommissioningAnalysis::getErrorCodes(), CommissioningAnalysis::header(), cuy::ii, isValid(), sistrip::mlCommissioning_, CommissioningAnalysis::myName(), noise_, noiseMax_, noiseMean_, noiseMin_, noiseSpread_, peds_, pedsMax_, pedsMean_, pedsMin_, pedsSpread_, raw_, rawMax_, rawMean_, rawMin_, rawSpread_, findQualityFiles::size, and contentValuesCheck::ss.

◆ raw()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::raw ( ) const
inline

Definition at line 159 of file PedsFullNoiseAnalysis.h.

159 { return raw_; }

References raw_.

◆ rawMax()

const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::rawMax ( ) const
inline

Definition at line 206 of file PedsFullNoiseAnalysis.h.

206 { return rawMax_; }

References rawMax_.

◆ rawMean()

const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::rawMean ( ) const
inline

Definition at line 199 of file PedsFullNoiseAnalysis.h.

199 { return rawMean_; }

References rawMean_.

◆ rawMin()

const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::rawMin ( ) const
inline

Definition at line 207 of file PedsFullNoiseAnalysis.h.

207 { return rawMin_; }

References rawMin_.

◆ rawSpread()

const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::rawSpread ( ) const
inline

Definition at line 200 of file PedsFullNoiseAnalysis.h.

200 { return rawSpread_; }

References rawSpread_.

◆ reset()

void PedsFullNoiseAnalysis::reset ( void  )
overridevirtual

Resets analysis member data.

Implements CommissioningAnalysis.

Definition at line 165 of file PedsFullNoiseAnalysis.cc.

165  {
168  raw_ = VVFloat(2, VFloat(128, sistrip::invalid_));
181 
197 
198  // for flag bits one reserve at max 128 positions since will be filled with strip id only if the strip is bad
199  for (auto iapv : deadStrip_)
200  iapv.reserve(128);
201  for (auto iapv : badStrip_)
202  iapv.reserve(128);
203  for (auto iapv : shiftedStrip_)
204  iapv.reserve(128);
205  for (auto iapv : lowNoiseStrip_)
206  iapv.reserve(128);
207  for (auto iapv : largeNoiseStrip_)
208  iapv.reserve(128);
209  for (auto iapv : largeNoiseSignificance_)
210  iapv.reserve(128);
211  for (auto iapv : badFitStatus_)
212  iapv.reserve(128);
213  for (auto iapv : badADProbab_)
214  iapv.reserve(128);
215  for (auto iapv : badKSProbab_)
216  iapv.reserve(128);
217  for (auto iapv : badJBProbab_)
218  iapv.reserve(128);
219  for (auto iapv : badChi2Probab_)
220  iapv.reserve(128);
221  for (auto iapv : badTailStrip_)
222  iapv.reserve(128);
223  for (auto iapv : badDoublePeakStrip_)
224  iapv.reserve(128);
225 
238 
239  legacy_ = false;
240 }

References adProbab_, badADProbab_, badChi2Probab_, badDoublePeakStrip_, badFitStatus_, badJBProbab_, badKSProbab_, badStrip_, badStripBit_, badTailStrip_, chi2Probab_, deadStrip_, deadStripBit_, sistrip::invalid_, jbProbab_, ksProbab_, largeNoiseSignificance_, largeNoiseStrip_, legacy_, lowNoiseStrip_, noise_, noiseMax_, noiseMean_, noiseMin_, noiseSignificance_, noiseSpread_, peds_, pedsMax_, pedsMean_, pedsMin_, pedsSpread_, raw_, rawMax_, rawMean_, rawMin_, rawSpread_, residualIntegral_, residualIntegralNsigma_, residualKurtosis_, residualMean_, residualRMS_, residualSigmaGaus_, residualSkewness_, and shiftedStrip_.

Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().

◆ residualIntegral()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualIntegral ( ) const
inline

Definition at line 175 of file PedsFullNoiseAnalysis.h.

175 { return residualIntegral_; }

References residualIntegral_.

◆ residualIntegralNsigma()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualIntegralNsigma ( ) const
inline

Definition at line 172 of file PedsFullNoiseAnalysis.h.

172  {
174 }

References residualIntegralNsigma_.

◆ residualKurtosis()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualKurtosis ( ) const
inline

Definition at line 171 of file PedsFullNoiseAnalysis.h.

171 { return residualKurtosis_; }

References residualKurtosis_.

◆ residualMean()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualMean ( ) const
inline

Definition at line 169 of file PedsFullNoiseAnalysis.h.

169 { return residualMean_; }

References residualMean_.

◆ residualRMS()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualRMS ( ) const
inline

Definition at line 166 of file PedsFullNoiseAnalysis.h.

166 { return residualRMS_; }

References residualRMS_.

◆ residualSigmaGaus()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualSigmaGaus ( ) const
inline

Definition at line 167 of file PedsFullNoiseAnalysis.h.

167 { return residualSigmaGaus_; }

References residualSigmaGaus_.

◆ residualSkewness()

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualSkewness ( ) const
inline

Definition at line 170 of file PedsFullNoiseAnalysis.h.

170 { return residualSkewness_; }

References residualSkewness_.

◆ shiftedStrip()

const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::shiftedStrip ( ) const
inline

Definition at line 181 of file PedsFullNoiseAnalysis.h.

181 { return shiftedStrip_; }

References shiftedStrip_.

◆ summary()

void PedsFullNoiseAnalysis::summary ( std::stringstream &  ss) const
overridevirtual

Overrides base method.

Reimplemented from CommissioningAnalysis.

Definition at line 258 of file PedsFullNoiseAnalysis.cc.

258  {
259  SiStripFecKey fec_key(fecKey());
260  SiStripFedKey fed_key(fedKey());
261 
263 
264  std::stringstream extra1, extra2, extra3;
265  if (legacy_) {
269  } else {
273  }
274 
276  type,
278  fed_key.key(),
280  fec_key.lldChan(),
281  extra1.str())
282  .title();
284  type,
286  fed_key.key(),
288  fec_key.lldChan(),
289  extra2.str())
290  .title();
292  type,
294  fed_key.key(),
295  sistrip::APV,
296  SiStripFecKey::i2cAddr(fec_key.lldChan(), true),
297  extra3.str())
298  .title();
300  type,
302  fed_key.key(),
303  sistrip::APV,
304  SiStripFecKey::i2cAddr(fec_key.lldChan(), false),
305  extra3.str())
306  .title();
307 
308  ss << " Summary"
309  << ":" << (isValid() ? "Valid" : "Invalid") << ":" << sistrip::controlView_ << ":" << fec_key.fecCrate() << "/"
310  << fec_key.fecSlot() << "/" << fec_key.fecRing() << "/" << fec_key.ccuAddr() << "/" << fec_key.ccuChan() << ":"
311  << sistrip::dqmRoot_ << sistrip::dir_ << "Collate" << sistrip::dir_
312  << SiStripFecKey(fec_key.fecCrate(), fec_key.fecSlot(), fec_key.fecRing(), fec_key.ccuAddr(), fec_key.ccuChan())
313  .path()
314  << ":" << title1 << ";" << title2 << ";" << title3 << ";" << title4 << std::endl;
315 }

References sistrip::APV, SiStripFecKey::ccuAddr(), SiStripFecKey::ccuChan(), sistrip::extrainfo::commonMode_, sistrip::controlView_, sistrip::dir_, sistrip::dqmRoot_, sistrip::EXPERT_HISTO, SiStripFecKey::fecCrate(), CommissioningAnalysis::fecKey(), SiStripFecKey::fecRing(), SiStripFecKey::fecSlot(), sistrip::FED_KEY, CommissioningAnalysis::fedKey(), SiStripFecKey::i2cAddr(), isValid(), SiStripKey::key(), legacy_, sistrip::LLD_CHAN, SiStripFecKey::lldChan(), CommissioningAnalysis::myName(), castor_dqm_sourceclient_file_cfg::path, sistrip::extrainfo::pedestals_, sistrip::extrainfo::pedsAndCmSubNoise_, sistrip::extrainfo::pedsAndRawNoise_, sistrip::extrainfo::rawNoise_, SiStripEnumsAndStrings::runType(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and overlapproblemtsosanalyzer_cfi::title.

Friends And Related Function Documentation

◆ PedestalsAlgorithm

friend class PedestalsAlgorithm
friend

Definition at line 26 of file PedsFullNoiseAnalysis.h.

◆ PedsFullNoiseAlgorithm

friend class PedsFullNoiseAlgorithm
friend

Definition at line 27 of file PedsFullNoiseAnalysis.h.

Member Data Documentation

◆ adProbab_

VVFloat PedsFullNoiseAnalysis::adProbab_
private

◆ badADProbab_

VVInt PedsFullNoiseAnalysis::badADProbab_
private

◆ badChi2Probab_

VVInt PedsFullNoiseAnalysis::badChi2Probab_
private

◆ badDoublePeakStrip_

VVInt PedsFullNoiseAnalysis::badDoublePeakStrip_
private

◆ badFitStatus_

VVInt PedsFullNoiseAnalysis::badFitStatus_
private

◆ badJBProbab_

VVInt PedsFullNoiseAnalysis::badJBProbab_
private

◆ badKSProbab_

VVInt PedsFullNoiseAnalysis::badKSProbab_
private

◆ badStrip_

VVInt PedsFullNoiseAnalysis::badStrip_
private

◆ badStripBit_

VVInt PedsFullNoiseAnalysis::badStripBit_
private

◆ badTailStrip_

VVInt PedsFullNoiseAnalysis::badTailStrip_
private

◆ chi2Probab_

VVFloat PedsFullNoiseAnalysis::chi2Probab_
private

◆ deadStrip_

VVInt PedsFullNoiseAnalysis::deadStrip_
private

Quantities filled only for bad strips i.e. vectors of strip-id.

Definition at line 123 of file PedsFullNoiseAnalysis.h.

Referenced by PedsFullNoiseAlgorithm::analyse(), deadStrip(), PedsFullNoiseAnalysis(), print(), and reset().

◆ deadStripBit_

VVInt PedsFullNoiseAnalysis::deadStripBit_
private

◆ jbProbab_

VVFloat PedsFullNoiseAnalysis::jbProbab_
private

◆ ksProbab_

VVFloat PedsFullNoiseAnalysis::ksProbab_
private

◆ largeNoiseSignificance_

VVInt PedsFullNoiseAnalysis::largeNoiseSignificance_
private

◆ largeNoiseStrip_

VVInt PedsFullNoiseAnalysis::largeNoiseStrip_
private

◆ legacy_

bool PedsFullNoiseAnalysis::legacy_
private

Definition at line 152 of file PedsFullNoiseAnalysis.h.

Referenced by reset(), and summary().

◆ lowNoiseStrip_

VVInt PedsFullNoiseAnalysis::lowNoiseStrip_
private

◆ noise_

VVFloat PedsFullNoiseAnalysis::noise_
private

◆ noiseMax_

VFloat PedsFullNoiseAnalysis::noiseMax_
private

◆ noiseMean_

VFloat PedsFullNoiseAnalysis::noiseMean_
private

◆ noiseMin_

VFloat PedsFullNoiseAnalysis::noiseMin_
private

◆ noiseSignificance_

VVFloat PedsFullNoiseAnalysis::noiseSignificance_
private

◆ noiseSpread_

VFloat PedsFullNoiseAnalysis::noiseSpread_
private

◆ peds_

VVFloat PedsFullNoiseAnalysis::peds_
private

Quantitles that are always filled for every strip.

Definition at line 103 of file PedsFullNoiseAnalysis.h.

Referenced by PedsFullNoiseAlgorithm::analyse(), peds(), print(), PedsFullNoiseAlgorithm::reset(), and reset().

◆ pedsMax_

VFloat PedsFullNoiseAnalysis::pedsMax_
private

◆ pedsMean_

VFloat PedsFullNoiseAnalysis::pedsMean_
private

◆ pedsMin_

VFloat PedsFullNoiseAnalysis::pedsMin_
private

◆ pedsSpread_

VFloat PedsFullNoiseAnalysis::pedsSpread_
private

◆ raw_

VVFloat PedsFullNoiseAnalysis::raw_
private

◆ rawMax_

VFloat PedsFullNoiseAnalysis::rawMax_
private

◆ rawMean_

VFloat PedsFullNoiseAnalysis::rawMean_
private

◆ rawMin_

VFloat PedsFullNoiseAnalysis::rawMin_
private

◆ rawSpread_

VFloat PedsFullNoiseAnalysis::rawSpread_
private

◆ residualIntegral_

VVFloat PedsFullNoiseAnalysis::residualIntegral_
private

◆ residualIntegralNsigma_

VVFloat PedsFullNoiseAnalysis::residualIntegralNsigma_
private

◆ residualKurtosis_

VVFloat PedsFullNoiseAnalysis::residualKurtosis_
private

◆ residualMean_

VVFloat PedsFullNoiseAnalysis::residualMean_
private

◆ residualRMS_

VVFloat PedsFullNoiseAnalysis::residualRMS_
private

◆ residualSigmaGaus_

VVFloat PedsFullNoiseAnalysis::residualSigmaGaus_
private

◆ residualSkewness_

VVFloat PedsFullNoiseAnalysis::residualSkewness_
private

◆ shiftedStrip_

VVInt PedsFullNoiseAnalysis::shiftedStrip_
private
CommissioningAnalysis::getErrorCodes
const VString & getErrorCodes() const
Definition: CommissioningAnalysis.h:131
SiStripEnumsAndStrings::runType
static std::string runType(const sistrip::RunType &)
Definition: SiStripEnumsAndStrings.cc:39
PedsFullNoiseAnalysis::jbProbab_
VVFloat jbProbab_
Definition: PedsFullNoiseAnalysis.h:109
PedsFullNoiseAnalysis::badKSProbab_
VVInt badKSProbab_
Definition: PedsFullNoiseAnalysis.h:131
sistrip::extrainfo::commonMode_
static const char commonMode_[]
Definition: ConstantsForDqm.h:48
alignBH_cfg.fixed
fixed
Definition: alignBH_cfg.py:54
PedsFullNoiseAnalysis::rawMean_
VFloat rawMean_
Definition: PedsFullNoiseAnalysis.h:142
PedsFullNoiseAnalysis::deadStripBit_
VVInt deadStripBit_
Definition: PedsFullNoiseAnalysis.h:120
PedsFullNoiseAnalysis::chi2Probab_
VVFloat chi2Probab_
Definition: PedsFullNoiseAnalysis.h:110
PedsFullNoiseAnalysis::badFitStatus_
VVInt badFitStatus_
Definition: PedsFullNoiseAnalysis.h:129
PedsFullNoiseAnalysis::residualMean_
VVFloat residualMean_
Definition: PedsFullNoiseAnalysis.h:114
PedsFullNoiseAnalysis::badJBProbab_
VVInt badJBProbab_
Definition: PedsFullNoiseAnalysis.h:132
PedsFullNoiseAnalysis::ksProbab_
VVFloat ksProbab_
Definition: PedsFullNoiseAnalysis.h:108
PedsFullNoiseAnalysis::residualSkewness_
VVFloat residualSkewness_
Definition: PedsFullNoiseAnalysis.h:115
PedsFullNoiseAnalysis::residualIntegralNsigma_
VVFloat residualIntegralNsigma_
Definition: PedsFullNoiseAnalysis.h:117
CommissioningAnalysis::fedKey
const uint32_t & fedKey() const
Definition: CommissioningAnalysis.h:134
PedsFullNoiseAnalysis::rawSpread_
VFloat rawSpread_
Definition: PedsFullNoiseAnalysis.h:143
sistrip::dir_
static const char dir_[]
Definition: ConstantsForDqm.h:17
PedsFullNoiseAnalysis::noiseSignificance_
VVFloat noiseSignificance_
Definition: PedsFullNoiseAnalysis.h:113
CommissioningAnalysis::VVInt
std::vector< VInt > VVInt
Definition: CommissioningAnalysis.h:36
sistrip::RunType
RunType
Definition: ConstantsForRunType.h:70
SiStripFedKey
A container class for generic run and event-related info, information required by the commissioning a...
Definition: SiStripFedKey.h:56
sistrip::extrainfo::pedsAndCmSubNoise_
static const char pedsAndCmSubNoise_[]
Definition: ConstantsForDqm.h:55
CommissioningAnalysis::VFloat
std::vector< float > VFloat
Definition: CommissioningAnalysis.h:30
PedsFullNoiseAnalysis::badChi2Probab_
VVInt badChi2Probab_
Definition: PedsFullNoiseAnalysis.h:133
PedsFullNoiseAnalysis::residualSigmaGaus_
VVFloat residualSigmaGaus_
Definition: PedsFullNoiseAnalysis.h:112
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
sistrip::mlCommissioning_
static const char mlCommissioning_[]
Definition: ConstantsForLogger.h:15
PedsFullNoiseAnalysis::lowNoiseStrip_
VVInt lowNoiseStrip_
Definition: PedsFullNoiseAnalysis.h:126
CommissioningAnalysis::header
virtual void header(std::stringstream &) const
Definition: CommissioningAnalysis.cc:33
PedsFullNoiseAnalysis::noiseMin_
VFloat noiseMin_
Definition: PedsFullNoiseAnalysis.h:147
PedsFullNoiseAnalysis::noise_
VVFloat noise_
Definition: PedsFullNoiseAnalysis.h:104
PedsFullNoiseAnalysis::pedsMin_
VFloat pedsMin_
Definition: PedsFullNoiseAnalysis.h:145
sistrip::EXPERT_HISTO
Definition: ConstantsForHistoType.h:29
PedsFullNoiseAnalysis::noiseMax_
VFloat noiseMax_
Definition: PedsFullNoiseAnalysis.h:146
PedsFullNoiseAnalysis::adProbab_
VVFloat adProbab_
Definition: PedsFullNoiseAnalysis.h:107
sistrip::extrainfo::pedestals_
static const char pedestals_[]
Definition: ConstantsForDqm.h:45
PedsFullNoiseAnalysis::residualIntegral_
VVFloat residualIntegral_
Definition: PedsFullNoiseAnalysis.h:118
SiStripFecKey
Utility class that identifies a position within the strip tracker control structure,...
Definition: SiStripFecKey.h:45
PedsFullNoiseAnalysis::rawMax_
VFloat rawMax_
Definition: PedsFullNoiseAnalysis.h:148
PedsFullNoiseAnalysis::isValid
bool isValid() const override
Definition: PedsFullNoiseAnalysis.cc:244
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::LogWarning
Definition: MessageLogger.h:141
PedsFullNoiseAnalysis::badDoublePeakStrip_
VVInt badDoublePeakStrip_
Definition: PedsFullNoiseAnalysis.h:135
PedsFullNoiseAnalysis::pedsSpread_
VFloat pedsSpread_
Definition: PedsFullNoiseAnalysis.h:139
CommissioningAnalysis::CommissioningAnalysis
CommissioningAnalysis()
Definition: CommissioningAnalysis.h:105
PedsFullNoiseAnalysis::noiseMean_
VFloat noiseMean_
Definition: PedsFullNoiseAnalysis.h:140
PedsFullNoiseAnalysis::legacy_
bool legacy_
Definition: PedsFullNoiseAnalysis.h:152
sistrip::maximum_
static const uint16_t maximum_
Definition: Constants.h:20
sistrip::controlView_
static const char controlView_[]
Definition: ConstantsForView.h:21
PedsFullNoiseAnalysis::residualKurtosis_
VVFloat residualKurtosis_
Definition: PedsFullNoiseAnalysis.h:116
sistrip::APV
Definition: ConstantsForGranularity.h:79
PedsFullNoiseAnalysis::badADProbab_
VVInt badADProbab_
Definition: PedsFullNoiseAnalysis.h:130
sistrip::invalid_
static const uint16_t invalid_
Definition: Constants.h:16
sistrip::extrainfo::pedsAndRawNoise_
static const char pedsAndRawNoise_[]
Definition: ConstantsForDqm.h:53
sistrip::dqmRoot_
static const char dqmRoot_[]
Definition: ConstantsForDqm.h:28
CommissioningAnalysis::VInt
std::vector< uint16_t > VInt
Definition: CommissioningAnalysis.h:34
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
PedsFullNoiseAnalysis::badTailStrip_
VVInt badTailStrip_
Definition: PedsFullNoiseAnalysis.h:134
type
type
Definition: HCALResponse.h:21
PedsFullNoiseAnalysis::largeNoiseStrip_
VVInt largeNoiseStrip_
Definition: PedsFullNoiseAnalysis.h:127
SiStripFecKey::i2cAddr
const uint16_t & i2cAddr() const
Definition: SiStripFecKey.h:204
CommissioningAnalysis::fecKey
const uint32_t & fecKey() const
Definition: CommissioningAnalysis.h:133
PedsFullNoiseAnalysis::rawMin_
VFloat rawMin_
Definition: PedsFullNoiseAnalysis.h:149
PedsFullNoiseAnalysis::largeNoiseSignificance_
VVInt largeNoiseSignificance_
Definition: PedsFullNoiseAnalysis.h:128
relativeConstraints.empty
bool empty
Definition: relativeConstraints.py:46
PedsFullNoiseAnalysis::pedsMax_
VFloat pedsMax_
Definition: PedsFullNoiseAnalysis.h:144
PedsFullNoiseAnalysis::pedsMean_
VFloat pedsMean_
Definition: PedsFullNoiseAnalysis.h:138
PedsFullNoiseAnalysis::badStrip_
VVInt badStrip_
Definition: PedsFullNoiseAnalysis.h:124
PedsFullNoiseAnalysis::peds_
VVFloat peds_
Quantitles that are always filled for every strip.
Definition: PedsFullNoiseAnalysis.h:103
CommissioningAnalysis::myName
const std::string & myName() const
Definition: CommissioningAnalysis.h:139
SiStripHistoTitle
Utility class that holds histogram title.
Definition: SiStripHistoTitle.h:20
PedsFullNoiseAnalysis::residualRMS_
VVFloat residualRMS_
Definition: PedsFullNoiseAnalysis.h:111
sistrip::extrainfo::rawNoise_
static const char rawNoise_[]
Definition: ConstantsForDqm.h:46
CommissioningAnalysis::VVFloat
std::vector< VFloat > VVFloat
Definition: CommissioningAnalysis.h:32
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
PedsFullNoiseAnalysis::deadStrip_
VVInt deadStrip_
Quantities filled only for bad strips i.e. vectors of strip-id.
Definition: PedsFullNoiseAnalysis.h:123
PedsFullNoiseAnalysis::badStripBit_
VVInt badStripBit_
Definition: PedsFullNoiseAnalysis.h:119
sistrip::FED_KEY
Definition: ConstantsForKeyType.h:30
PedsFullNoiseAnalysis::shiftedStrip_
VVInt shiftedStrip_
Definition: PedsFullNoiseAnalysis.h:125
PedsFullNoiseAnalysis::raw_
VVFloat raw_
Definition: PedsFullNoiseAnalysis.h:105
PedsFullNoiseAnalysis::noiseSpread_
VFloat noiseSpread_
Definition: PedsFullNoiseAnalysis.h:141
crabWrapper.key
key
Definition: crabWrapper.py:19
cuy.ii
ii
Definition: cuy.py:590
sistrip::LLD_CHAN
Definition: ConstantsForGranularity.h:78
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443