![]() |
ATLAS Offline Software
|
#include <History.h>
Public Member Functions | |
| History (const HistoryContainer &container, std::vector< std::unique_ptr< const EventData > > &&eventData, unsigned int hash, const AbsShapeErrorGetter *shapeErrorGetter=0) | |
| Constructor. | |
| History (std::vector< std::unique_ptr< const Data > > &&data, const CellInfo &info, std::vector< std::unique_ptr< const EventData > > &&eventData, unsigned int hash, const AbsShapeErrorGetter *shapeErrorGetter=0) | |
| virtual | ~History () |
| std::unique_ptr< 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< std::unique_ptr< const EventData > > & | eventData () const |
| bool | sum (std::unique_ptr< SimpleShape > &sum, std::unique_ptr< SimpleShape > &reference) const |
| bool | allShape (std::unique_ptr< GraphShape > &allData, std::unique_ptr< 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 |
| std::unique_ptr< OFC > | ofc (unsigned int i, int lwb=-1, int upb=-1, double time=Definitions::none, bool useCorrs=true) const |
| std::unique_ptr< History > | refit (Chi2Params pars=DefaultChi2) const |
| std::unique_ptr< History > | adjust () const |
| std::unique_ptr< 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 |
| std::unique_ptr< SimpleShape > | referenceShape (unsigned int k, double adcMax=-1, double time=Definitions::none, bool samplesOnly=false) const |
| std::unique_ptr< 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 |
| std::unique_ptr< const ShapeErrorData > | shapeErrorData (CaloGain::CaloGain gain, ShapeErrorType shapeErrorType=BestShapeError, const Residual *res=0) const |
| std::unique_ptr< 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 |
| std::unique_ptr< Averager > | calculatePedestal (int i) const |
| std::unique_ptr< Residual > | residual (unsigned int k, bool correct=true, bool zeroTime=false) const |
| std::unique_ptr< 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< std::unique_ptr< const Data > > | m_data |
| CellInfo | m_cellInfo |
| std::vector< std::unique_ptr< const EventData > > | m_eventData |
| unsigned int | m_hash |
| const AbsShapeErrorGetter * | m_shapeErrorGetter |
| const Interface * | m_interface = nullptr |
| LArSamples::History::History | ( | const HistoryContainer & | container, |
| std::vector< std::unique_ptr< const EventData > > && | eventData, | ||
| unsigned int | hash, | ||
| const AbsShapeErrorGetter * | shapeErrorGetter = 0 ) |
Constructor.
| History::History | ( | std::vector< std::unique_ptr< const Data > > && | data, |
| const CellInfo & | info, | ||
| std::vector< std::unique_ptr< const EventData > > && | eventData, | ||
| unsigned int | hash, | ||
| const AbsShapeErrorGetter * | shapeErrorGetter = 0 ) |
Definition at line 56 of file History.cxx.
|
virtual |
Definition at line 70 of file History.cxx.
| std::unique_ptr< History > History::adjust | ( | ) | const |
Definition at line 250 of file History.cxx.
| double History::allChi2 | ( | Chi2Params | pars | ) | const |
Definition at line 425 of file History.cxx.
| bool History::allShape | ( | std::unique_ptr< GraphShape > & | allData, |
| std::unique_ptr< SimpleShape > & | allRef ) const |
Definition at line 400 of file History.cxx.
| std::unique_ptr< Averager > History::calculatePedestal | ( | int | i | ) | const |
Definition at line 563 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 161 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 175 of file History.cxx.
| double History::chi2Anomaly | ( | double | chi2Cut, |
| unsigned int | nDof = 3 ) const |
Definition at line 637 of file History.cxx.
| const Data * History::data | ( | unsigned int | i | ) | const |
Definition at line 88 of file History.cxx.
Definition at line 106 of file History.cxx.
| const Data * History::data_for_event | ( | int | event, |
| int | run = -1 ) const |
Definition at line 95 of file History.cxx.
| bool History::delta | ( | unsigned int | i, |
| unsigned int | sample, | ||
| double & | del ) const |
Definition at line 357 of file History.cxx.
| TVectorD History::deltas | ( | unsigned int | i, |
| int | lwb = -1, | ||
| int | upb = -1, | ||
| bool | correct = true ) const |
Definition at line 367 of file History.cxx.
| std::unique_ptr< SimpleShape > History::deltaShape | ( | unsigned int | k, |
| int | lwb = -1, | ||
| int | upb = -1 ) const |
Definition at line 537 of file History.cxx.
| TString History::description | ( | unsigned int | verbosity = 1 | ) | const |
Definition at line 553 of file History.cxx.
| std::unique_ptr< HistoryContainer > History::dissolve | ( | ) |
Definition at line 76 of file History.cxx.
| bool History::drawAllWithReference | ( | bool | refit = false | ) | const |
Definition at line 469 of file History.cxx.
| bool History::drawResiduals | ( | int | k = -1, |
| bool | errors = true, | ||
| bool | rescale = true ) const |
Definition at line 505 of file History.cxx.
| bool History::drawSumWithReference | ( | ) | const |
Definition at line 458 of file History.cxx.
| bool History::drawWithReference | ( | int | i, |
| const TString & | atlasTitle = "" ) const |
Definition at line 437 of file History.cxx.
|
inline |
| std::unique_ptr< History > History::filter | ( | const TString & | cuts | ) | const |
Definition at line 272 of file History.cxx.
|
inline |
| bool History::isValid | ( | ) | const |
Definition at line 149 of file History.cxx.
| double History::maxChi2 | ( | int | lwb = -1, |
| int | upb = -1, | ||
| int | chi2Params = DefaultChi2 ) const |
Definition at line 189 of file History.cxx.
|
inline |
| std::unique_ptr< OFC > History::ofc | ( | unsigned int | i, |
| int | lwb = -1, | ||
| int | upb = -1, | ||
| double | time = Definitions::none, | ||
| bool | useCorrs = true ) const |
Definition at line 201 of file History.cxx.
| std::unique_ptr< SimpleShape > History::referenceShape | ( | unsigned int | k, |
| double | adcMax = -1, | ||
| double | time = Definitions::none, | ||
| bool | samplesOnly = false ) const |
Definition at line 527 of file History.cxx.
| std::unique_ptr< History > History::refit | ( | Chi2Params | pars = DefaultChi2 | ) | const |
Definition at line 227 of file History.cxx.
| bool History::refVal | ( | unsigned int | i, |
| unsigned int | sample, | ||
| double & | val, | ||
| double & | err ) const |
Definition at line 217 of file History.cxx.
| std::unique_ptr< Residual > History::residual | ( | unsigned int | k, |
| bool | correct = true, | ||
| bool | zeroTime = false ) const |
Definition at line 583 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 390 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 380 of file History.cxx.
| std::unique_ptr< Residuals > History::residuals | ( | CaloGain::CaloGain | gain = CaloGain::LARNGAIN, |
| double | absResTrunc = -1, | ||
| bool | correct = true, | ||
| bool | zeroTime = false ) const |
Definition at line 593 of file History.cxx.
| std::unique_ptr< const ScaledErrorData > History::scaledErrorData | ( | unsigned int | i, |
| double | adcMax = -1, | ||
| double | time = Definitions::none, | ||
| ShapeErrorType | shapeErrorType = BestShapeError ) const |
Definition at line 341 of file History.cxx.
|
inline |
Definition at line 113 of file History.h.
|
inline |
| std::unique_ptr< const ShapeErrorData > History::shapeErrorData | ( | CaloGain::CaloGain | gain, |
| ShapeErrorType | shapeErrorType = BestShapeError, | ||
| const Residual * | res = 0 ) const |
Definition at line 293 of file History.cxx.
|
inline |
| bool History::sum | ( | std::unique_ptr< SimpleShape > & | sum, |
| std::unique_ptr< SimpleShape > & | reference ) const |
Definition at line 124 of file History.cxx.
| double History::upstreamEnergy | ( | unsigned int | k | ) | const |
Definition at line 620 of file History.cxx.
|
private |
|
private |
|
mutableprivate |
|
mutableprivate |