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 (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< float > VFloat
 
typedef std::vector< uint16_t > VInt
 
typedef std::vector< std::string > VString
 
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 14 of file PedsFullNoiseAnalysis.cc.

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

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

Definition at line 91 of file PedsFullNoiseAnalysis.cc.

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

92  : CommissioningAnalysis("PedsFullNoiseAnalysis"),
135  legacy_(false)
136 {
137  // for flag bits one reserve at max 128 positions since will be filled with strip id only if the strip is bad
138  for(auto iapv : deadStrip_)
139  iapv.reserve(128);
140  for(auto iapv : badStrip_)
141  iapv.reserve(128);
142  for(auto iapv : shiftedStrip_)
143  iapv.reserve(128);
144  for(auto iapv : lowNoiseStrip_)
145  iapv.reserve(128);
146  for(auto iapv : largeNoiseStrip_)
147  iapv.reserve(128);
148  for(auto iapv : largeNoiseSignificance_)
149  iapv.reserve(128);
150  for(auto iapv : badFitStatus_)
151  iapv.reserve(128);
152  for(auto iapv : badADProbab_)
153  iapv.reserve(128);
154  for(auto iapv : badKSProbab_)
155  iapv.reserve(128);
156  for(auto iapv : badJBProbab_)
157  iapv.reserve(128);
158  for(auto iapv : badChi2Probab_)
159  iapv.reserve(128);
160  for(auto iapv : badTailStrip_)
161  iapv.reserve(128);
162  for(auto iapv : badDoublePeakStrip_)
163  iapv.reserve(128);
164 }
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 26 of file PedsFullNoiseAnalysis.h.

26 {;}

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 179 of file PedsFullNoiseAnalysis.h.

References deadStrip_.

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

179 { 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 248 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().

248  {
249  return ( pedsMean_[0] < sistrip::maximum_ &&
269  rawMax_[0] < sistrip::maximum_ &&
270  rawMax_[1] < sistrip::maximum_ &&
271  rawMin_[0] < sistrip::maximum_ &&
272  rawMin_[1] < sistrip::maximum_ &&
273  getErrorCodes().empty() );
274 }
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 161 of file PedsFullNoiseAnalysis.h.

References peds_.

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

161 { 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 352 of file PedsFullNoiseAnalysis.cc.

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_, and findQualityFiles::size.

352  {
353 
354  if ( iapv == 1 || iapv == 2 ) { iapv--; }
355  else { iapv = 0; }
356 
357  if ( peds_[iapv].size() < 128 ||
358  noise_[iapv].size() < 128 ||
359  raw_[iapv].size() < 128 ) {
360 
362  << "[" << myName() << "::" << __func__ << "]"
363  << " Unexpected number of pedestal/noise values: "
364  << peds_[iapv].size() << ", "
365  << noise_[iapv].size() << ", "
366  << raw_[iapv].size();
367  return;
368  }
369 
370  header( ss );
371  ss << " Monitorables for APV number : " << iapv;
372  if ( iapv == 0 ) { ss << " (first of pair)"; }
373  else if ( iapv == 1 ) { ss << " (second of pair)"; }
374  ss << std::endl;
375  ss << std::fixed << std::setprecision(2);
376  ss << " Example peds/noise for strips : "
377  << " 0, 31, 63, 127" << std::endl
378  << " Peds [ADC] : "
379  << std::setw(6) << peds_[iapv][0] << ", "
380  << std::setw(6) << peds_[iapv][31] << ", "
381  << std::setw(6) << peds_[iapv][63] << ", "
382  << std::setw(6) << peds_[iapv][127] << std::endl
383  << " Noise [ADC] : "
384  << std::setw(6) << noise_[iapv][0] << ", "
385  << std::setw(6) << noise_[iapv][31] << ", "
386  << std::setw(6) << noise_[iapv][63] << ", "
387  << std::setw(6) << noise_[iapv][127] << std::endl
388  << " Raw noise [ADC] : "
389  << std::setw(6) << raw_[iapv][0] << ", "
390  << std::setw(6) << raw_[iapv][31] << ", "
391  << std::setw(6) << raw_[iapv][63] << ", "
392  << std::setw(6) << raw_[iapv][127] << std::endl
393  << " Dead strips (<5s) [strip] : (" << deadStrip_[iapv].size() << " in total) ";
394 
395  for ( uint16_t ii = 0; ii < deadStrip_[iapv].size(); ii++ ) {
396  ss << deadStrip_[iapv][ii] << " "; }
397 
398  ss << std::endl;
399  ss << " Bad strips (>5s) [strip] : (" << badStrip_[iapv].size() << " in total) ";
400  for ( uint16_t ii = 0; ii < badStrip_[iapv].size(); ii++ ) {
401  ss << badStrip_[iapv][ii] << " ";
402  }
403  ss << std::endl;
404  ss << " Mean peds +/- spread [ADC] : " << pedsMean_[iapv] << " +/- " << pedsSpread_[iapv] << std::endl
405  << " Min/Max pedestal [ADC] : " << pedsMin_[iapv] << " <-> " << pedsMax_[iapv] << std::endl
406  << " Mean noise +/- spread [ADC] : " << noiseMean_[iapv] << " +/- " << noiseSpread_[iapv] << std::endl
407  << " Min/Max noise [ADC] : " << noiseMin_[iapv] << " <-> " << noiseMax_[iapv] << std::endl
408  << " Mean raw noise +/- spread [ADC] : " << rawMean_[iapv] << " +/- " << rawSpread_[iapv] << std::endl
409  << " Min/Max raw noise [ADC] : " << rawMin_[iapv] << " <-> " << rawMax_[iapv] << std::endl
410  << " Normalised noise : " << "(yet to be implemented...)" << std::endl
411  << std::boolalpha
412  << " isValid : " << isValid() << std::endl
413  << std::noboolalpha
414  << " Error codes (found "
415  << std::setw(2) << std::setfill(' ') << getErrorCodes().size()
416  << ") : ";
417  if ( getErrorCodes().empty() ) { ss << "(none)"; }
418  else {
419  VString::const_iterator istr = getErrorCodes().begin();
420  VString::const_iterator jstr = getErrorCodes().end();
421  for ( ; istr != jstr; ++istr ) { ss << *istr << " "; }
422  }
423  ss << std::endl;
424 }
size
Write out results.
VVFloat peds_
Quantitles that are always filled for every strip.
VVInt deadStrip_
Quantities filled only for bad strips i.e. vectors of strip-id.
static const char mlCommissioning_[]
ii
Definition: cuy.py:589
virtual void header(std::stringstream &) const
const VString & getErrorCodes() const
const std::string & myName() const
bool isValid() const override
const PedsFullNoiseAnalysis::VVFloat & PedsFullNoiseAnalysis::raw ( ) const
inline

Definition at line 163 of file PedsFullNoiseAnalysis.h.

References raw_.

163 { 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 168 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().

168  {
169 
185 
201 
202  // for flag bits one reserve at max 128 positions since will be filled with strip id only if the strip is bad
203  for(auto iapv : deadStrip_)
204  iapv.reserve(128);
205  for(auto iapv : badStrip_)
206  iapv.reserve(128);
207  for(auto iapv : shiftedStrip_)
208  iapv.reserve(128);
209  for(auto iapv : lowNoiseStrip_)
210  iapv.reserve(128);
211  for(auto iapv : largeNoiseStrip_)
212  iapv.reserve(128);
213  for(auto iapv : largeNoiseSignificance_)
214  iapv.reserve(128);
215  for(auto iapv : badFitStatus_)
216  iapv.reserve(128);
217  for(auto iapv : badADProbab_)
218  iapv.reserve(128);
219  for(auto iapv : badKSProbab_)
220  iapv.reserve(128);
221  for(auto iapv : badJBProbab_)
222  iapv.reserve(128);
223  for(auto iapv : badChi2Probab_)
224  iapv.reserve(128);
225  for(auto iapv : badTailStrip_)
226  iapv.reserve(128);
227  for(auto iapv : badDoublePeakStrip_)
228  iapv.reserve(128);
229 
242 
243  legacy_ = false;
244 }
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 173 of file PedsFullNoiseAnalysis.h.

References residualMean_.

Referenced by PedsFullNoiseSummaryFactory::extract().

173 { 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 278 of file PedsFullNoiseAnalysis.cc.

References sistrip::APV, SiStripFecKey::ccuAddr(), SiStripFecKey::ccuChan(), sistrip::extrainfo::commonMode_, sistrip::controlView_, sistrip::dir_, sistrip::dqmRoot_, sistrip::EXPERT_HISTO, funct::false, 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(), callgraph::path, sistrip::extrainfo::pedestals_, sistrip::extrainfo::pedsAndCmSubNoise_, sistrip::extrainfo::pedsAndRawNoise_, sistrip::extrainfo::rawNoise_, SiStripEnumsAndStrings::runType(), AlCaHLTBitMon_QueryRunRegistry::string, fftjetcommon_cfi::title, and funct::true.

278  {
279 
280  SiStripFecKey fec_key( fecKey() );
281  SiStripFedKey fed_key( fedKey() );
282 
284 
285  std::stringstream extra1,extra2,extra3;
286  if ( legacy_ ) {
290  } else {
294  }
295 
297  type,
299  fed_key.key(),
301  fec_key.lldChan(),
302  extra1.str() ).title();
304  type,
306  fed_key.key(),
308  fec_key.lldChan(),
309  extra2.str() ).title();
311  type,
313  fed_key.key(),
314  sistrip::APV,
315  SiStripFecKey::i2cAddr( fec_key.lldChan(), true ),
316  extra3.str() ).title();
318  type,
320  fed_key.key(),
321  sistrip::APV,
322  SiStripFecKey::i2cAddr( fec_key.lldChan(), false ),
323  extra3.str() ).title();
324 
325 
326  ss << " Summary"
327  << ":"
328  << ( isValid() ? "Valid" : "Invalid" )
329  << ":"
330  << sistrip::controlView_ << ":"
331  << fec_key.fecCrate() << "/"
332  << fec_key.fecSlot() << "/"
333  << fec_key.fecRing() << "/"
334  << fec_key.ccuAddr() << "/"
335  << fec_key.ccuChan()
336  << ":"
338  << "Collate" << sistrip::dir_
339  << SiStripFecKey( fec_key.fecCrate(),
340  fec_key.fecSlot(),
341  fec_key.fecRing(),
342  fec_key.ccuAddr(),
343  fec_key.ccuChan() ).path()
344  << ":"
345  << title1 << ";" << title2 << ";" << title3 << ";" << title4
346  << std::endl;
347 
348 }
type
Definition: HCALResponse.h:21
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
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
bool isValid() const override

Friends And Related Function Documentation

friend class PedestalsAlgorithm
friend

Definition at line 28 of file PedsFullNoiseAnalysis.h.

friend class PedsFullNoiseAlgorithm
friend

Definition at line 29 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 127 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 156 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 107 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