#include <OptoScanAlgorithm.h>
Public Member Functions | |
Histo | histo (const uint16_t &gain, const uint16_t &digital_level) const |
OptoScanAlgorithm (const edm::ParameterSet &pset, OptoScanAnalysis *const) | |
~OptoScanAlgorithm () override | |
Public Member Functions inherited from CommissioningAlgorithm | |
void | analysis (const std::vector< TH1 * > &) |
CommissioningAlgorithm () | |
CommissioningAlgorithm (CommissioningAnalysis *const) | |
virtual | ~CommissioningAlgorithm () |
Private Member Functions | |
void | analyse () override |
void | extract (const std::vector< TH1 * > &) override |
OptoScanAlgorithm () | |
Private Attributes | |
std::vector< std::vector< Histo > > | histos_ |
float | targetGain_ |
Additional Inherited Members | |
Public Types inherited from CommissioningAlgorithm | |
typedef std::pair< TH1 *, std::string > | Histo |
Protected Member Functions inherited from CommissioningAlgorithm | |
CommissioningAnalysis *const | anal () const |
uint32_t | extractFedKey (const TH1 *const) |
Definition at line 18 of file OptoScanAlgorithm.h.
OptoScanAlgorithm::OptoScanAlgorithm | ( | const edm::ParameterSet & | pset, |
OptoScanAnalysis * const | anal | ||
) |
Definition at line 17 of file OptoScanAlgorithm.cc.
References sistrip::mlCommissioning_, and targetGain_.
|
inlineoverride |
Definition at line 22 of file OptoScanAlgorithm.h.
|
inlineprivate |
Definition at line 28 of file OptoScanAlgorithm.h.
|
overrideprivatevirtual |
Performs histogram anaysis.
Implements CommissioningAlgorithm.
Definition at line 96 of file OptoScanAlgorithm.cc.
References sistrip::LinearFit::Params::a_, sistrip::LinearFit::add(), CommissioningAnalysis::addErrorCode(), CommissioningAlgorithm::anal(), sistrip::LinearFit::Params::b_, OptoScanAnalysis::defaultBiasSetting_, OptoScanAnalysis::defaultGainSetting_, OptoScanAnalysis::fedAdcGain_, sistrip::LinearFit::fit(), histos_, sistrip::invalid_, sistrip::invalidZeroLightLevel_, SiStripPI::max, sistrip::maximum_, min(), sistrip::mlCommissioning_, LaserClient_cfi::nbins, sistrip::nullPtr_, sistrip::numberOfBins_, FastTimerService_cff::range, contentValuesCheck::ss, targetGain_, createJobs::tmp, sistrip::unexpectedBinNumber_, sistrip::valid_, and ApeEstimator_cff::width.
|
overrideprivatevirtual |
Extracts and organises histograms.
Implements CommissioningAlgorithm.
Definition at line 27 of file OptoScanAlgorithm.cc.
References CommissioningAnalysis::addErrorCode(), CommissioningAlgorithm::anal(), sistrip::extrainfo::baselineRms_, TauDecayModes::dec, sistrip::extrainfo::digital_, CommissioningAlgorithm::extractFedKey(), CommissioningAnalysis::fedKey(), PedestalClient_cfi::gain, sistrip::extrainfo::gain_, combine::histos, histos_, sistrip::invalid_, sistrip::mlCommissioning_, sistrip::numberOfHistos_, sistrip::OPTO_SCAN, contentValuesCheck::ss, overlapproblemtsosanalyzer_cfi::title, sistrip::unexpectedExtraInfo_, and sistrip::unexpectedTask_.
CommissioningAlgorithm::Histo OptoScanAlgorithm::histo | ( | const uint16_t & | gain, |
const uint16_t & | digital_level | ||
) | const |
Histogram pointer and title.
Definition at line 422 of file OptoScanAlgorithm.cc.
References PedestalClient_cfi::gain, and histos_.
|
private |
Pointers and titles for histograms.
Definition at line 38 of file OptoScanAlgorithm.h.
|
private |
Analysis parameters
Definition at line 41 of file OptoScanAlgorithm.h.
Referenced by analyse(), and OptoScanAlgorithm().