![]() |
ATLAS Offline Software
|
storage of the time histories of all the cells More...
#include <DigitMonitor.h>
Public Member Functions | |
| DigitMonitor (const Interface &interface) | |
| Constructor. | |
| TH1D * | chi2Dist (const TString &name, int nBins, double max, double kFactor=0, double fitMax=-1, int lwb=-1, int upb=-1, unsigned int chi2Pars=DefaultChi2, ShapeErrorType shapeErrorType=BestShapeError, unsigned int nDof=0) const |
| TH1D * | bestChi2Dist (const TString &name, int nBins, double max, double refErrMin, double refErrMax, unsigned int refErrNBins, int lwb=-1, int upb=-1, unsigned int chi2Pars=DefaultChi2, unsigned int nDof=0) const |
| TH1D * | gainDist (const TString &name) const |
| TH1D * | layerDist (const TString &name) const |
| TH1D * | energyDist (const TString &name, int nBins, double eMax=10000) const |
| TH1D * | timeDist (const TString &name, int nBins, double tMin=-25, double tMax=25) const |
| TH1D * | adcMaxDist (const TString &name, int nBins, double aMin=0, double aMax=4096) const |
| TH1D * | noiseDist (const TString &name, int nBins, double max) const |
| TH2D * | maxValueMap (TString name, PartitionId partition) const |
| TH2D * | minValueMap (TString name, PartitionId partition) const |
| TH1D * | residualDist (unsigned int k, const TString &name, int nBins, double rMin, double rMax, bool norm=false) const |
| bool | residualPlots (CaloId calo, unsigned int layer, CaloGain::CaloGain gain=CaloGain::LARHIGHGAIN, bool xip=false, bool ring=false, double lo=-0.05, double hi=0.05, const TString &fileName="residuals") |
| bool | residualPlotsRingComp (CaloId calo, unsigned int layer, CaloGain::CaloGain gain=CaloGain::LARHIGHGAIN, bool xip=false, double lo=-0.05, double hi=0.05, const TString &fileName="residuals") |
| bool | residualPlotsGainComp (CaloId calo, unsigned int layer, bool ring=false, bool xip=false, double lo=-0.05, double hi=0.05, const TString &fileName="residuals") |
| TH1D * | shapeErrorDist (unsigned int k, const TString &name, int nBins, double rMin, double rMax, double mean=0) const |
| double | residualCorr (unsigned int k1, unsigned int k2) const |
| bool | makeResidualCorrections (const TString &outputFile, short resTrunc=-1, short timeTrunc=-1, double absResTrunc=-1, unsigned int minSize=0, bool weigh=false, bool adjust=false, bool zeroTime=false) const |
| Residuals * | getResiduals (unsigned int hash, CaloGain::CaloGain gain, double absResTrunc=-1, bool adjust=false, bool zeroTime=false) const |
| bool | residualParams (int lwb, int upb, CovMatrix &k, TVectorD &means) const |
| CovMatrix | kMatrix (int lwb, int upb) |
| TVectorD | means (int lwb, int upb) |
| int | combine (SimpleShape *&shape, SimpleShape *&ref, const TString &selection="", bool timeAligned=true) const |
| TH1D * | dist (const DataFuncSet &func, const DataFuncArgs &args, const TString &name, int nBins, double xMin, double xMax, const TString &title="", const TString &xTitle="", const TString &yTitle="", const FilterParams &f=FilterParams()) const |
| TH2D * | dist (const DataFuncSet &funcX, const DataFuncArgs &argsX, const DataFuncSet &funcY, const DataFuncArgs &argsY, const TString &name, int nBinsX, double xMin, double xMax, int nBinsY, double yMin, double yMax, const TString &title="", const TString &xTitle="", const TString &yTitle="", const FilterParams &f=FilterParams()) const |
| TH2D * | partitionMap (const DataFuncSet &func, const DataFuncArgs &args, TString name, PartitionId partition, const TString &title="", CombinationType comb=AverageValue, const FilterParams &f=FilterParams()) const |
| TH2D * | etaPhiMap (const DataFuncSet &func, const DataFuncArgs &args, const TString &name, CaloId calo, short layer, TString title="", CombinationType comb=AverageValue, const FilterParams &f=FilterParams()) const |
| bool | prepareDumpParams (const TString &vars, int verbosity, std::vector< TString > &variables, std::vector< DataFuncSet > &funcs, std::vector< DataFuncArgs > &args, std::vector< TString > &formats, TString &locFormat, TString &locHeader, TString &varHeader) const |
| bool | dump (const TString &vars, const FilterParams &f=FilterParams(), unsigned int verbosity=1) const |
| bool | dump (const TString &vars, CombinationType comb=AverageValue, const FilterParams &f=FilterParams(), const TString &ranges="", unsigned int verbosity=1) const |
| bool | statParams (const std::vector< DataFuncSet > &funcs, const std::vector< DataFuncArgs > &args, TVectorD &mean, TVectorD &meanErr, TMatrixD &covMatrix, TMatrixD &covMatrixErr, const FilterParams &f=FilterParams()) const |
| const Interface & | interface () const |
| unsigned int | nChannels () const |
| const History * | getCellHistory (unsigned int i) const |
| const History * | getSCHistory (unsigned int i) const |
| const CellInfo * | getCellInfo (unsigned int i) const |
| virtual const History * | newCellHistory (unsigned int i) const |
| virtual const History * | cellHistory (unsigned int i) const |
| virtual const CellInfo * | cellInfo (unsigned int i) const |
| virtual unsigned int | nChannelsSC () const |
| virtual void | resetCache () const |
| const CellInfo * | cellInfoCache (unsigned int i) const |
| const History * | pass (unsigned int i, const FilterParams &f) const |
| const History * | cellCache () const |
| unsigned int | cachePos () const |
| void | resetCellInfoCache () |
Static Public Member Functions | |
| static TF1 * | chi2Func (const char *name, double xMin, double xMax) |
| static TF1 * | fitChi2 (TH1D &h, const char *name, double xMin, double xMax, double nDof=-1, double fitMin=Definitions::none, double fitMax=Definitions::none) |
| static double | history_value (const History &history, const DataFuncSet &func, const DataFuncArgs &args, CombinationType comb, const FilterParams &f, unsigned int &nValues) |
| static DataFuncSet | func (const TString &var) |
| static bool | parseVariables (TString varStr, std::vector< TString > &vars, std::vector< DataFuncSet > &funcs, std::vector< DataFuncArgs > &args) |
| static TString | str (CombinationType comb) |
Static Public Attributes | |
| static const int | printPeriodicity = 10000 |
Private Attributes | |
| const Interface * | m_interface |
| unsigned int | m_pos |
| const History * | m_cellCache |
| std::vector< CellInfo * > | m_cellInfoCache |
storage of the time histories of all the cells
Definition at line 28 of file DigitMonitor.h.
|
inline |
Constructor.
Definition at line 34 of file DigitMonitor.h.
| TH1D * DigitMonitor::adcMaxDist | ( | const TString & | name, |
| int | nBins, | ||
| double | aMin = 0, | ||
| double | aMax = 4096 ) const |
Definition at line 47 of file DigitMonitor.cxx.
| TH1D * DigitMonitor::bestChi2Dist | ( | const TString & | name, |
| int | nBins, | ||
| double | max, | ||
| double | refErrMin, | ||
| double | refErrMax, | ||
| unsigned int | refErrNBins, | ||
| int | lwb = -1, | ||
| int | upb = -1, | ||
| unsigned int | chi2Pars = DefaultChi2, | ||
| unsigned int | nDof = 0 ) const |
Definition at line 125 of file DigitMonitor.cxx.
|
inlineinherited |
Definition at line 48 of file AbsLArCells.h.
|
inlineinherited |
Definition at line 47 of file AbsLArCells.h.
|
virtualinherited |
Reimplemented in LArSamples::Interface.
Definition at line 59 of file AbsLArCells.cxx.
|
virtualinherited |
Definition at line 71 of file AbsLArCells.cxx.
|
inherited |
Definition at line 82 of file AbsLArCells.cxx.
| TH1D * DigitMonitor::chi2Dist | ( | const TString & | name, |
| int | nBins, | ||
| double | max, | ||
| double | kFactor = 0, | ||
| double | fitMax = -1, | ||
| int | lwb = -1, | ||
| int | upb = -1, | ||
| unsigned int | chi2Pars = DefaultChi2, | ||
| ShapeErrorType | shapeErrorType = BestShapeError, | ||
| unsigned int | nDof = 0 ) const |
Definition at line 60 of file DigitMonitor.cxx.
|
static |
Definition at line 99 of file DigitMonitor.cxx.
| int DigitMonitor::combine | ( | SimpleShape *& | shape, |
| SimpleShape *& | ref, | ||
| const TString & | selection = "", | ||
| bool | timeAligned = true ) const |
Definition at line 528 of file DigitMonitor.cxx.
|
inherited |
Definition at line 69 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
|
inherited |
Definition at line 89 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
|
inherited |
Definition at line 317 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
|
inherited |
Definition at line 284 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
| TH1D * DigitMonitor::energyDist | ( | const TString & | name, |
| int | nBins, | ||
| double | eMax = 10000 ) const |
Definition at line 41 of file DigitMonitor.cxx.
|
inherited |
Definition at line 131 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
|
static |
Definition at line 109 of file DigitMonitor.cxx.
|
staticinherited |
Definition at line 431 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
| TH1D * DigitMonitor::gainDist | ( | const TString & | name | ) | const |
Definition at line 176 of file DigitMonitor.cxx.
|
virtualinherited |
Implements LArSamples::AbsLArCells.
Definition at line 34 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
|
virtualinherited |
Reimplemented from LArSamples::AbsLArCells.
Definition at line 44 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
| Residuals * DigitMonitor::getResiduals | ( | unsigned int | hash, |
| CaloGain::CaloGain | gain, | ||
| double | absResTrunc = -1, | ||
| bool | adjust = false, | ||
| bool | zeroTime = false ) const |
Definition at line 569 of file DigitMonitor.cxx.
|
virtualinherited |
Implements LArSamples::AbsLArCells.
Definition at line 39 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
|
staticinherited |
Definition at line 404 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
|
inlineinherited |
Definition at line 74 of file LArCalorimeter/LArSamplesMon/LArSamplesMon/MonitorBase.h.
|
inline |
Definition at line 78 of file DigitMonitor.h.
| TH1D * DigitMonitor::layerDist | ( | const TString & | name | ) | const |
Definition at line 191 of file DigitMonitor.cxx.
| bool DigitMonitor::makeResidualCorrections | ( | const TString & | outputFile, |
| short | resTrunc = -1, | ||
| short | timeTrunc = -1, | ||
| double | absResTrunc = -1, | ||
| unsigned int | minSize = 0, | ||
| bool | weigh = false, | ||
| bool | adjust = false, | ||
| bool | zeroTime = false ) const |
Definition at line 580 of file DigitMonitor.cxx.
| TH2D * DigitMonitor::maxValueMap | ( | TString | name, |
| PartitionId | partition ) const |
Definition at line 53 of file DigitMonitor.cxx.
|
inline |
Definition at line 79 of file DigitMonitor.h.
| TH2D * DigitMonitor::minValueMap | ( | TString | name, |
| PartitionId | partition ) const |
Definition at line 56 of file DigitMonitor.cxx.
|
virtualinherited |
Reimplemented from LArSamples::AbsLArCells.
Definition at line 50 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
|
inlinevirtualinherited |
Definition at line 35 of file AbsLArCells.h.
|
virtualinherited |
Definition at line 44 of file AbsLArCells.cxx.
| TH1D * DigitMonitor::noiseDist | ( | const TString & | name, |
| int | nBins, | ||
| double | max ) const |
Definition at line 50 of file DigitMonitor.cxx.
|
staticinherited |
Definition at line 152 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
|
inherited |
Definition at line 113 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
|
inherited |
Definition at line 99 of file AbsLArCells.cxx.
|
inherited |
Definition at line 244 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
|
virtualinherited |
Definition at line 34 of file AbsLArCells.cxx.
|
inherited |
Definition at line 114 of file AbsLArCells.cxx.
| double DigitMonitor::residualCorr | ( | unsigned int | k1, |
| unsigned int | k2 ) const |
Definition at line 454 of file DigitMonitor.cxx.
| TH1D * DigitMonitor::residualDist | ( | unsigned int | k, |
| const TString & | name, | ||
| int | nBins, | ||
| double | rMin, | ||
| double | rMax, | ||
| bool | norm = false ) const |
Definition at line 207 of file DigitMonitor.cxx.
| bool DigitMonitor::residualParams | ( | int | lwb, |
| int | upb, | ||
| CovMatrix & | k, | ||
| TVectorD & | means ) const |
Definition at line 474 of file DigitMonitor.cxx.
| bool DigitMonitor::residualPlots | ( | CaloId | calo, |
| unsigned int | layer, | ||
| CaloGain::CaloGain | gain = CaloGain::LARHIGHGAIN, | ||
| bool | xip = false, | ||
| bool | ring = false, | ||
| double | lo = -0.05, | ||
| double | hi = 0.05, | ||
| const TString & | fileName = "residuals" ) |
Definition at line 222 of file DigitMonitor.cxx.
| bool DigitMonitor::residualPlotsGainComp | ( | CaloId | calo, |
| unsigned int | layer, | ||
| bool | ring = false, | ||
| bool | xip = false, | ||
| double | lo = -0.05, | ||
| double | hi = 0.05, | ||
| const TString & | fileName = "residuals" ) |
Definition at line 354 of file DigitMonitor.cxx.
| bool DigitMonitor::residualPlotsRingComp | ( | CaloId | calo, |
| unsigned int | layer, | ||
| CaloGain::CaloGain | gain = CaloGain::LARHIGHGAIN, | ||
| bool | xip = false, | ||
| double | lo = -0.05, | ||
| double | hi = 0.05, | ||
| const TString & | fileName = "residuals" ) |
Definition at line 279 of file DigitMonitor.cxx.
| TH1D * DigitMonitor::shapeErrorDist | ( | unsigned int | k, |
| const TString & | name, | ||
| int | nBins, | ||
| double | rMin, | ||
| double | rMax, | ||
| double | mean = 0 ) const |
Definition at line 434 of file DigitMonitor.cxx.
|
inherited |
Definition at line 375 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
|
staticinherited |
Definition at line 56 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
| TH1D * DigitMonitor::timeDist | ( | const TString & | name, |
| int | nBins, | ||
| double | tMin = -25, | ||
| double | tMax = 25 ) const |
Definition at line 44 of file DigitMonitor.cxx.
|
mutableprivateinherited |
Definition at line 55 of file AbsLArCells.h.
|
mutableprivateinherited |
Definition at line 56 of file AbsLArCells.h.
|
privateinherited |
Definition at line 87 of file LArCalorimeter/LArSamplesMon/LArSamplesMon/MonitorBase.h.
|
mutableprivateinherited |
Definition at line 54 of file AbsLArCells.h.
|
staticinherited |
Definition at line 79 of file LArCalorimeter/LArSamplesMon/LArSamplesMon/MonitorBase.h.