CMS 3D CMS Logo

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

Analysis for scope mode data. More...

#include <DaqScopeModeAnalysis.h>

Inheritance diagram for DaqScopeModeAnalysis:
CommissioningAnalysis

Public Member Functions

void addErrorCode (const std::string &error) override
 
const float & base () const
 
 DaqScopeModeAnalysis ()
 
 DaqScopeModeAnalysis (const uint32_t &key)
 
const VVIntdead () const
 
bool foundTickMark () const
 
uint16_t frameFindingThreshold () const
 
const float & height () const
 
bool isValid () const override
 
const VVFloatnoise () const
 
const VFloatnoiseMax () const
 
const VFloatnoiseMean () const
 
const VFloatnoiseMin () const
 
const VFloatnoiseSpread () const
 
const VVIntnoisy () const
 
const float & peak () const
 
const VVFloatpeds () const
 
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
 
void summary (std::stringstream &) const override
 
 ~DaqScopeModeAnalysis () override
 
- Public Member Functions inherited from CommissioningAnalysis
 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 ()
 

Static Public Attributes

static const float frameFindingThreshold_ = (2. / 3.)
 
static const float tickMarkHeightThreshold_ = 50.
 

Private Attributes

float base_
 
VVInt dead_
 
float height_
 
bool legacy_
 
VVFloat noise_
 
VFloat noiseMax_
 
VFloat noiseMean_
 
VFloat noiseMin_
 
VFloat noiseSpread_
 
VVInt noisy_
 
float peak_
 
VVFloat peds_
 
VFloat pedsMax_
 
VFloat pedsMean_
 
VFloat pedsMin_
 
VFloat pedsSpread_
 
VVFloat raw_
 
VFloat rawMax_
 
VFloat rawMean_
 
VFloat rawMin_
 
VFloat rawSpread_
 

Friends

class DaqScopeModeAlgorithm
 

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

Analysis for scope mode data.

Author
R.Bainbridge

Definition at line 16 of file DaqScopeModeAnalysis.h.

Constructor & Destructor Documentation

◆ DaqScopeModeAnalysis() [1/2]

DaqScopeModeAnalysis::DaqScopeModeAnalysis ( const uint32_t &  key)

Definition at line 16 of file DaqScopeModeAnalysis.cc.

17  : CommissioningAnalysis(key, "DaqScopeModeAnalysis"),
21  peds_(2, VFloat(128, sistrip::invalid_)),
23  raw_(2, VFloat(128, sistrip::invalid_)),
38  dead_[0].reserve(256);
39  dead_[1].reserve(256);
40  noisy_[0].reserve(256);
41  noisy_[1].reserve(256);
42 }

References dead_, and noisy_.

◆ DaqScopeModeAnalysis() [2/2]

DaqScopeModeAnalysis::DaqScopeModeAnalysis ( )

Definition at line 46 of file DaqScopeModeAnalysis.cc.

47  : CommissioningAnalysis("DaqScopeModeAnalysis"),
51  peds_(2, VFloat(128, sistrip::invalid_)),
53  raw_(2, VFloat(128, sistrip::invalid_)),
68  dead_[0].reserve(256);
69  dead_[1].reserve(256);
70  noisy_[0].reserve(256);
71  noisy_[1].reserve(256);
72 }

References dead_, and noisy_.

◆ ~DaqScopeModeAnalysis()

DaqScopeModeAnalysis::~DaqScopeModeAnalysis ( )
inlineoverride

Definition at line 22 of file DaqScopeModeAnalysis.h.

22 { ; }

Member Function Documentation

◆ addErrorCode()

void DaqScopeModeAnalysis::addErrorCode ( const std::string &  error)
inlineoverridevirtual

Adds error codes for analysis (overrides private base).

Reimplemented from CommissioningAnalysis.

Definition at line 157 of file DaqScopeModeAnalysis.h.

References CommissioningAnalysis::addErrorCode(), and relativeConstraints::error.

◆ base()

const float & DaqScopeModeAnalysis::base ( ) const
inline

Baseline level of tick mark [ADC].

Definition at line 155 of file DaqScopeModeAnalysis.h.

155 { return base_; }

References base_.

◆ dead()

const DaqScopeModeAnalysis::VVInt & DaqScopeModeAnalysis::dead ( ) const
inline

Definition at line 137 of file DaqScopeModeAnalysis.h.

137 { return dead_; }

References dead_.

◆ foundTickMark()

bool DaqScopeModeAnalysis::foundTickMark ( ) const

Identifies if tick mark is found or not.

Definition at line 117 of file DaqScopeModeAnalysis.cc.

117  {
118  return ((getErrorCodes().empty() || getErrorCodes()[0] == "TickMarkRecovered") && base_ < sistrip::valid_ &&
120 }

References base_, relativeConstraints::empty, frameFindingThreshold(), CommissioningAnalysis::getErrorCodes(), height_, peak_, and sistrip::valid_.

Referenced by print().

◆ frameFindingThreshold()

uint16_t DaqScopeModeAnalysis::frameFindingThreshold ( ) const

FED frame-finding threshold [ADC] (returns 65535 if invalid).

Definition at line 106 of file DaqScopeModeAnalysis.cc.

106  {
107  if ((getErrorCodes().empty() || getErrorCodes()[0] == "TickMarkRecovered") && base_ < sistrip::valid_ &&
108  peak_ < sistrip::valid_ && height_ < sistrip::valid_ && height_ > tickMarkHeightThreshold_) {
109  return ((static_cast<uint16_t>(base_ + height_ * DaqScopeModeAnalysis::frameFindingThreshold_) / 32) * 32);
110  } else {
111  return sistrip::invalid_;
112  }
113 }

References base_, relativeConstraints::empty, frameFindingThreshold_, CommissioningAnalysis::getErrorCodes(), height_, sistrip::invalid_, peak_, tickMarkHeightThreshold_, and sistrip::valid_.

Referenced by foundTickMark(), isValid(), and print().

◆ height()

const float & DaqScopeModeAnalysis::height ( ) const
inline

Height of tick mark [ADC].

Definition at line 154 of file DaqScopeModeAnalysis.h.

154 { return height_; }

References height_.

◆ isValid()

bool DaqScopeModeAnalysis::isValid ( void  ) const
overridevirtual

Identifies if analysis is valid or not.

Reimplemented from CommissioningAnalysis.

Definition at line 124 of file DaqScopeModeAnalysis.cc.

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

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

◆ noise()

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

Definition at line 134 of file DaqScopeModeAnalysis.h.

134 { return noise_; }

References noise_.

◆ noiseMax()

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

Definition at line 149 of file DaqScopeModeAnalysis.h.

149 { return noiseMax_; }

References noiseMax_.

◆ noiseMean()

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

Definition at line 142 of file DaqScopeModeAnalysis.h.

142 { return noiseMean_; }

References noiseMean_.

◆ noiseMin()

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

Definition at line 150 of file DaqScopeModeAnalysis.h.

150 { return noiseMin_; }

References noiseMin_.

◆ noiseSpread()

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

Definition at line 143 of file DaqScopeModeAnalysis.h.

143 { return noiseSpread_; }

References noiseSpread_.

◆ noisy()

const DaqScopeModeAnalysis::VVInt & DaqScopeModeAnalysis::noisy ( ) const
inline

Definition at line 138 of file DaqScopeModeAnalysis.h.

138 { return noisy_; }

References noisy_.

◆ peak()

const float & DaqScopeModeAnalysis::peak ( ) const
inline

Level of tick mark top [ADC].

Definition at line 156 of file DaqScopeModeAnalysis.h.

156 { return peak_; }

References peak_.

◆ peds()

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

Definition at line 133 of file DaqScopeModeAnalysis.h.

133 { return peds_; }

References peds_.

◆ pedsMax()

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

Definition at line 147 of file DaqScopeModeAnalysis.h.

147 { return pedsMax_; }

References pedsMax_.

◆ pedsMean()

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

Definition at line 140 of file DaqScopeModeAnalysis.h.

140 { return pedsMean_; }

References pedsMean_.

◆ pedsMin()

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

Definition at line 148 of file DaqScopeModeAnalysis.h.

148 { return pedsMin_; }

References pedsMin_.

◆ pedsSpread()

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

Definition at line 141 of file DaqScopeModeAnalysis.h.

141 { return pedsSpread_; }

References pedsSpread_.

◆ print()

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

Prints analysis results.

Implements CommissioningAnalysis.

Definition at line 140 of file DaqScopeModeAnalysis.cc.

140  {
141  if (iapv == 1 || iapv == 2) {
142  iapv--;
143  } else {
144  iapv = 0;
145  }
146 
147  header(ss);
148  ss << std::fixed << std::setprecision(2) << " Tick mark bottom (baseline) [ADC] : " << base_ << std::endl
149  << " Tick mark top [ADC] : " << peak_ << std::endl
150  << " Tick mark height [ADC] : " << height_ << std::endl
151  << " Frame finding threshold [ADC] : " << frameFindingThreshold() << std::endl
152  << std::boolalpha << " Tick mark found : " << foundTickMark() << std::endl
153  << " isValid : " << isValid() << std::endl;
154 
155  if (peds_[iapv].size() < 128 || noise_[iapv].size() < 128 || raw_[iapv].size() < 128) {
156  edm::LogWarning(mlCommissioning_) << "[" << myName() << "::" << __func__ << "]"
157  << " Unexpected number of pedestal/noise values: " << peds_[iapv].size() << ", "
158  << noise_[iapv].size() << ", " << raw_[iapv].size();
159  return;
160  }
161 
162  ss << " Monitorables for APV number : " << iapv;
163  if (iapv == 0) {
164  ss << " (first of pair)";
165  } else if (iapv == 1) {
166  ss << " (second of pair)";
167  }
168  ss << std::endl;
169  ss << std::fixed << std::setprecision(2);
170  ss << " Example peds/noise for strips : "
171  << " 0, 31, 63, 127" << std::endl
172  << " Peds [ADC] : " << std::setw(6) << peds_[iapv][0] << ", " << std::setw(6)
173  << peds_[iapv][31] << ", " << std::setw(6) << peds_[iapv][63] << ", " << std::setw(6) << peds_[iapv][127]
174  << std::endl
175  << " Noise [ADC] : " << std::setw(6) << noise_[iapv][0] << ", " << std::setw(6)
176  << noise_[iapv][31] << ", " << std::setw(6) << noise_[iapv][63] << ", " << std::setw(6) << noise_[iapv][127]
177  << std::endl
178  << " Raw noise [ADC] : " << std::setw(6) << raw_[iapv][0] << ", " << std::setw(6) << raw_[iapv][31]
179  << ", " << std::setw(6) << raw_[iapv][63] << ", " << std::setw(6) << raw_[iapv][127] << std::endl
180  << " Dead strips (<5s) [strip] : (" << dead_[iapv].size() << " in total) ";
181  for (uint16_t ii = 0; ii < dead_[iapv].size(); ii++) {
182  ss << dead_[iapv][ii] << " ";
183  }
184 
185  ss << std::endl;
186  ss << " Noisy strips (>5s) [strip] : (" << noisy_[iapv].size() << " in total) ";
187  for (uint16_t ii = 0; ii < noisy_[iapv].size(); ii++) {
188  ss << noisy_[iapv][ii] << " ";
189  }
190  ss << std::endl;
191  ss << " Mean peds +/- spread [ADC] : " << pedsMean_[iapv] << " +/- " << pedsSpread_[iapv] << std::endl
192  << " Min/Max pedestal [ADC] : " << pedsMin_[iapv] << " <-> " << pedsMax_[iapv] << std::endl
193  << " Mean noise +/- spread [ADC] : " << noiseMean_[iapv] << " +/- " << noiseSpread_[iapv] << std::endl
194  << " Min/Max noise [ADC] : " << noiseMin_[iapv] << " <-> " << noiseMax_[iapv] << std::endl
195  << " Mean raw noise +/- spread [ADC] : " << rawMean_[iapv] << " +/- " << rawSpread_[iapv] << std::endl
196  << " Min/Max raw noise [ADC] : " << rawMin_[iapv] << " <-> " << rawMax_[iapv] << std::endl
197  << " Normalised noise : "
198  << "(yet to be implemented...)" << std::endl
199  << std::boolalpha << " isValid : " << isValid() << std::endl
200  << std::noboolalpha << " Error codes (found " << std::setw(2) << std::setfill(' ') << getErrorCodes().size()
201  << ") : ";
202  if (getErrorCodes().empty()) {
203  ss << "(none)";
204  } else {
205  VString::const_iterator istr = getErrorCodes().begin();
206  VString::const_iterator jstr = getErrorCodes().end();
207  for (; istr != jstr; ++istr) {
208  ss << *istr << " ";
209  }
210  }
211  ss << std::endl;
212 }

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

◆ raw()

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

Definition at line 135 of file DaqScopeModeAnalysis.h.

135 { return raw_; }

References raw_.

◆ rawMax()

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

Definition at line 151 of file DaqScopeModeAnalysis.h.

151 { return rawMax_; }

References rawMax_.

◆ rawMean()

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

Definition at line 144 of file DaqScopeModeAnalysis.h.

144 { return rawMean_; }

References rawMean_.

◆ rawMin()

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

Definition at line 152 of file DaqScopeModeAnalysis.h.

152 { return rawMin_; }

References rawMin_.

◆ rawSpread()

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

Definition at line 145 of file DaqScopeModeAnalysis.h.

145 { return rawSpread_; }

References rawSpread_.

◆ reset()

void DaqScopeModeAnalysis::reset ( void  )
overridevirtual

Resets analysis member data.

Implements CommissioningAnalysis.

Definition at line 76 of file DaqScopeModeAnalysis.cc.

76  {
78  base_ = 1. * sistrip::invalid_;
79  peak_ = 1. * sistrip::invalid_;
80 
98  dead_[0].reserve(256);
99  dead_[1].reserve(256);
100  noisy_[0].reserve(256);
101  noisy_[1].reserve(256);
102 }

References base_, dead_, height_, sistrip::invalid_, noise_, noiseMax_, noiseMean_, noiseMin_, noiseSpread_, noisy_, peak_, peds_, pedsMax_, pedsMean_, pedsMin_, pedsSpread_, raw_, rawMax_, rawMean_, rawMin_, and rawSpread_.

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

◆ summary()

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

Overrides base method.

Reimplemented from CommissioningAnalysis.

Definition at line 216 of file DaqScopeModeAnalysis.cc.

216  {
217  SiStripFecKey fec_key(fecKey());
218  SiStripFedKey fed_key(fedKey());
219 
221 
222  std::stringstream extra1, extra2, extra3, extra4, extra5, extra6;
229 
231  type,
233  fed_key.key(),
235  fec_key.lldChan(),
236  extra1.str())
237  .title();
239  type,
241  fed_key.key(),
243  fec_key.lldChan(),
244  extra2.str())
245  .title();
247  type,
249  fed_key.key(),
250  sistrip::APV,
251  SiStripFecKey::i2cAddr(fec_key.lldChan(), true),
252  extra3.str())
253  .title();
255  type,
257  fed_key.key(),
258  sistrip::APV,
259  SiStripFecKey::i2cAddr(fec_key.lldChan(), false),
260  extra3.str())
261  .title();
262 
264  type,
266  fed_key.key(),
268  SiStripFecKey::i2cAddr(fec_key.lldChan()),
269  extra4.str())
270  .title();
271 
273  type,
275  fed_key.key(),
277  SiStripFecKey::i2cAddr(fec_key.lldChan()),
278  extra5.str())
279  .title();
280 
282  type,
284  fed_key.key(),
286  SiStripFecKey::i2cAddr(fec_key.lldChan()),
287  extra6.str())
288  .title();
289 
290  ss << " Summary"
291  << ":" << (isValid() ? "Valid" : "Invalid") << ":" << sistrip::controlView_ << ":" << fec_key.fecCrate() << "/"
292  << fec_key.fecSlot() << "/" << fec_key.fecRing() << "/" << fec_key.ccuAddr() << "/" << fec_key.ccuChan() << ":"
293  << sistrip::dqmRoot_ << sistrip::dir_ << "Collate" << sistrip::dir_
294  << SiStripFecKey(fec_key.fecCrate(), fec_key.fecSlot(), fec_key.fecRing(), fec_key.ccuAddr(), fec_key.ccuChan())
295  .path()
296  << ":" << title1 << ";" << title2 << ";" << title3 << ";" << title4 << ";" << title5 << ";" << title6 << ";"
297  << title7 << std::endl;
298 }

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(), sistrip::LLD_CHAN, SiStripFecKey::lldChan(), CommissioningAnalysis::myName(), castor_dqm_sourceclient_file_cfg::path, sistrip::extrainfo::pedestals_, sistrip::extrainfo::rawNoise_, SiStripEnumsAndStrings::runType(), sistrip::extrainfo::scopeModeFrame_, sistrip::extrainfo::scopeModeHeaderHigh_, sistrip::extrainfo::scopeModeHeaderLow_, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and overlapproblemtsosanalyzer_cfi::title.

Friends And Related Function Documentation

◆ DaqScopeModeAlgorithm

friend class DaqScopeModeAlgorithm
friend

Definition at line 24 of file DaqScopeModeAnalysis.h.

Member Data Documentation

◆ base_

float DaqScopeModeAnalysis::base_
private

Baseline level of tick mark [ADC].

Definition at line 87 of file DaqScopeModeAnalysis.h.

Referenced by base(), foundTickMark(), frameFindingThreshold(), isValid(), print(), and reset().

◆ dead_

VVInt DaqScopeModeAnalysis::dead_
private

Dead strips.

Definition at line 99 of file DaqScopeModeAnalysis.h.

Referenced by DaqScopeModeAnalysis(), dead(), print(), and reset().

◆ frameFindingThreshold_

const float DaqScopeModeAnalysis::frameFindingThreshold_ = (2. / 3.)
static

Threshold for FED frame finding (fraction of tick height).

Definition at line 81 of file DaqScopeModeAnalysis.h.

Referenced by frameFindingThreshold().

◆ height_

float DaqScopeModeAnalysis::height_
private

Height of tick mark [ADC].

Definition at line 85 of file DaqScopeModeAnalysis.h.

Referenced by foundTickMark(), frameFindingThreshold(), height(), isValid(), print(), and reset().

◆ legacy_

bool DaqScopeModeAnalysis::legacy_
private

Definition at line 130 of file DaqScopeModeAnalysis.h.

◆ noise_

VVFloat DaqScopeModeAnalysis::noise_
private

Noise values.

Definition at line 94 of file DaqScopeModeAnalysis.h.

Referenced by noise(), print(), and reset().

◆ noiseMax_

VFloat DaqScopeModeAnalysis::noiseMax_
private

Max noise value.

Definition at line 122 of file DaqScopeModeAnalysis.h.

Referenced by isValid(), noiseMax(), print(), and reset().

◆ noiseMean_

VFloat DaqScopeModeAnalysis::noiseMean_
private

Mean noise value.

Definition at line 108 of file DaqScopeModeAnalysis.h.

Referenced by isValid(), noiseMean(), print(), and reset().

◆ noiseMin_

VFloat DaqScopeModeAnalysis::noiseMin_
private

Min noise value.

Definition at line 124 of file DaqScopeModeAnalysis.h.

Referenced by isValid(), noiseMin(), print(), and reset().

◆ noiseSpread_

VFloat DaqScopeModeAnalysis::noiseSpread_
private

Rms spread in noise.

Definition at line 110 of file DaqScopeModeAnalysis.h.

Referenced by isValid(), noiseSpread(), print(), and reset().

◆ noisy_

VVInt DaqScopeModeAnalysis::noisy_
private

Noisy strips.

Definition at line 101 of file DaqScopeModeAnalysis.h.

Referenced by DaqScopeModeAnalysis(), noisy(), print(), and reset().

◆ peak_

float DaqScopeModeAnalysis::peak_
private

Level of tick mark top [ADC].

Definition at line 89 of file DaqScopeModeAnalysis.h.

Referenced by foundTickMark(), frameFindingThreshold(), isValid(), peak(), print(), and reset().

◆ peds_

VVFloat DaqScopeModeAnalysis::peds_
private

Peds values.

Definition at line 92 of file DaqScopeModeAnalysis.h.

Referenced by peds(), print(), and reset().

◆ pedsMax_

VFloat DaqScopeModeAnalysis::pedsMax_
private

Max peds value.

Definition at line 117 of file DaqScopeModeAnalysis.h.

Referenced by isValid(), pedsMax(), print(), and reset().

◆ pedsMean_

VFloat DaqScopeModeAnalysis::pedsMean_
private

Mean peds value.

Definition at line 104 of file DaqScopeModeAnalysis.h.

Referenced by isValid(), pedsMean(), print(), and reset().

◆ pedsMin_

VFloat DaqScopeModeAnalysis::pedsMin_
private

Min peds value.

Definition at line 119 of file DaqScopeModeAnalysis.h.

Referenced by isValid(), pedsMin(), print(), and reset().

◆ pedsSpread_

VFloat DaqScopeModeAnalysis::pedsSpread_
private

Rms spread in peds.

Definition at line 106 of file DaqScopeModeAnalysis.h.

Referenced by isValid(), pedsSpread(), print(), and reset().

◆ raw_

VVFloat DaqScopeModeAnalysis::raw_
private

Raw noise values.

Definition at line 96 of file DaqScopeModeAnalysis.h.

Referenced by print(), raw(), and reset().

◆ rawMax_

VFloat DaqScopeModeAnalysis::rawMax_
private

Max raw noise value.

Definition at line 126 of file DaqScopeModeAnalysis.h.

Referenced by isValid(), print(), rawMax(), and reset().

◆ rawMean_

VFloat DaqScopeModeAnalysis::rawMean_
private

Mean raw noise value.

Definition at line 112 of file DaqScopeModeAnalysis.h.

Referenced by isValid(), print(), rawMean(), and reset().

◆ rawMin_

VFloat DaqScopeModeAnalysis::rawMin_
private

Min raw noise value.

Definition at line 128 of file DaqScopeModeAnalysis.h.

Referenced by isValid(), print(), rawMin(), and reset().

◆ rawSpread_

VFloat DaqScopeModeAnalysis::rawSpread_
private

Rms spread in raw noise.

Definition at line 114 of file DaqScopeModeAnalysis.h.

Referenced by isValid(), print(), rawSpread(), and reset().

◆ tickMarkHeightThreshold_

const float DaqScopeModeAnalysis::tickMarkHeightThreshold_ = 50.
static

Threshold defining minimum tick mark height [ADC].

Definition at line 78 of file DaqScopeModeAnalysis.h.

Referenced by DaqScopeModeAlgorithm::analyse(), DaqScopeModeHistosUsingDb::create(), and frameFindingThreshold().

CommissioningAnalysis::getErrorCodes
const VString & getErrorCodes() const
Definition: CommissioningAnalysis.h:131
SiStripEnumsAndStrings::runType
static std::string runType(const sistrip::RunType &)
Definition: SiStripEnumsAndStrings.cc:39
DaqScopeModeAnalysis::noiseMin_
VFloat noiseMin_
Definition: DaqScopeModeAnalysis.h:124
sistrip::extrainfo::commonMode_
static const char commonMode_[]
Definition: ConstantsForDqm.h:48
alignBH_cfg.fixed
fixed
Definition: alignBH_cfg.py:54
DaqScopeModeAnalysis::raw_
VVFloat raw_
Definition: DaqScopeModeAnalysis.h:96
sistrip::extrainfo::scopeModeHeaderHigh_
static const char scopeModeHeaderHigh_[]
Definition: ConstantsForDqm.h:65
DaqScopeModeAnalysis::noise_
VVFloat noise_
Definition: DaqScopeModeAnalysis.h:94
DaqScopeModeAnalysis::isValid
bool isValid() const override
Definition: DaqScopeModeAnalysis.cc:124
CommissioningAnalysis::fedKey
const uint32_t & fedKey() const
Definition: CommissioningAnalysis.h:134
sistrip::dir_
static const char dir_[]
Definition: ConstantsForDqm.h:17
DaqScopeModeAnalysis::noisy_
VVInt noisy_
Definition: DaqScopeModeAnalysis.h:101
DaqScopeModeAnalysis::rawSpread_
VFloat rawSpread_
Definition: DaqScopeModeAnalysis.h:114
CommissioningAnalysis::VVInt
std::vector< VInt > VVInt
Definition: CommissioningAnalysis.h:36
CommissioningAnalysis::addErrorCode
virtual void addErrorCode(const std::string &error)
Definition: CommissioningAnalysis.h:148
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
relativeConstraints.error
error
Definition: relativeConstraints.py:53
CommissioningAnalysis::VFloat
std::vector< float > VFloat
Definition: CommissioningAnalysis.h:30
DaqScopeModeAnalysis::pedsSpread_
VFloat pedsSpread_
Definition: DaqScopeModeAnalysis.h:106
sistrip::valid_
static const uint16_t valid_
Definition: Constants.h:17
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
DaqScopeModeAnalysis::pedsMean_
VFloat pedsMean_
Definition: DaqScopeModeAnalysis.h:104
sistrip::mlCommissioning_
static const char mlCommissioning_[]
Definition: ConstantsForLogger.h:15
CommissioningAnalysis::header
virtual void header(std::stringstream &) const
Definition: CommissioningAnalysis.cc:33
DaqScopeModeAnalysis::noiseMean_
VFloat noiseMean_
Definition: DaqScopeModeAnalysis.h:108
sistrip::EXPERT_HISTO
Definition: ConstantsForHistoType.h:29
DaqScopeModeAnalysis::base_
float base_
Definition: DaqScopeModeAnalysis.h:87
sistrip::extrainfo::pedestals_
static const char pedestals_[]
Definition: ConstantsForDqm.h:45
DaqScopeModeAnalysis::rawMin_
VFloat rawMin_
Definition: DaqScopeModeAnalysis.h:128
SiStripFecKey
Utility class that identifies a position within the strip tracker control structure,...
Definition: SiStripFecKey.h:45
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DaqScopeModeAnalysis::pedsMin_
VFloat pedsMin_
Definition: DaqScopeModeAnalysis.h:119
edm::LogWarning
Definition: MessageLogger.h:141
CommissioningAnalysis::CommissioningAnalysis
CommissioningAnalysis()
Definition: CommissioningAnalysis.h:105
sistrip::extrainfo::scopeModeFrame_
static const char scopeModeFrame_[]
Definition: ConstantsForDqm.h:63
sistrip::maximum_
static const uint16_t maximum_
Definition: Constants.h:20
sistrip::controlView_
static const char controlView_[]
Definition: ConstantsForView.h:21
DaqScopeModeAnalysis::noiseSpread_
VFloat noiseSpread_
Definition: DaqScopeModeAnalysis.h:110
sistrip::APV
Definition: ConstantsForGranularity.h:79
DaqScopeModeAnalysis::rawMax_
VFloat rawMax_
Definition: DaqScopeModeAnalysis.h:126
DaqScopeModeAnalysis::noiseMax_
VFloat noiseMax_
Definition: DaqScopeModeAnalysis.h:122
DaqScopeModeAnalysis::peds_
VVFloat peds_
Definition: DaqScopeModeAnalysis.h:92
sistrip::invalid_
static const uint16_t invalid_
Definition: Constants.h:16
DaqScopeModeAnalysis::tickMarkHeightThreshold_
static const float tickMarkHeightThreshold_
Definition: DaqScopeModeAnalysis.h:78
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
DaqScopeModeAnalysis::dead_
VVInt dead_
Definition: DaqScopeModeAnalysis.h:99
type
type
Definition: HCALResponse.h:21
SiStripFecKey::i2cAddr
const uint16_t & i2cAddr() const
Definition: SiStripFecKey.h:204
CommissioningAnalysis::fecKey
const uint32_t & fecKey() const
Definition: CommissioningAnalysis.h:133
DaqScopeModeAnalysis::rawMean_
VFloat rawMean_
Definition: DaqScopeModeAnalysis.h:112
relativeConstraints.empty
bool empty
Definition: relativeConstraints.py:46
CommissioningAnalysis::myName
const std::string & myName() const
Definition: CommissioningAnalysis.h:139
DaqScopeModeAnalysis::foundTickMark
bool foundTickMark() const
Definition: DaqScopeModeAnalysis.cc:117
SiStripHistoTitle
Utility class that holds histogram title.
Definition: SiStripHistoTitle.h:20
DaqScopeModeAnalysis::frameFindingThreshold
uint16_t frameFindingThreshold() const
Definition: DaqScopeModeAnalysis.cc:106
sistrip::extrainfo::rawNoise_
static const char rawNoise_[]
Definition: ConstantsForDqm.h:46
sistrip::extrainfo::scopeModeHeaderLow_
static const char scopeModeHeaderLow_[]
Definition: ConstantsForDqm.h:64
CommissioningAnalysis::VVFloat
std::vector< VFloat > VVFloat
Definition: CommissioningAnalysis.h:32
DaqScopeModeAnalysis::frameFindingThreshold_
static const float frameFindingThreshold_
Definition: DaqScopeModeAnalysis.h:81
DaqScopeModeAnalysis::height_
float height_
Definition: DaqScopeModeAnalysis.h:85
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
sistrip::FED_KEY
Definition: ConstantsForKeyType.h:30
DaqScopeModeAnalysis::pedsMax_
VFloat pedsMax_
Definition: DaqScopeModeAnalysis.h:117
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
DaqScopeModeAnalysis::peak_
float peak_
Definition: DaqScopeModeAnalysis.h:89