CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 (const uint32_t &key)
 
 PedsFullNoiseAnalysis ()
 
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 uint32_t &key, const std::string &my_name)
 
 CommissioningAnalysis (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::PedsFullNoiseAnalysis ( const uint32_t &  key)

Definition at line 13 of file PedsFullNoiseAnalysis.cc.

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

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 }
VVFloat peds_
Quantitles that are always filled for every strip.
VVInt deadStrip_
Quantities filled only for bad strips i.e. vectors of strip-id.
std::vector< float > VFloat
tuple key
prepare the HTCondor submission files and eventually submit them
std::vector< uint16_t > VInt
static const uint16_t invalid_
Definition: Constants.h:16
PedsFullNoiseAnalysis::PedsFullNoiseAnalysis ( )

Definition at line 89 of file PedsFullNoiseAnalysis.cc.

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

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 }
VVFloat peds_
Quantitles that are always filled for every strip.
VVInt deadStrip_
Quantities filled only for bad strips i.e. vectors of strip-id.
std::vector< float > VFloat
std::vector< uint16_t > VInt
static const uint16_t invalid_
Definition: Constants.h:16
PedsFullNoiseAnalysis::~PedsFullNoiseAnalysis ( )
inlineoverride

Definition at line 24 of file PedsFullNoiseAnalysis.h.

24 { ; }

Member Function Documentation

const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::adProbab ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badADProbab ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badChi2Probab ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badDoublePeakStrip ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badFitStatus ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badJBProbab ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badKSProbab ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badStrip ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badStripBit ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::badTailStrip ( ) const
inline
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::chi2Probab ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::deadStrip ( ) const
inline

Definition at line 177 of file PedsFullNoiseAnalysis.h.

References deadStrip_.

Referenced by PedsFullNoiseHistosUsingDb::create(), PedsFullNoiseSummaryFactory::extract(), and PedsFullNoiseHistosUsingDb::update().

177 { return deadStrip_; }
VVInt deadStrip_
Quantities filled only for bad strips i.e. vectors of strip-id.
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::deadStripBit ( ) const
inline
bool PedsFullNoiseAnalysis::isValid ( void  ) const
overridevirtual

Identifies if analysis is valid or not.

Reimplemented from CommissioningAnalysis.

Definition at line 244 of file PedsFullNoiseAnalysis.cc.

References relativeConstraints::empty, CommissioningAnalysis::getErrorCodes(), sistrip::maximum_, noiseMax_, noiseMean_, noiseMin_, noiseSpread_, pedsMax_, pedsMean_, pedsMin_, pedsSpread_, rawMax_, rawMean_, rawMin_, and rawSpread_.

Referenced by ntupleDataFormat._Object::_checkIsValid(), PedsFullNoiseHistosUsingDb::create(), PedsFullNoiseHistograms::histoAnalysis(), print(), core.AutoHandle.AutoHandle::ReallyLoad(), and summary().

244  {
254 }
static const uint16_t maximum_
Definition: Constants.h:20
const VString & getErrorCodes() const
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::jbProbab ( ) const
inline
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::ksProbab ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::largeNoiseSignificance ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::largeNoiseStrip ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::lowNoiseStrip ( ) const
inline
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::noise ( ) const
inline
const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::noiseMax ( ) const
inline
const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::noiseMean ( ) const
inline
const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::noiseMin ( ) const
inline
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::noiseSignificance ( ) const
inline
const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::noiseSpread ( ) const
inline
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::peds ( ) const
inline

Definition at line 157 of file PedsFullNoiseAnalysis.h.

References peds_.

Referenced by PedsFullNoiseSummaryFactory::extract(), and PedsFullNoiseHistosUsingDb::update().

157 { return peds_; }
VVFloat peds_
Quantitles that are always filled for every strip.
const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::pedsMax ( ) const
inline
const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::pedsMean ( ) const
inline
const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::pedsMin ( ) const
inline
const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::pedsSpread ( ) const
inline
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.

References badStrip_, deadStrip_, relativeConstraints::empty, 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_, and findQualityFiles::size.

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 }
VVFloat peds_
Quantitles that are always filled for every strip.
bool isValid() const override
int ii
Definition: cuy.py:589
VVInt deadStrip_
Quantities filled only for bad strips i.e. vectors of strip-id.
static const char mlCommissioning_[]
virtual void header(std::stringstream &) const
Log< level::Warning, false > LogWarning
const VString & getErrorCodes() const
const std::string & myName() const
tuple size
Write out results.
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::raw ( ) const
inline

Definition at line 159 of file PedsFullNoiseAnalysis.h.

References raw_.

159 { return raw_; }
const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::rawMax ( ) const
inline

Definition at line 206 of file PedsFullNoiseAnalysis.h.

References rawMax_.

Referenced by PedsFullNoiseHistosUsingDb::create().

206 { return rawMax_; }
const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::rawMean ( ) const
inline

Definition at line 199 of file PedsFullNoiseAnalysis.h.

References rawMean_.

Referenced by PedsFullNoiseHistosUsingDb::create().

199 { return rawMean_; }
const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::rawMin ( ) const
inline

Definition at line 207 of file PedsFullNoiseAnalysis.h.

References rawMin_.

Referenced by PedsFullNoiseHistosUsingDb::create().

207 { return rawMin_; }
const PedsFullNoiseAnalysis::VFloat & PedsFullNoiseAnalysis::rawSpread ( ) const
inline

Definition at line 200 of file PedsFullNoiseAnalysis.h.

References rawSpread_.

Referenced by PedsFullNoiseHistosUsingDb::create().

200 { return rawSpread_; }
void PedsFullNoiseAnalysis::reset ( void  )
overridevirtual

Resets analysis member data.

Implements CommissioningAnalysis.

Definition at line 165 of file PedsFullNoiseAnalysis.cc.

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().

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 }
VVFloat peds_
Quantitles that are always filled for every strip.
VVInt deadStrip_
Quantities filled only for bad strips i.e. vectors of strip-id.
std::vector< float > VFloat
std::vector< uint16_t > VInt
std::vector< VInt > VVInt
static const uint16_t invalid_
Definition: Constants.h:16
std::vector< VFloat > VVFloat
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualIntegral ( ) const
inline
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualIntegralNsigma ( ) const
inline
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualKurtosis ( ) const
inline
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualMean ( ) const
inline

Definition at line 169 of file PedsFullNoiseAnalysis.h.

References residualMean_.

Referenced by PedsFullNoiseSummaryFactory::extract().

169 { return residualMean_; }
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualRMS ( ) const
inline
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualSigmaGaus ( ) const
inline
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::residualSkewness ( ) const
inline
const PedsFullNoiseAnalysis::VVInt & PedsFullNoiseAnalysis::shiftedStrip ( ) const
inline
void PedsFullNoiseAnalysis::summary ( std::stringstream &  ss) const
overridevirtual

Overrides base method.

Reimplemented from CommissioningAnalysis.

Definition at line 258 of file PedsFullNoiseAnalysis.cc.

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(), fed_dqm_sourceclient-live_cfg::path, sistrip::extrainfo::pedestals_, sistrip::extrainfo::pedsAndCmSubNoise_, sistrip::extrainfo::pedsAndRawNoise_, sistrip::extrainfo::rawNoise_, SiStripEnumsAndStrings::runType(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.

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 }
static const char rawNoise_[]
const uint32_t & fedKey() const
static const char pedsAndRawNoise_[]
static const char dir_[]
Utility class that holds histogram title.
A container class for generic run and event-related info, information required by the commissioning a...
Definition: SiStripFedKey.h:56
bool isValid() const override
const uint16_t & i2cAddr() const
Utility class that identifies a position within the strip tracker control structure, down to the level of an APV25.
Definition: SiStripFecKey.h:45
static std::string runType(const sistrip::RunType &)
static const char controlView_[]
static const char dqmRoot_[]
const uint32_t & fecKey() const
static const char commonMode_[]
static const char pedestals_[]
static const char pedsAndCmSubNoise_[]
const std::string & myName() const

Friends And Related Function Documentation

friend class PedestalsAlgorithm
friend

Definition at line 26 of file PedsFullNoiseAnalysis.h.

friend class PedsFullNoiseAlgorithm
friend

Definition at line 27 of file PedsFullNoiseAnalysis.h.

Member Data Documentation

VVFloat PedsFullNoiseAnalysis::adProbab_
private
VVInt PedsFullNoiseAnalysis::badADProbab_
private
VVInt PedsFullNoiseAnalysis::badChi2Probab_
private
VVInt PedsFullNoiseAnalysis::badDoublePeakStrip_
private
VVInt PedsFullNoiseAnalysis::badFitStatus_
private
VVInt PedsFullNoiseAnalysis::badJBProbab_
private
VVInt PedsFullNoiseAnalysis::badKSProbab_
private
VVInt PedsFullNoiseAnalysis::badStrip_
private
VVInt PedsFullNoiseAnalysis::badStripBit_
private
VVInt PedsFullNoiseAnalysis::badTailStrip_
private
VVFloat PedsFullNoiseAnalysis::chi2Probab_
private
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().

VVInt PedsFullNoiseAnalysis::deadStripBit_
private
VVFloat PedsFullNoiseAnalysis::jbProbab_
private
VVFloat PedsFullNoiseAnalysis::ksProbab_
private
VVInt PedsFullNoiseAnalysis::largeNoiseSignificance_
private
VVInt PedsFullNoiseAnalysis::largeNoiseStrip_
private
bool PedsFullNoiseAnalysis::legacy_
private

Definition at line 152 of file PedsFullNoiseAnalysis.h.

Referenced by reset(), and summary().

VVInt PedsFullNoiseAnalysis::lowNoiseStrip_
private
VVFloat PedsFullNoiseAnalysis::noise_
private
VFloat PedsFullNoiseAnalysis::noiseMax_
private
VFloat PedsFullNoiseAnalysis::noiseMean_
private
VFloat PedsFullNoiseAnalysis::noiseMin_
private
VVFloat PedsFullNoiseAnalysis::noiseSignificance_
private
VFloat PedsFullNoiseAnalysis::noiseSpread_
private
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().

VFloat PedsFullNoiseAnalysis::pedsMax_
private
VFloat PedsFullNoiseAnalysis::pedsMean_
private
VFloat PedsFullNoiseAnalysis::pedsMin_
private
VFloat PedsFullNoiseAnalysis::pedsSpread_
private
VVFloat PedsFullNoiseAnalysis::raw_
private
VFloat PedsFullNoiseAnalysis::rawMax_
private
VFloat PedsFullNoiseAnalysis::rawMean_
private
VFloat PedsFullNoiseAnalysis::rawMin_
private
VFloat PedsFullNoiseAnalysis::rawSpread_
private
VVFloat PedsFullNoiseAnalysis::residualIntegral_
private
VVFloat PedsFullNoiseAnalysis::residualIntegralNsigma_
private
VVFloat PedsFullNoiseAnalysis::residualKurtosis_
private
VVFloat PedsFullNoiseAnalysis::residualMean_
private
VVFloat PedsFullNoiseAnalysis::residualRMS_
private
VVFloat PedsFullNoiseAnalysis::residualSigmaGaus_
private
VVFloat PedsFullNoiseAnalysis::residualSkewness_
private
VVInt PedsFullNoiseAnalysis::shiftedStrip_
private