![]() |
ATLAS Offline Software
|
#include <History.h>
Public Member Functions | |
| History (const HistoryContainer &container, const std::vector< const EventData * > &eventData, unsigned int hash, const AbsShapeErrorGetter *shapeErrorGetter=0) | |
| Constructor. | |
| History (const std::vector< const Data * > &data, const CellInfo &info, const std::vector< const EventData * > &eventData, unsigned int hash, const AbsShapeErrorGetter *shapeErrorGetter=0) | |
| virtual | ~History () |
| HistoryContainer * | dissolve () |
| unsigned int | nData () const |
| const Data * | data (unsigned int i) const |
| const Data * | data_for_event (int event, int run=-1) const |
| const Data * | data_for_event (const EventData &eventData) const |
| const CellInfo * | cellInfo () const |
| const std::vector< const EventData * > & | eventData () const |
| bool | sum (SimpleShape *&sum, SimpleShape *&reference) const |
| bool | allShape (GraphShape *&allData, SimpleShape *&allRef) const |
| double | allChi2 (Chi2Params pars) const |
| double | chi2 (int i, int lwb=-1, int upb=-1, int chi2Params=DefaultChi2, ShapeErrorType shapeErrorType=BestShapeError, unsigned int *nDof=0) const |
| double | chi2_k (int i, double k, int lwb=-1, int upb=-1, int chi2Params=DefaultChi2) const |
| double | maxChi2 (int lwb=-1, int upb=-1, int chi2Params=DefaultChi2) const |
| OFC * | ofc (unsigned int i, int lwb=-1, int upb=-1, double time=Definitions::none, bool useCorrs=true) const |
| History * | refit (Chi2Params pars=DefaultChi2) const |
| History * | adjust () const |
| History * | filter (const TString &cuts) const |
| bool | refVal (unsigned int i, unsigned int sample, double &val, double &err) const |
| bool | delta (unsigned int i, unsigned int sample, double &del) const |
| TVectorD | deltas (unsigned int i, int lwb=-1, int upb=-1, bool correct=true) const |
| bool | isValid () const |
| TString | description (unsigned int verbosity=1) const |
| SimpleShape * | referenceShape (unsigned int k, double adcMax=-1, double time=Definitions::none, bool samplesOnly=false) const |
| SimpleShape * | deltaShape (unsigned int k, int lwb=-1, int upb=-1) const |
| unsigned int | hash () const |
| void | setShapeErrorGetter (const AbsShapeErrorGetter *err) const |
| const AbsShapeErrorGetter * | shapeErrorGetter () const |
| const ShapeErrorData * | shapeErrorData (CaloGain::CaloGain gain, ShapeErrorType shapeErrorType=BestShapeError, const Residual *res=0) const |
| const ScaledErrorData * | scaledErrorData (unsigned int i, double adcMax=-1, double time=Definitions::none, ShapeErrorType shapeErrorType=BestShapeError) const |
| bool | residualOffset (unsigned int i, short sample, double &offset, double adcMax=-1, double time=Definitions::none) const |
| bool | residualError (unsigned int i, short sample1, short sample2, double &offset, double adcMax=-1, double time=Definitions::none) const |
| bool | drawWithReference (int i, const TString &atlasTitle="") const |
| bool | drawSumWithReference () const |
| bool | drawAllWithReference (bool refit=false) const |
| bool | drawResiduals (int k=-1, bool errors=true, bool rescale=true) const |
| Averager * | calculatePedestal (int i) const |
| Residual * | residual (unsigned int k, bool correct=true, bool zeroTime=false) const |
| Residuals * | residuals (CaloGain::CaloGain gain=CaloGain::LARNGAIN, double absResTrunc=-1, bool correct=true, bool zeroTime=false) const |
| double | upstreamEnergy (unsigned int k) const |
| double | chi2Anomaly (double chi2Cut, unsigned int nDof=3) const |
| void | setInterface (const Interface *interface) const |
Private Attributes | |
| std::vector< const Data * > | m_data |
| CellInfo | m_cellInfo |
| std::vector< const EventData * > | m_eventData |
| unsigned int | m_hash |
| const AbsShapeErrorGetter * | m_shapeErrorGetter |
| const Interface * | m_interface = nullptr |
| LArSamples::History::History | ( | const HistoryContainer & | container, |
| const std::vector< const EventData * > & | eventData, | ||
| unsigned int | hash, | ||
| const AbsShapeErrorGetter * | shapeErrorGetter = 0 ) |
Constructor.
| History::History | ( | const std::vector< const Data * > & | data, |
| const CellInfo & | info, | ||
| const std::vector< const EventData * > & | eventData, | ||
| unsigned int | hash, | ||
| const AbsShapeErrorGetter * | shapeErrorGetter = 0 ) |
Definition at line 56 of file History.cxx.
|
virtual |
Definition at line 69 of file History.cxx.
| History * History::adjust | ( | ) | const |
Definition at line 259 of file History.cxx.
| double History::allChi2 | ( | Chi2Params | pars | ) | const |
Definition at line 439 of file History.cxx.
| bool History::allShape | ( | GraphShape *& | allData, |
| SimpleShape *& | allRef ) const |
Definition at line 413 of file History.cxx.
| Averager * History::calculatePedestal | ( | int | i | ) | const |
Definition at line 584 of file History.cxx.
|
inline |
| double History::chi2 | ( | int | i, |
| int | lwb = -1, | ||
| int | upb = -1, | ||
| int | chi2Params = DefaultChi2, | ||
| ShapeErrorType | shapeErrorType = BestShapeError, | ||
| unsigned int * | nDof = 0 ) const |
Definition at line 164 of file History.cxx.
| double History::chi2_k | ( | int | i, |
| double | k, | ||
| int | lwb = -1, | ||
| int | upb = -1, | ||
| int | chi2Params = DefaultChi2 ) const |
Definition at line 180 of file History.cxx.
| double History::chi2Anomaly | ( | double | chi2Cut, |
| unsigned int | nDof = 3 ) const |
Definition at line 658 of file History.cxx.
| const Data * History::data | ( | unsigned int | i | ) | const |
Definition at line 91 of file History.cxx.
Definition at line 109 of file History.cxx.
| const Data * History::data_for_event | ( | int | event, |
| int | run = -1 ) const |
Definition at line 98 of file History.cxx.
| bool History::delta | ( | unsigned int | i, |
| unsigned int | sample, | ||
| double & | del ) const |
Definition at line 366 of file History.cxx.
| TVectorD History::deltas | ( | unsigned int | i, |
| int | lwb = -1, | ||
| int | upb = -1, | ||
| bool | correct = true ) const |
Definition at line 376 of file History.cxx.
| SimpleShape * History::deltaShape | ( | unsigned int | k, |
| int | lwb = -1, | ||
| int | upb = -1 ) const |
Definition at line 556 of file History.cxx.
| TString History::description | ( | unsigned int | verbosity = 1 | ) | const |
Definition at line 574 of file History.cxx.
| HistoryContainer * History::dissolve | ( | ) |
Definition at line 79 of file History.cxx.
| bool History::drawAllWithReference | ( | bool | refit = false | ) | const |
Definition at line 484 of file History.cxx.
| bool History::drawResiduals | ( | int | k = -1, |
| bool | errors = true, | ||
| bool | rescale = true ) const |
Definition at line 522 of file History.cxx.
| bool History::drawSumWithReference | ( | ) | const |
Definition at line 474 of file History.cxx.
| bool History::drawWithReference | ( | int | i, |
| const TString & | atlasTitle = "" ) const |
Definition at line 453 of file History.cxx.
|
inline |
| History * History::filter | ( | const TString & | cuts | ) | const |
Definition at line 282 of file History.cxx.
|
inline |
| bool History::isValid | ( | ) | const |
Definition at line 152 of file History.cxx.
| double History::maxChi2 | ( | int | lwb = -1, |
| int | upb = -1, | ||
| int | chi2Params = DefaultChi2 ) const |
Definition at line 196 of file History.cxx.
|
inline |
| OFC * History::ofc | ( | unsigned int | i, |
| int | lwb = -1, | ||
| int | upb = -1, | ||
| double | time = Definitions::none, | ||
| bool | useCorrs = true ) const |
Definition at line 207 of file History.cxx.
| SimpleShape * History::referenceShape | ( | unsigned int | k, |
| double | adcMax = -1, | ||
| double | time = Definitions::none, | ||
| bool | samplesOnly = false ) const |
Definition at line 545 of file History.cxx.
| History * History::refit | ( | Chi2Params | pars = DefaultChi2 | ) | const |
Definition at line 235 of file History.cxx.
| bool History::refVal | ( | unsigned int | i, |
| unsigned int | sample, | ||
| double & | val, | ||
| double & | err ) const |
Definition at line 224 of file History.cxx.
| Residual * History::residual | ( | unsigned int | k, |
| bool | correct = true, | ||
| bool | zeroTime = false ) const |
Definition at line 604 of file History.cxx.
| bool History::residualError | ( | unsigned int | i, |
| short | sample1, | ||
| short | sample2, | ||
| double & | offset, | ||
| double | adcMax = -1, | ||
| double | time = Definitions::none ) const |
Definition at line 402 of file History.cxx.
| bool History::residualOffset | ( | unsigned int | i, |
| short | sample, | ||
| double & | offset, | ||
| double | adcMax = -1, | ||
| double | time = Definitions::none ) const |
Definition at line 391 of file History.cxx.
| Residuals * History::residuals | ( | CaloGain::CaloGain | gain = CaloGain::LARNGAIN, |
| double | absResTrunc = -1, | ||
| bool | correct = true, | ||
| bool | zeroTime = false ) const |
Definition at line 613 of file History.cxx.
| const ScaledErrorData * History::scaledErrorData | ( | unsigned int | i, |
| double | adcMax = -1, | ||
| double | time = Definitions::none, | ||
| ShapeErrorType | shapeErrorType = BestShapeError ) const |
Definition at line 349 of file History.cxx.
|
inline |
Definition at line 107 of file History.h.
|
inline |
| const ShapeErrorData * History::shapeErrorData | ( | CaloGain::CaloGain | gain, |
| ShapeErrorType | shapeErrorType = BestShapeError, | ||
| const Residual * | res = 0 ) const |
Definition at line 302 of file History.cxx.
|
inline |
| bool History::sum | ( | SimpleShape *& | sum, |
| SimpleShape *& | reference ) const |
Definition at line 127 of file History.cxx.
| double History::upstreamEnergy | ( | unsigned int | k | ) | const |
Definition at line 640 of file History.cxx.
|
private |
|
private |
|
mutableprivate |
|
mutableprivate |