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 |
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 |
void | print (std::stringstream &, uint32_t not_used=0) |
void | reset () |
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 |
virtual | ~CalibrationAnalysis () |
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 53 of file CalibrationAnalysis.cc.
|
inlinevirtual |
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 50 of file CalibrationAnalysis.h.
References max_amplitude_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 40 of file CalibrationAnalysis.h.
References mean_amplitude_.
Referenced by CalibrationHistosUsingDb::create(), and CalibrationSummaryFactory::extract().
|
inline |
Definition at line 49 of file CalibrationAnalysis.h.
References min_amplitude_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 48 of file CalibrationAnalysis.h.
References spread_amplitude_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
|
inline |
Definition at line 37 of file CalibrationAnalysis.h.
References chi2_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 70 of file CalibrationAnalysis.h.
References max_chi2_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 45 of file CalibrationAnalysis.h.
References mean_chi2_.
Referenced by CalibrationHistosUsingDb::create(), and CalibrationSummaryFactory::extract().
|
inline |
Definition at line 69 of file CalibrationAnalysis.h.
References min_chi2_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 68 of file CalibrationAnalysis.h.
References spread_chi2_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 72 of file CalibrationAnalysis.h.
References deconv_.
Referenced by CalibrationHistosUsingDb::create(), and print().
|
virtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 127 of file CalibrationAnalysis.cc.
References deconvMode(), CommissioningAnalysis::header(), mean_amplitude_, mean_chi2_, mean_riseTime_, mean_smearing_, mean_tail_, and mean_timeConstant_.
|
virtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 92 of file CalibrationAnalysis.cc.
References amplitude_, chi2_, sistrip::invalid_, max_amplitude_, max_chi2_, max_riseTime_, max_smearing_, max_tail_, max_timeConstant_, mean_amplitude_, mean_chi2_, mean_riseTime_, mean_smearing_, mean_tail_, mean_timeConstant_, min_amplitude_, min_chi2_, min_riseTime_, min_smearing_, min_tail_, min_timeConstant_, riseTime_, smearing_, spread_amplitude_, spread_chi2_, spread_riseTime_, spread_smearing_, spread_tail_, spread_timeConstant_, tail_, and timeConstant_.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
inline |
Definition at line 34 of file CalibrationAnalysis.h.
References riseTime_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 58 of file CalibrationAnalysis.h.
References max_riseTime_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 42 of file CalibrationAnalysis.h.
References mean_riseTime_.
Referenced by CalibrationHistosUsingDb::create(), and CalibrationSummaryFactory::extract().
|
inline |
Definition at line 57 of file CalibrationAnalysis.h.
References min_riseTime_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 56 of file CalibrationAnalysis.h.
References spread_riseTime_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 36 of file CalibrationAnalysis.h.
References smearing_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 66 of file CalibrationAnalysis.h.
References max_smearing_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 44 of file CalibrationAnalysis.h.
References mean_smearing_.
Referenced by CalibrationHistosUsingDb::create(), and CalibrationSummaryFactory::extract().
|
inline |
Definition at line 65 of file CalibrationAnalysis.h.
References min_smearing_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 64 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 54 of file CalibrationAnalysis.h.
References max_tail_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 41 of file CalibrationAnalysis.h.
References mean_tail_.
Referenced by CalibrationHistosUsingDb::create(), and CalibrationSummaryFactory::extract().
|
inline |
Definition at line 53 of file CalibrationAnalysis.h.
References min_tail_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 52 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 62 of file CalibrationAnalysis.h.
References max_timeConstant_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 43 of file CalibrationAnalysis.h.
References mean_timeConstant_.
Referenced by CalibrationHistosUsingDb::create(), and CalibrationSummaryFactory::extract().
|
inline |
Definition at line 61 of file CalibrationAnalysis.h.
References min_timeConstant_.
Referenced by CalibrationSummaryFactory::extract().
|
inline |
Definition at line 60 of file CalibrationAnalysis.h.
References spread_timeConstant_.
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 82 of file CalibrationAnalysis.h.
Referenced by amplitude(), CalibrationAlgorithm::analyse(), and reset().
|
private |
calchan value used in that dataset
Definition at line 96 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), and calchan().
|
private |
Definition at line 82 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2(), and reset().
|
private |
fit mode: deconv or not ?
Definition at line 93 of file CalibrationAnalysis.h.
Referenced by deconvMode(), and CalibrationAlgorithm::fitPulse().
|
private |
internal mode: cal scan or standard run
Definition at line 99 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), CalibrationAlgorithm::correctDistribution(), and CalibrationAlgorithm::extract().
|
private |
Definition at line 88 of file CalibrationAnalysis.h.
Referenced by amplitudeMax(), CalibrationAlgorithm::analyse(), and reset().
|
private |
Definition at line 88 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2Max(), and reset().
|
private |
Definition at line 88 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and riseTimeMax().
|
private |
Definition at line 88 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and smearingMax().
|
private |
Definition at line 88 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and tailMax().
|
private |
Definition at line 88 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and timeConstantMax().
|
private |
Definition at line 84 of file CalibrationAnalysis.h.
Referenced by amplitudeMean(), CalibrationAlgorithm::analyse(), print(), and reset().
|
private |
Definition at line 84 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2Mean(), print(), and reset().
|
private |
Definition at line 84 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and riseTimeMean().
|
private |
Definition at line 84 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and smearingMean().
|
private |
Definition at line 84 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and tailMean().
|
private |
Definition at line 84 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and timeConstantMean().
|
private |
Definition at line 86 of file CalibrationAnalysis.h.
Referenced by amplitudeMin(), CalibrationAlgorithm::analyse(), and reset().
|
private |
Definition at line 86 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2Min(), and reset().
|
private |
Definition at line 86 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and riseTimeMin().
|
private |
Definition at line 86 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and smearingMin().
|
private |
Definition at line 86 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and tailMin().
|
private |
Definition at line 86 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and timeConstantMin().
|
private |
Definition at line 82 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and riseTime().
|
private |
Definition at line 82 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and smearing().
|
private |
Definition at line 90 of file CalibrationAnalysis.h.
Referenced by amplitudeSpread(), CalibrationAlgorithm::analyse(), and reset().
|
private |
Definition at line 90 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2Spread(), and reset().
|
private |
Definition at line 90 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and riseTimeSpread().
|
private |
Definition at line 90 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and smearingSpread().
|
private |
Definition at line 90 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and tailSpread().
|
private |
Definition at line 90 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and timeConstantSpread().
|
private |
Definition at line 82 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and tail().
|
private |
Definition at line 82 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and timeConstant().