Analysis for calibration runs. More...
#include <CalibrationAnalysis.h>
Public Member Functions | |
const VVFloat & | amplitude () const |
const VFloat & | amplitudeMax () const |
const VFloat & | amplitudeMean () const |
const VFloat & | amplitudeMin () const |
const VFloat & | amplitudeSpread () const |
const VVFloat & | baseline () const |
const VFloat & | baselineMax () const |
const VFloat & | baselineMean () const |
const VFloat & | baselineMin () const |
const VFloat & | baselineSpread () const |
int | calchan () const |
CalibrationAnalysis (const uint32_t &key, const bool &deconv, int calchan) | |
CalibrationAnalysis (const bool &deconv, int calchan) | |
const VVFloat & | chi2 () const |
const VFloat & | chi2Max () const |
const VFloat & | chi2Mean () const |
const VFloat & | chi2Min () const |
const VFloat & | chi2Spread () const |
bool | deconvMode () const |
const VVFloat & | maximum () const |
const VFloat & | maximumMax () const |
const VFloat & | maximumMean () const |
const VFloat & | maximumMin () const |
const VFloat & | maximumSpread () const |
void | print (std::stringstream &, uint32_t not_used=0) override |
void | reset () override |
const VVFloat & | riseTime () const |
const VFloat & | riseTimeMax () const |
const VFloat & | riseTimeMean () const |
const VFloat & | riseTimeMin () const |
const VFloat & | riseTimeSpread () const |
const VVFloat & | smearing () const |
const VFloat & | smearingMax () const |
const VFloat & | smearingMean () const |
const VFloat & | smearingMin () const |
const VFloat & | smearingSpread () const |
const VVFloat & | tail () const |
const VFloat & | tailMax () const |
const VFloat & | tailMean () const |
const VFloat & | tailMin () const |
const VFloat & | tailSpread () const |
const VVFloat & | timeConstant () const |
const VFloat & | timeConstantMax () const |
const VFloat & | timeConstantMean () const |
const VFloat & | timeConstantMin () const |
const VFloat & | timeConstantSpread () const |
const VVFloat & | turnOn () const |
const VFloat & | turnOnMax () const |
const VFloat & | turnOnMean () const |
const VFloat & | turnOnMin () const |
const VFloat & | turnOnSpread () const |
const VVFloat & | undershoot () const |
const VFloat & | undershootMax () const |
const VFloat & | undershootMean () const |
const VFloat & | undershootMin () const |
const VFloat & | undershootSpread () const |
~CalibrationAnalysis () override | |
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 () |
Friends | |
class | CalibrationAlgorithm |
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 calibration runs.
Definition at line 16 of file CalibrationAnalysis.h.
CalibrationAnalysis::CalibrationAnalysis | ( | const uint32_t & | key, |
const bool & | deconv, | ||
int | calchan | ||
) |
Definition at line 14 of file CalibrationAnalysis.cc.
CalibrationAnalysis::CalibrationAnalysis | ( | const bool & | deconv, |
int | calchan | ||
) |
Definition at line 73 of file CalibrationAnalysis.cc.
|
inlineoverride |
Definition at line 27 of file CalibrationAnalysis.h.
|
inline |
Definition at line 32 of file CalibrationAnalysis.h.
References amplitude_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 58 of file CalibrationAnalysis.h.
References max_amplitude_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 44 of file CalibrationAnalysis.h.
References mean_amplitude_.
Referenced by CalibrationHistosUsingDb::create(), and CalibrationSummaryFactory::extract().
|
inline |
Definition at line 57 of file CalibrationAnalysis.h.
References min_amplitude_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 56 of file CalibrationAnalysis.h.
References spread_amplitude_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 39 of file CalibrationAnalysis.h.
References baseline_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 90 of file CalibrationAnalysis.h.
References max_baseline_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 52 of file CalibrationAnalysis.h.
References mean_baseline_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 89 of file CalibrationAnalysis.h.
References min_baseline_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 88 of file CalibrationAnalysis.h.
References spread_baseline_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
|
inline |
Definition at line 41 of file CalibrationAnalysis.h.
References chi2_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 94 of file CalibrationAnalysis.h.
References max_chi2_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 53 of file CalibrationAnalysis.h.
References mean_chi2_.
Referenced by CalibrationHistosUsingDb::create(), and CalibrationSummaryFactory::extract().
|
inline |
Definition at line 93 of file CalibrationAnalysis.h.
References min_chi2_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 92 of file CalibrationAnalysis.h.
References spread_chi2_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 96 of file CalibrationAnalysis.h.
References deconv_.
Referenced by CalibrationHistosUsingDb::create(), and print().
|
inline |
Definition at line 37 of file CalibrationAnalysis.h.
References maximum_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 82 of file CalibrationAnalysis.h.
References max_maximum_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 50 of file CalibrationAnalysis.h.
References mean_maximum_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 81 of file CalibrationAnalysis.h.
References min_maximum_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 80 of file CalibrationAnalysis.h.
References spread_maximum_.
Referenced by CalibrationSummaryFactory::extract().
|
overridevirtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 187 of file CalibrationAnalysis.cc.
References deconvMode(), CommissioningAnalysis::header(), mean_amplitude_, mean_baseline_, mean_chi2_, mean_maximum_, mean_riseTime_, mean_smearing_, mean_tail_, mean_timeConstant_, mean_turnOn_, and mean_undershoot_.
Referenced by calchan().
|
overridevirtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 132 of file CalibrationAnalysis.cc.
References amplitude_, baseline_, chi2_, sistrip::invalid_, max_amplitude_, max_baseline_, max_chi2_, max_maximum_, max_riseTime_, max_smearing_, max_tail_, max_timeConstant_, max_turnOn_, max_undershoot_, maximum_, mean_amplitude_, mean_baseline_, mean_chi2_, mean_maximum_, mean_riseTime_, mean_smearing_, mean_tail_, mean_timeConstant_, mean_turnOn_, mean_undershoot_, min_amplitude_, min_baseline_, min_chi2_, min_maximum_, min_riseTime_, min_smearing_, min_tail_, min_timeConstant_, min_turnOn_, min_undershoot_, riseTime_, smearing_, spread_amplitude_, spread_baseline_, spread_chi2_, spread_maximum_, spread_riseTime_, spread_smearing_, spread_tail_, spread_timeConstant_, spread_turnOn_, spread_undershoot_, tail_, timeConstant_, turnOn_, and undershoot_.
Referenced by MatrixReader.MatrixReader::__init__(), calchan(), and MatrixReader.MatrixReader::showRaw().
|
inline |
Definition at line 34 of file CalibrationAnalysis.h.
References riseTime_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 66 of file CalibrationAnalysis.h.
References max_riseTime_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 46 of file CalibrationAnalysis.h.
References mean_riseTime_.
Referenced by CalibrationHistosUsingDb::create(), and CalibrationSummaryFactory::extract().
|
inline |
Definition at line 65 of file CalibrationAnalysis.h.
References min_riseTime_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 64 of file CalibrationAnalysis.h.
References spread_riseTime_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 40 of file CalibrationAnalysis.h.
References smearing_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 74 of file CalibrationAnalysis.h.
References max_smearing_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 48 of file CalibrationAnalysis.h.
References mean_smearing_.
Referenced by CalibrationHistosUsingDb::create(), and CalibrationSummaryFactory::extract().
|
inline |
Definition at line 73 of file CalibrationAnalysis.h.
References min_smearing_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 72 of file CalibrationAnalysis.h.
References spread_smearing_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 33 of file CalibrationAnalysis.h.
References tail_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 62 of file CalibrationAnalysis.h.
References max_tail_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 45 of file CalibrationAnalysis.h.
References mean_tail_.
Referenced by CalibrationHistosUsingDb::create(), and CalibrationSummaryFactory::extract().
|
inline |
Definition at line 61 of file CalibrationAnalysis.h.
References min_tail_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 60 of file CalibrationAnalysis.h.
References spread_tail_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 35 of file CalibrationAnalysis.h.
References timeConstant_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 70 of file CalibrationAnalysis.h.
References max_timeConstant_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 47 of file CalibrationAnalysis.h.
References mean_timeConstant_.
Referenced by CalibrationHistosUsingDb::create(), and CalibrationSummaryFactory::extract().
|
inline |
Definition at line 69 of file CalibrationAnalysis.h.
References min_timeConstant_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 68 of file CalibrationAnalysis.h.
References spread_timeConstant_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 36 of file CalibrationAnalysis.h.
References turnOn_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 78 of file CalibrationAnalysis.h.
References max_turnOn_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 49 of file CalibrationAnalysis.h.
References mean_turnOn_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 77 of file CalibrationAnalysis.h.
References min_turnOn_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 76 of file CalibrationAnalysis.h.
References spread_turnOn_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 38 of file CalibrationAnalysis.h.
References undershoot_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 86 of file CalibrationAnalysis.h.
References max_undershoot_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 51 of file CalibrationAnalysis.h.
References mean_undershoot_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 85 of file CalibrationAnalysis.h.
References min_undershoot_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 84 of file CalibrationAnalysis.h.
References spread_undershoot_.
Referenced by CalibrationSummaryFactory::extract().
|
friend |
Definition at line 29 of file CalibrationAnalysis.h.
|
private |
Parameters extracted from the fit of pulse shape
Definition at line 106 of file CalibrationAnalysis.h.
Referenced by amplitude(), CalibrationAlgorithm::analyse(), and reset().
|
private |
Definition at line 106 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), baseline(), and reset().
|
private |
calchan value used in that dataset
Definition at line 116 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), and calchan().
|
private |
Definition at line 106 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2(), and reset().
|
private |
fit mode: deconv or not ?
Definition at line 113 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), deconvMode(), and CalibrationAlgorithm::fitPulse().
|
private |
internal mode: cal scan or standard run
Definition at line 119 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), CalibrationAlgorithm::correctDistribution(), and CalibrationAlgorithm::extract().
|
private |
Definition at line 109 of file CalibrationAnalysis.h.
Referenced by amplitudeMax(), CalibrationAlgorithm::analyse(), and reset().
|
private |
Definition at line 109 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), baselineMax(), and reset().
|
private |
Definition at line 109 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2Max(), and reset().
|
private |
Definition at line 109 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), maximumMax(), and reset().
|
private |
Definition at line 109 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and riseTimeMax().
|
private |
Definition at line 109 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and smearingMax().
|
private |
Definition at line 109 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and tailMax().
|
private |
Definition at line 109 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and timeConstantMax().
|
private |
Definition at line 109 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and turnOnMax().
|
private |
Definition at line 109 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and undershootMax().
|
private |
Definition at line 106 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), maximum(), and reset().
|
private |
Definition at line 107 of file CalibrationAnalysis.h.
Referenced by amplitudeMean(), CalibrationAlgorithm::analyse(), print(), and reset().
|
private |
Definition at line 107 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), baselineMean(), print(), and reset().
|
private |
Definition at line 107 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2Mean(), print(), and reset().
|
private |
Definition at line 107 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), maximumMean(), print(), and reset().
|
private |
Definition at line 107 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and riseTimeMean().
|
private |
Definition at line 107 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and smearingMean().
|
private |
Definition at line 107 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and tailMean().
|
private |
Definition at line 107 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and timeConstantMean().
|
private |
Definition at line 107 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and turnOnMean().
|
private |
Definition at line 107 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and undershootMean().
|
private |
Definition at line 108 of file CalibrationAnalysis.h.
Referenced by amplitudeMin(), CalibrationAlgorithm::analyse(), and reset().
|
private |
Definition at line 108 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), baselineMin(), and reset().
|
private |
Definition at line 108 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2Min(), and reset().
|
private |
Definition at line 108 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), maximumMin(), and reset().
|
private |
Definition at line 108 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and riseTimeMin().
|
private |
Definition at line 108 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and smearingMin().
|
private |
Definition at line 108 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and tailMin().
|
private |
Definition at line 108 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and timeConstantMin().
|
private |
Definition at line 108 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and turnOnMin().
|
private |
Definition at line 108 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and undershootMin().
|
private |
Definition at line 106 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and riseTime().
|
private |
Definition at line 106 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and smearing().
|
private |
Definition at line 110 of file CalibrationAnalysis.h.
Referenced by amplitudeSpread(), CalibrationAlgorithm::analyse(), and reset().
|
private |
Definition at line 110 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), baselineSpread(), and reset().
|
private |
Definition at line 110 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2Spread(), and reset().
|
private |
Definition at line 110 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), maximumSpread(), and reset().
|
private |
Definition at line 110 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and riseTimeSpread().
|
private |
Definition at line 110 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and smearingSpread().
|
private |
Definition at line 110 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and tailSpread().
|
private |
Definition at line 110 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and timeConstantSpread().
|
private |
Definition at line 110 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and turnOnSpread().
|
private |
Definition at line 110 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and undershootSpread().
|
private |
Definition at line 106 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and tail().
|
private |
Definition at line 106 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and timeConstant().
|
private |
Definition at line 106 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and turnOn().
|
private |
Definition at line 106 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and undershoot().