Analysis for calibration runs. More...
#include <CalibrationAnalysis.h>
Public Member Functions | |
const VVFloat & | amplitude () |
const VFloat & | amplitudeMax () |
const VFloat & | amplitudeMean () |
const VFloat & | amplitudeMin () |
const VFloat & | amplitudeSpread () |
const VVFloat & | baseline () |
const VFloat & | baselineMax () |
const VFloat & | baselineMean () |
const VFloat & | baselineMin () |
const VFloat & | baselineSpread () |
int | calChan () |
CalibrationAnalysis (const bool &deconv) | |
CalibrationAnalysis (const uint32_t &key, const bool &deconv) | |
const VVFloat & | chi2 () |
const VFloat & | chi2Max () |
const VFloat & | chi2Mean () |
const VFloat & | chi2Min () |
const VFloat & | chi2Spread () |
const VVFloat & | decayTime () |
const VFloat & | decayTimeMax () |
const VFloat & | decayTimeMean () |
const VFloat & | decayTimeMin () |
const VFloat & | decayTimeSpread () |
bool | deconvMode () |
bool | isValid () const override |
const VVBool | isValidStrip () |
const VVFloat & | peakTime () |
const VFloat & | peakTimeMax () |
const VFloat & | peakTimeMean () |
const VFloat & | peakTimeMin () |
const VFloat & | peakTimeSpread () |
void | print (std::stringstream &, uint32_t not_used=0) override |
void | reset () override |
const VVFloat & | riseTime () |
const VFloat & | riseTimeMax () |
const VFloat & | riseTimeMean () |
const VFloat & | riseTimeMin () |
const VFloat & | riseTimeSpread () |
const VVFloat & | smearing () |
const VFloat & | smearingMax () |
const VFloat & | smearingMean () |
const VFloat & | smearingMin () |
const VFloat & | smearingSpread () |
const VVFloat & | tail () |
const VFloat & | tailMax () |
const VFloat & | tailMean () |
const VFloat & | tailMin () |
const VFloat & | tailSpread () |
const VVFloat & | turnOn () |
const VFloat & | turnOnMax () |
const VFloat & | turnOnMean () |
const VFloat & | turnOnMin () |
const VFloat & | turnOnSpread () |
const VVFloat & | undershoot () |
const VFloat & | undershootMax () |
const VFloat & | undershootMean () |
const VFloat & | undershootMin () |
const VFloat & | undershootSpread () |
~CalibrationAnalysis () override | |
Public Member Functions inherited from CommissioningAnalysis | |
virtual void | addErrorCode (const std::string &error) |
CommissioningAnalysis (const std::string &my_name) | |
CommissioningAnalysis (const uint32_t &key, 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 |
const std::string & | myName () const |
void | setErrorCodes (const VString &errors) |
virtual void | summary (std::stringstream &) const |
virtual | ~CommissioningAnalysis () |
Static Private Attributes | |
static const float | maxBaselineThreshold_ = 50 |
static const float | maxChi2Threshold_ = 3 |
static const float | maxDecayTimeThreshold_ = 250 |
static const float | maxDecayTimeThresholdDeco_ = 100 |
static const float | maxPeakTimeThreshold_ = 130 |
static const float | maxPeakTimeThresholdDeco_ = 130 |
static const float | maxRiseTimeThreshold_ = 100 |
static const float | maxRiseTimeThresholdDeco_ = 100 |
static const float | maxTurnOnThreshold_ = 40 |
static const float | maxTurnOnThresholdDeco_ = 80 |
static const float | minAmplitudeThreshold_ = 50 |
static const float | minBaselineThreshold_ = -50 |
static const float | minDecayTimeThreshold_ = 30 |
static const float | minDecayTimeThresholdDeco_ = 10 |
static const float | minPeakTimeThreshold_ = 40 |
static const float | minPeakTimeThresholdDeco_ = 40 |
static const float | minRiseTimeThreshold_ = 10 |
static const float | minRiseTimeThresholdDeco_ = 10 |
static const float | minTurnOnThreshold_ = 5 |
static const float | minTurnOnThresholdDeco_ = 10 |
Friends | |
class | CalibrationAlgorithm |
Additional Inherited Members | |
Public Types inherited from CommissioningAnalysis | |
typedef std::vector< bool > | VBool |
typedef std::vector< float > | VFloat |
typedef std::vector< uint16_t > | VInt |
typedef std::vector< std::string > | VString |
typedef std::vector< VBool > | VVBool |
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 | ||
) |
Definition at line 34 of file CalibrationAnalysis.cc.
CalibrationAnalysis::CalibrationAnalysis | ( | const bool & | deconv | ) |
Definition at line 94 of file CalibrationAnalysis.cc.
|
inlineoverride |
Definition at line 21 of file CalibrationAnalysis.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Identifies if analysis is valid or not.
Reimplemented from CommissioningAnalysis.
Definition at line 242 of file CalibrationAnalysis.cc.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 216 of file CalibrationAnalysis.cc.
References deconvMode(), CommissioningAnalysis::header(), mean_amplitude_, mean_baseline_, mean_chi2_, mean_decayTime_, mean_peakTime_, mean_riseTime_, mean_smearing_, mean_tail_, mean_turnOn_, mean_undershoot_, and contentValuesCheck::ss.
|
overridevirtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 154 of file CalibrationAnalysis.cc.
References amplitude_, baseline_, calChan_, chi2_, decayTime_, sistrip::invalid_, isvalid_, max_amplitude_, max_baseline_, max_chi2_, max_decayTime_, max_peakTime_, max_riseTime_, max_smearing_, max_tail_, max_turnOn_, max_undershoot_, mean_amplitude_, mean_baseline_, mean_chi2_, mean_decayTime_, mean_peakTime_, mean_riseTime_, mean_smearing_, mean_tail_, mean_turnOn_, mean_undershoot_, min_amplitude_, min_baseline_, min_chi2_, min_decayTime_, min_peakTime_, min_riseTime_, min_smearing_, min_tail_, min_turnOn_, min_undershoot_, peakTime_, riseTime_, smearing_, spread_amplitude_, spread_baseline_, spread_chi2_, spread_decayTime_, spread_peakTime_, spread_riseTime_, spread_smearing_, spread_tail_, spread_turnOn_, spread_undershoot_, tail_, turnOn_, and undershoot_.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Definition at line 23 of file CalibrationAnalysis.h.
|
private |
Parameters extracted from the fit of pulse shape
Definition at line 126 of file CalibrationAnalysis.h.
Referenced by amplitude(), CalibrationAlgorithm::analyse(), and reset().
|
private |
Definition at line 126 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), baseline(), and reset().
|
private |
calchan value
Definition at line 141 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), calChan(), and reset().
|
private |
Definition at line 126 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2(), and reset().
|
private |
Definition at line 126 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), decayTime(), and reset().
|
private |
fit mode: deconv or not ?
Definition at line 138 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), and deconvMode().
|
private |
Definition at line 127 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), isValidStrip(), and reset().
|
private |
Definition at line 132 of file CalibrationAnalysis.h.
Referenced by amplitudeMax(), CalibrationAlgorithm::analyse(), and reset().
|
private |
Definition at line 132 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), baselineMax(), and reset().
|
private |
Definition at line 132 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2Max(), and reset().
|
private |
Definition at line 132 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), decayTimeMax(), and reset().
|
private |
Definition at line 132 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), peakTimeMax(), and reset().
|
private |
Definition at line 132 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and riseTimeMax().
|
private |
Definition at line 132 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and smearingMax().
|
private |
Definition at line 132 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and tailMax().
|
private |
Definition at line 132 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and turnOnMax().
|
private |
Definition at line 132 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and undershootMax().
|
staticprivate |
Definition at line 103 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 104 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 107 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 116 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 109 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 118 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 111 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 120 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 113 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 122 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
private |
Definition at line 128 of file CalibrationAnalysis.h.
Referenced by amplitudeMean(), CalibrationAlgorithm::analyse(), print(), and reset().
|
private |
Definition at line 128 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), baselineMean(), print(), and reset().
|
private |
Definition at line 128 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2Mean(), print(), and reset().
|
private |
Definition at line 128 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), decayTimeMean(), print(), and reset().
|
private |
Definition at line 128 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), peakTimeMean(), print(), and reset().
|
private |
Definition at line 128 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and riseTimeMean().
|
private |
Definition at line 128 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and smearingMean().
|
private |
Definition at line 128 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and tailMean().
|
private |
Definition at line 128 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and turnOnMean().
|
private |
Definition at line 128 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), print(), reset(), and undershootMean().
|
private |
Definition at line 130 of file CalibrationAnalysis.h.
Referenced by amplitudeMin(), CalibrationAlgorithm::analyse(), and reset().
|
private |
Definition at line 130 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), baselineMin(), and reset().
|
private |
Definition at line 130 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2Min(), and reset().
|
private |
Definition at line 130 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), decayTimeMin(), and reset().
|
private |
Definition at line 130 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), peakTimeMin(), and reset().
|
private |
Definition at line 130 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and riseTimeMin().
|
private |
Definition at line 130 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and smearingMin().
|
private |
Definition at line 130 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and tailMin().
|
private |
Definition at line 130 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and turnOnMin().
|
private |
Definition at line 130 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and undershootMin().
|
staticprivate |
Values for quality cuts
Definition at line 101 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 102 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 106 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 115 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 108 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 117 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 110 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 119 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 112 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
staticprivate |
Definition at line 121 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse().
|
private |
Definition at line 126 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), peakTime(), and reset().
|
private |
Definition at line 126 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and riseTime().
|
private |
Definition at line 126 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and smearing().
|
private |
Definition at line 134 of file CalibrationAnalysis.h.
Referenced by amplitudeSpread(), CalibrationAlgorithm::analyse(), and reset().
|
private |
Definition at line 134 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), baselineSpread(), and reset().
|
private |
Definition at line 134 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), chi2Spread(), and reset().
|
private |
Definition at line 134 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), decayTimeSpread(), and reset().
|
private |
Definition at line 134 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), peakTimeSpread(), and reset().
|
private |
Definition at line 134 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and riseTimeSpread().
|
private |
Definition at line 134 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and smearingSpread().
|
private |
Definition at line 134 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and tailSpread().
|
private |
Definition at line 134 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and turnOnSpread().
|
private |
Definition at line 134 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and undershootSpread().
|
private |
Definition at line 126 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and tail().
|
private |
Definition at line 126 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and turnOn().
|
private |
Definition at line 126 of file CalibrationAnalysis.h.
Referenced by CalibrationAlgorithm::analyse(), reset(), and undershoot().