Analysis for latency run. More...
#include <SamplingAnalysis.h>
Public Member Functions | |
float | correctMeasurement (float mean, float SoNcut=3.) const |
const float & | error () const |
float | getSoNcut () const |
sistrip::Granularity | granularity () const |
float | limit (float SoNcut) const |
const float & | maximum () const |
void | print (std::stringstream &, uint32_t not_used=0) |
void | reset () |
SamplingAnalysis (const uint32_t &key) | |
SamplingAnalysis () | |
void | setSoNcut (const float sOnCut) |
virtual | ~SamplingAnalysis () |
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 VString & | getErrorCodes () const |
virtual void | header (std::stringstream &) const |
virtual bool | isValid () const |
const std::string & | myName () const |
void | setErrorCodes (const VString &errors) |
virtual void | summary (std::stringstream &) const |
virtual | ~CommissioningAnalysis () |
Private Attributes | |
float | error_ |
sistrip::Granularity | granularity_ |
float | max_ |
sistrip::RunType | runType_ |
float | sOnCut_ |
Friends | |
class | SamplingAlgorithm |
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< VFloat > | VVFloat |
typedef std::vector< VInt > | VVInt |
Analysis for latency run.
Definition at line 17 of file SamplingAnalysis.h.
SamplingAnalysis::SamplingAnalysis | ( | const uint32_t & | key | ) |
Definition at line 14 of file SamplingAnalysis.cc.
SamplingAnalysis::SamplingAnalysis | ( | ) |
Definition at line 23 of file SamplingAnalysis.cc.
|
inlinevirtual |
Definition at line 25 of file SamplingAnalysis.h.
float SamplingAnalysis::correctMeasurement | ( | float | mean, |
float | SoNcut = 3. |
||
) | const |
Definition at line 55 of file SamplingAnalysis.cc.
References limit(), and funct::pow().
Referenced by SamplingAlgorithm::correctProfile().
|
inline |
Definition at line 31 of file SamplingAnalysis.h.
References error_.
Referenced by argparse.ArgumentParser::_get_option_tuples(), python.rootplot.argparse.ArgumentParser::_get_option_tuples(), argparse.ArgumentParser::_parse_known_args(), python.rootplot.argparse.ArgumentParser::_parse_known_args(), argparse.ArgumentParser::_parse_optional(), python.rootplot.argparse.ArgumentParser::_parse_optional(), argparse.ArgumentParser::_read_args_from_files(), python.rootplot.argparse.ArgumentParser::_read_args_from_files(), argparse.ArgumentParser::add_subparsers(), python.rootplot.argparse.ArgumentParser::add_subparsers(), FineDelayHistosUsingDb::create(), SamplingSummaryFactory::extract(), argparse.ArgumentParser::parse_args(), python.rootplot.argparse.ArgumentParser::parse_args(), argparse.ArgumentParser::parse_known_args(), and python.rootplot.argparse.ArgumentParser::parse_known_args().
|
inline |
|
inline |
float SamplingAnalysis::limit | ( | float | SoNcut | ) | const |
Definition at line 48 of file SamplingAnalysis.cc.
References funct::pow().
Referenced by correctMeasurement(), and SamplingAlgorithm::correctProfile().
|
inline |
Definition at line 29 of file SamplingAnalysis.h.
References max_.
Referenced by LatencyHistosUsingDb::create(), FineDelayHistosUsingDb::create(), SamplingSummaryFactory::extract(), and LatencyHistosUsingDb::update().
|
virtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 39 of file SamplingAnalysis.cc.
References error_, SiStripEnumsAndStrings::granularity(), granularity_, CommissioningAnalysis::header(), and max_.
|
virtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 32 of file SamplingAnalysis.cc.
References error_, sistrip::invalid_, and max_.
Referenced by MatrixReader.MatrixReader::__init__(), BeautifulSoup.BeautifulStoneSoup::__init__(), and MatrixReader.MatrixReader::showRaw().
|
inline |
Definition at line 33 of file SamplingAnalysis.h.
References sOnCut_.
Referenced by SamplingHistograms::histoAnalysis().
|
friend |
Definition at line 27 of file SamplingAnalysis.h.
|
private |
Error on the position ( from the fit)
Definition at line 56 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::analyse(), error(), print(), and reset().
|
private |
granularity
Definition at line 62 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::extract(), granularity(), and print().
|
private |
Delay corresponding to the maximum of the pulse shape
Definition at line 53 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::analyse(), maximum(), print(), and reset().
|
private |
reconstruction mode
Definition at line 59 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::analyse(), and SamplingAlgorithm::extract().
|
private |
s/n cut to be used
Definition at line 50 of file SamplingAnalysis.h.
Referenced by SamplingAlgorithm::analyse(), getSoNcut(), and setSoNcut().