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 (const uint32_t &key)
 
 DaqScopeModeAnalysis ()
 
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 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 ()
 

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.

References dead_, and noisy_.

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 }
std::vector< float > VFloat
std::vector< uint16_t > VInt
static const uint16_t invalid_
Definition: Constants.h:16

◆ DaqScopeModeAnalysis() [2/2]

DaqScopeModeAnalysis::DaqScopeModeAnalysis ( )

Definition at line 46 of file DaqScopeModeAnalysis.cc.

References dead_, and noisy_.

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 }
std::vector< float > VFloat
std::vector< uint16_t > VInt
static const uint16_t invalid_
Definition: Constants.h:16

◆ ~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.

References base_.

155 { return base_; }

◆ dead()

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

Definition at line 137 of file DaqScopeModeAnalysis.h.

References dead_.

137 { return dead_; }

◆ foundTickMark()

bool DaqScopeModeAnalysis::foundTickMark ( ) const

Identifies if tick mark is found or not.

Definition at line 117 of file DaqScopeModeAnalysis.cc.

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

Referenced by print().

117  {
118  return ((getErrorCodes().empty() || getErrorCodes()[0] == "TickMarkRecovered") && base_ < sistrip::valid_ &&
120 }
const VString & getErrorCodes() const
uint16_t frameFindingThreshold() const
static const uint16_t valid_
Definition: Constants.h:17

◆ frameFindingThreshold()

uint16_t DaqScopeModeAnalysis::frameFindingThreshold ( ) const

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

Definition at line 106 of file DaqScopeModeAnalysis.cc.

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

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

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 }
const VString & getErrorCodes() const
static const uint16_t valid_
Definition: Constants.h:17
static const float tickMarkHeightThreshold_
static const float frameFindingThreshold_
static const uint16_t invalid_
Definition: Constants.h:16

◆ height()

const float & DaqScopeModeAnalysis::height ( ) const
inline

Height of tick mark [ADC].

Definition at line 154 of file DaqScopeModeAnalysis.h.

References height_.

154 { return 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().

124  {
136 }
const VString & getErrorCodes() const
uint16_t frameFindingThreshold() const
static const uint16_t valid_
Definition: Constants.h:17
static const uint16_t maximum_
Definition: Constants.h:20

◆ noise()

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

Definition at line 134 of file DaqScopeModeAnalysis.h.

References noise_.

134 { return noise_; }

◆ noiseMax()

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

Definition at line 149 of file DaqScopeModeAnalysis.h.

References noiseMax_.

149 { return noiseMax_; }

◆ noiseMean()

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

Definition at line 142 of file DaqScopeModeAnalysis.h.

References noiseMean_.

142 { return noiseMean_; }

◆ noiseMin()

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

Definition at line 150 of file DaqScopeModeAnalysis.h.

References noiseMin_.

150 { return noiseMin_; }

◆ noiseSpread()

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

Definition at line 143 of file DaqScopeModeAnalysis.h.

References noiseSpread_.

143 { return noiseSpread_; }

◆ noisy()

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

Definition at line 138 of file DaqScopeModeAnalysis.h.

References noisy_.

138 { return noisy_; }

◆ peak()

const float & DaqScopeModeAnalysis::peak ( ) const
inline

Level of tick mark top [ADC].

Definition at line 156 of file DaqScopeModeAnalysis.h.

References peak_.

156 { return peak_; }

◆ peds()

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

Definition at line 133 of file DaqScopeModeAnalysis.h.

References peds_.

133 { return peds_; }

◆ pedsMax()

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

Definition at line 147 of file DaqScopeModeAnalysis.h.

References pedsMax_.

147 { return pedsMax_; }

◆ pedsMean()

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

Definition at line 140 of file DaqScopeModeAnalysis.h.

References pedsMean_.

140 { return pedsMean_; }

◆ pedsMin()

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

Definition at line 148 of file DaqScopeModeAnalysis.h.

References pedsMin_.

148 { return pedsMin_; }

◆ pedsSpread()

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

Definition at line 141 of file DaqScopeModeAnalysis.h.

References pedsSpread_.

141 { return 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.

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.

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 }
size
Write out results.
const VString & getErrorCodes() const
uint16_t frameFindingThreshold() const
const std::string & myName() const
static const char mlCommissioning_[]
ii
Definition: cuy.py:589
bool isValid() const override
virtual void header(std::stringstream &) const
Log< level::Warning, false > LogWarning

◆ raw()

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

Definition at line 135 of file DaqScopeModeAnalysis.h.

References raw_.

135 { return raw_; }

◆ rawMax()

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

Definition at line 151 of file DaqScopeModeAnalysis.h.

References rawMax_.

151 { return rawMax_; }

◆ rawMean()

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

Definition at line 144 of file DaqScopeModeAnalysis.h.

References rawMean_.

144 { return rawMean_; }

◆ rawMin()

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

Definition at line 152 of file DaqScopeModeAnalysis.h.

References rawMin_.

152 { return rawMin_; }

◆ rawSpread()

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

Definition at line 145 of file DaqScopeModeAnalysis.h.

References rawSpread_.

145 { return rawSpread_; }

◆ reset()

void DaqScopeModeAnalysis::reset ( void  )
overridevirtual

Resets analysis member data.

Implements CommissioningAnalysis.

Definition at line 76 of file DaqScopeModeAnalysis.cc.

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

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 }
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

◆ summary()

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

Overrides base method.

Reimplemented from CommissioningAnalysis.

Definition at line 216 of file DaqScopeModeAnalysis.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(), 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 runGCPTkAlMap::title.

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 }
static const char rawNoise_[]
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
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 &)
const std::string & myName() const
const uint16_t & i2cAddr() const
static const char scopeModeHeaderLow_[]
static const char controlView_[]
static const char dqmRoot_[]
const uint32_t & fecKey() const
static const char commonMode_[]
const uint32_t & fedKey() const
static const char pedestals_[]
static const char scopeModeHeaderHigh_[]
bool isValid() const override
static const char scopeModeFrame_[]

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