#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 ) | |
virtual | ~OptoScanAlgorithm () |
Public Member Functions inherited from CommissioningAlgorithm | |
void | analysis (const std::vector< TH1 * > &) |
CommissioningAlgorithm (CommissioningAnalysis *const ) | |
CommissioningAlgorithm () | |
virtual | ~CommissioningAlgorithm () |
Private Member Functions | |
void | analyse () |
void | extract (const std::vector< TH1 * > &) |
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_.
|
inlinevirtual |
Definition at line 24 of file OptoScanAlgorithm.h.
|
inlineprivate |
Definition at line 32 of file OptoScanAlgorithm.h.
|
privatevirtual |
Performs histogram anaysis.
Implements CommissioningAlgorithm.
Definition at line 98 of file OptoScanAlgorithm.cc.
References sistrip::LinearFit::Params::a_, sistrip::LinearFit::add(), CommissioningAnalysis::addErrorCode(), CommissioningAlgorithm::anal(), sistrip::LinearFit::Params::b_, OptoScanAnalysis::baseSlope_, OptoScanAnalysis::bias_, OptoScanAnalysis::defaultBiasSetting_, OptoScanAnalysis::defaultGainSetting_, OptoScanAnalysis::fedAdcGain_, sistrip::LinearFit::fit(), OptoScanAnalysis::gain_, histos_, sistrip::invalid_, sistrip::invalidZeroLightLevel_, OptoScanAnalysis::liftOff_, OptoScanAnalysis::linkNoise_, bookConverter::max, sistrip::maximum_, OptoScanAnalysis::measGain_, min(), sistrip::mlCommissioning_, pileupCalc::nbins, sistrip::nullPtr_, sistrip::numberOfBins_, contentValuesCheck::ss, targetGain_, OptoScanAnalysis::threshold_, OptoScanAnalysis::tickHeight_, tmp, sistrip::unexpectedBinNumber_, sistrip::valid_, create_public_lumi_plots::width, and OptoScanAnalysis::zeroLight_.
|
privatevirtual |
Extracts and organises histograms.
Implements CommissioningAlgorithm.
Definition at line 29 of file OptoScanAlgorithm.cc.
References CommissioningAnalysis::addErrorCode(), CommissioningAlgorithm::anal(), sistrip::extrainfo::baselineRms_, TauDecayModes::dec, sistrip::extrainfo::digital_, CommissioningAlgorithm::extractFedKey(), CommissioningAnalysis::fedKey(), sistrip::extrainfo::gain_, histos_, sistrip::invalid_, sistrip::mlCommissioning_, sistrip::numberOfHistos_, sistrip::OPTO_SCAN, contentValuesCheck::ss, indexGen::title, sistrip::unexpectedExtraInfo_, and sistrip::unexpectedTask_.
Referenced by BeautifulSoup.PageElement::_invert(), and BeautifulSoup.Tag::decompose().
CommissioningAlgorithm::Histo OptoScanAlgorithm::histo | ( | const uint16_t & | gain, |
const uint16_t & | digital_level | ||
) | const |
Histogram pointer and title.
Definition at line 407 of file OptoScanAlgorithm.cc.
References histos_.
|
private |
Pointers and titles for histograms.
Definition at line 43 of file OptoScanAlgorithm.h.
|
private |
Analysis parameters
Definition at line 46 of file OptoScanAlgorithm.h.
Referenced by analyse(), and OptoScanAlgorithm().