|
ATLAS Offline Software
|
#include <Data.h>
|
| Data (const DataContainer &container, const EventData &eventData, const History *history, int index, bool takeOwnership=false) |
| Constructor
More...
|
|
| Data (const Data &other, const EventData *eventData=0, const History *history=0, int index=-1) |
|
virtual | ~Data () |
| Destructor. More...
|
|
CaloGain::CaloGain | gain () const |
|
unsigned int | nSamples () const |
|
const short & | sample (unsigned int i) const |
|
float | pedestalSubtractedSample (unsigned int i) const |
|
std::vector< float > | pedestalSubtractedSamples () const |
|
const EventData * | eventData () const |
|
int | run () const |
|
int | event () const |
|
int | lumiBlock () const |
|
int | bunchId () const |
|
double | energy () const |
|
double | ofcTime () const |
|
double | quality () const |
|
double | pedestal () const |
|
double | pedestalRMS () const |
|
int | status () const |
|
double | adcMax () const |
|
double | meV2ADC () const |
|
double | adc2MeV () const |
|
bool | febError (LArFebErrorSummary::LArFebErrorType error) const |
|
bool | isDisconnected () const |
|
TString | problems (bool sayNone=false) const |
|
TString | description (unsigned int verbosity=1) const |
|
bool | isValid () const |
|
double | footprint () const |
|
short | maxSample () const |
|
short | minSample () const |
|
unsigned int | nPoints () const |
|
double | time (unsigned int i) const |
|
double | value (unsigned int i) const |
|
double | covariance (unsigned int i, unsigned int j) const |
|
unsigned int | nCorrs () const |
|
double | noise () const |
|
double | adcMax_new () const |
|
double | covarianceMeV (unsigned int i, unsigned int j) const |
|
const DataContainer & | container () const |
|
const DataContainer * | dissolve () |
|
SimpleShape * | referenceShape () const |
|
SimpleShape * | timeAlignedShape () const |
|
const ScaledErrorData * | scaledErrorData () const |
|
const History * | history () const |
|
short | index () const |
|
TVectorD | deltas () const |
|
TVectorD | residuals () const |
|
double | delta (short sample) const |
|
double | residual (short sample) const |
|
double | residualOffset (short sample, bool scale=true) const |
|
double | resCorrN (ShapeErrorType shapeErrorType=BestShapeError) const |
|
double | xi (short sample, ShapeErrorType shapeErrorType=BestShapeError, CaloGain::CaloGain g=CaloGain::UNKNOWNGAIN, bool xip=false) const |
|
double | xiNorm (ShapeErrorType shapeErrorType=BestShapeError) const |
|
double | xip (short sample, ShapeErrorType shapeErrorType=BestShapeError, CaloGain::CaloGain g=CaloGain::UNKNOWNGAIN) const |
|
double | residualError (short sample1, short sample2=-1, bool scale=true) const |
|
double | chi2 () const |
|
bool | calcRefit (double &chi2, double &k, double &dT) const |
|
bool | calcAdjust (double &k, double &dT) const |
|
bool | isPassed (const TString &bitName) const |
|
bool | goodForShapeCorr () const |
|
double | upstreamEnergy () const |
|
double | _sample (const DataFuncArgs &args) const |
|
double | _pedestalSubstractedSample (const DataFuncArgs &args) const |
|
double | _energy (const DataFuncArgs &) const |
|
double | _ofcTime (const DataFuncArgs &) const |
|
double | _quality (const DataFuncArgs &) const |
|
double | _pedestal (const DataFuncArgs &) const |
|
double | _pedestalRMS (const DataFuncArgs &) const |
|
double | _adcMax (const DataFuncArgs &) const |
|
double | _adcMax_new (const DataFuncArgs &) const |
|
double | _noise (const DataFuncArgs &) const |
|
double | _maxValue (const DataFuncArgs &) const |
|
double | _minValue (const DataFuncArgs &) const |
|
double | _null (const DataFuncArgs &) const |
|
int | _run (const DataFuncArgs &) const |
|
int | _event (const DataFuncArgs &) const |
|
int | _lumiBlock (const DataFuncArgs &) const |
|
int | _bunchId (const DataFuncArgs &) const |
|
int | _index (const DataFuncArgs &) const |
|
int | _gain (const DataFuncArgs &) const |
|
double | _delta (const DataFuncArgs &args) const |
|
double | _residual (const DataFuncArgs &args) const |
|
double | _residualOffset (const DataFuncArgs &args) const |
|
double | _resCorrN (const DataFuncArgs &) const |
|
double | _xi (const DataFuncArgs &args) const |
|
double | _xiCell (const DataFuncArgs &args) const |
|
double | _xiRing (const DataFuncArgs &args) const |
|
double | _xiNormCell (const DataFuncArgs &) const |
|
double | _xiNormRing (const DataFuncArgs &) const |
|
double | _xip (const DataFuncArgs &args) const |
|
double | _residualError (const DataFuncArgs &args) const |
|
double | _normResidualOffset (const DataFuncArgs &args) const |
|
double | _normResidualError (const DataFuncArgs &args) const |
|
double | _ofcSigma (const DataFuncArgs &args) const |
|
double | _ofcGamma (const DataFuncArgs &args) const |
|
int | _iEta (const DataFuncArgs &args) const |
|
int | _iPhi (const DataFuncArgs &args) const |
|
int | _region (const DataFuncArgs &args) const |
|
int | _layer (const DataFuncArgs &args) const |
|
int | _calo (const DataFuncArgs &args) const |
|
int | _feedThrough (const DataFuncArgs &args) const |
|
int | _slot (const DataFuncArgs &args) const |
|
int | _channel (const DataFuncArgs &args) const |
|
int | _hash (const DataFuncArgs &args) const |
|
int | _ring (const DataFuncArgs &args) const |
|
int | _nData (const DataFuncArgs &args) const |
|
int | _maxPosition (const DataFuncArgs &) const |
|
double | _count (const DataFuncArgs &) const |
|
double | _chi2 (const DataFuncArgs &) const |
|
double | _chi2_noCorr (const DataFuncArgs &args) const |
|
double | _chi2_ringCorr (const DataFuncArgs &args) const |
|
double | _chi2_cellCorr (const DataFuncArgs &args) const |
|
double | _chi2_k (const DataFuncArgs &args) const |
|
double | _refitDeltaT (const DataFuncArgs &args) const |
|
double | _refitScale (const DataFuncArgs &args) const |
|
double | _refitChi2 (const DataFuncArgs &args) const |
|
double | _adjDeltaT (const DataFuncArgs &args) const |
|
double | _adjScale (const DataFuncArgs &args) const |
|
double | _x (const DataFuncArgs &args) const |
|
double | _y (const DataFuncArgs &args) const |
|
double | _z (const DataFuncArgs &args) const |
|
double | _rt (const DataFuncArgs &args) const |
|
double | _eta (const DataFuncArgs &args) const |
|
double | _phi (const DataFuncArgs &args) const |
|
double | _timeNoTOF (const DataFuncArgs &args) const |
|
double | _timeForSplash1 (const DataFuncArgs &args) const |
|
double | _timeForSplash2 (const DataFuncArgs &args) const |
|
double | _peakSignif (const DataFuncArgs &args) const |
|
double | _energySignif (const DataFuncArgs &args) const |
|
int | _goodForShapeCorr (const DataFuncArgs &) const |
|
double | _upstreamE (const DataFuncArgs &) const |
|
double | _upstreamERatio (const DataFuncArgs &args) const |
|
double | _chi2Anomaly (const DataFuncArgs &args) const |
|
double | timeClCorr () const |
|
double | timeECorr () const |
|
double | _timeECorr (const DataFuncArgs &args) const |
|
double | _pass (const DataFuncArgs &args) const |
|
void | setCallBacks (const History *history, unsigned int index) const |
|
virtual double | error (unsigned int i) const |
|
TVectorD | values (int lwb, int upb) const |
|
int | findTimeInterval (double time) const |
|
int | interpolate (double time, double &value, double &error) const |
|
bool | interpolate (const AbsShape &other, TVectorD &values, CovMatrix &errors, int lwb=-1, int upb=-1) const |
|
int | interpolateDiff (double time, double &diff) const |
|
bool | interpolateDiff (const AbsShape &other, TVectorD &diffs, int lwb=-1, int upb=-1) const |
|
CovMatrix | covarianceMatrix (int lwb=-1, int upb=-1, const CovMatrix &refErr=CovMatrix(), bool withCorrs=true) const |
|
CovMatrix | covarianceMatrix (unsigned int nPoints, bool withCorrs=true) const |
|
CovMatrix | invCovarianceMatrix (int lwb=-1, int upb=-1, const CovMatrix &refErr=CovMatrix(), bool withCorrs=true) const |
|
CovMatrix | invCovarianceMatrix (unsigned int nPoints, bool withCorrs=true) const |
|
double | maxValue (bool withErrors=false) const |
|
double | minValue (bool withErrors=false) const |
|
int | maxPosition () const |
|
int | minPosition () const |
|
TGraphErrors * | graph (bool timeInUnitOfSamples=false) const |
|
SimpleShape * | resample (unsigned int nPts) const |
|
Definition at line 72 of file Data.h.
◆ Data() [1/2]
Constructor
Definition at line 32 of file Data.cxx.
◆ Data() [2/2]
◆ ~Data()
Destructor.
Definition at line 49 of file Data.cxx.
◆ _adcMax()
◆ _adcMax_new()
◆ _adjDeltaT()
◆ _adjScale()
◆ _bunchId()
◆ _calo()
◆ _channel()
◆ _chi2()
◆ _chi2_cellCorr()
◆ _chi2_k()
◆ _chi2_noCorr()
◆ _chi2_ringCorr()
◆ _chi2Anomaly()
◆ _count()
◆ _delta()
◆ _energy()
◆ _energySignif()
◆ _eta()
◆ _event()
◆ _feedThrough()
◆ _gain()
◆ _goodForShapeCorr()
◆ _hash()
◆ _iEta()
◆ _index()
◆ _iPhi()
◆ _layer()
◆ _lumiBlock()
◆ _maxPosition()
◆ _maxValue()
◆ _minValue()
◆ _nData()
◆ _noise()
◆ _normResidualError()
◆ _normResidualOffset()
◆ _null()
◆ _ofcGamma()
◆ _ofcSigma()
◆ _ofcTime()
◆ _pass()
◆ _peakSignif()
◆ _pedestal()
◆ _pedestalRMS()
◆ _pedestalSubstractedSample()
double LArSamples::Data::_pedestalSubstractedSample |
( |
const DataFuncArgs & |
args | ) |
const |
|
inline |
◆ _phi()
◆ _quality()
◆ _refitChi2()
◆ _refitDeltaT()
◆ _refitScale()
◆ _region()
◆ _resCorrN()
◆ _residual()
◆ _residualError()
◆ _residualOffset()
◆ _ring()
◆ _rt()
◆ _run()
◆ _sample()
◆ _slot()
◆ _timeECorr()
◆ _timeForSplash1()
◆ _timeForSplash2()
◆ _timeNoTOF()
◆ _upstreamE()
◆ _upstreamERatio()
Definition at line 589 of file Data.cxx.
592 if (upe < 0 ||
energy() == 0)
return -1;
◆ _x()
◆ _xi()
◆ _xiCell()
◆ _xiNormCell()
◆ _xiNormRing()
◆ _xip()
◆ _xiRing()
◆ _y()
◆ _z()
◆ adc2MeV()
double LArSamples::Data::adc2MeV |
( |
| ) |
const |
|
inline |
◆ adcMax()
double LArSamples::Data::adcMax |
( |
| ) |
const |
|
inline |
- Returns
- OFC peak parameters
Definition at line 124 of file Data.h.
◆ adcMax_new()
double Data::adcMax_new |
( |
| ) |
const |
◆ bunchId()
int Data::bunchId |
( |
| ) |
const |
◆ calcAdjust()
bool Data::calcAdjust |
( |
double & |
k, |
|
|
double & |
dT |
|
) |
| const |
Definition at line 272 of file Data.cxx.
276 if (!
ofc)
return false;
279 dT =
ofc->time(*
this);
◆ calcRefit()
bool Data::calcRefit |
( |
double & |
chi2, |
|
|
double & |
k, |
|
|
double & |
dT |
|
) |
| const |
◆ chi2()
double Data::chi2 |
( |
| ) |
const |
◆ container()
◆ covariance()
double Data::covariance |
( |
unsigned int |
i, |
|
|
unsigned int |
j |
|
) |
| const |
|
virtual |
◆ covarianceMatrix() [1/2]
Definition at line 198 of file AbsShape.cxx.
202 if (lwb < 0 || upb < 0) { lwb = 0; upb =
nPoints() - 1; }
204 for (
int i = lwb;
i <= upb;
i++) {
205 for (
int j = lwb; j <= upb; j++) {
207 if (refErr.GetNrows() > 0)
cov += refErr(
i, j);
◆ covarianceMatrix() [2/2]
CovMatrix AbsShape::covarianceMatrix |
( |
unsigned int |
nPoints, |
|
|
bool |
withCorrs = true |
|
) |
| const |
|
inherited |
◆ covarianceMeV()
double Data::covarianceMeV |
( |
unsigned int |
i, |
|
|
unsigned int |
j |
|
) |
| const |
Definition at line 86 of file Data.cxx.
89 if (adc2mev < 0)
return 0;
◆ delta()
double Data::delta |
( |
short |
sample | ) |
const |
◆ deltas()
TVectorD Data::deltas |
( |
| ) |
const |
◆ description()
TString Data::description |
( |
unsigned int |
verbosity = 1 | ) |
const |
◆ dissolve()
◆ energy()
double LArSamples::Data::energy |
( |
| ) |
const |
|
inline |
- Returns
- energy
Definition at line 108 of file Data.h.
◆ error()
double AbsShape::error |
( |
unsigned int |
i | ) |
const |
|
virtualinherited |
◆ event()
int Data::event |
( |
| ) |
const |
- Returns
- event
Definition at line 28 of file Data.cxx.
◆ eventData()
◆ febError()
◆ findTimeInterval()
int AbsShape::findTimeInterval |
( |
double |
time | ) |
const |
|
inherited |
◆ footprint()
double LArSamples::Data::footprint |
( |
| ) |
const |
|
inline |
◆ gain()
- Returns
- gain value
Definition at line 85 of file Data.h.
◆ gainStr()
◆ goodForShapeCorr()
bool Data::goodForShapeCorr |
( |
| ) |
const |
Definition at line 535 of file Data.cxx.
537 if (
adcMax() < 0)
return false;
550 if (TMath::Abs(
ofcTime()) > 10)
return false;
553 if (TMath::Abs(
ofcTime()) > 5)
return false;
◆ graph()
TGraphErrors * AbsShape::graph |
( |
bool |
timeInUnitOfSamples = false | ) |
const |
|
inherited |
◆ history()
◆ index()
short LArSamples::Data::index |
( |
| ) |
const |
|
inline |
◆ interpolate() [1/2]
bool AbsShape::interpolate |
( |
const AbsShape & |
other, |
|
|
TVectorD & |
values, |
|
|
CovMatrix & |
errors, |
|
|
int |
lwb = -1 , |
|
|
int |
upb = -1 |
|
) |
| const |
|
inherited |
Definition at line 147 of file AbsShape.cxx.
149 if (lwb < 0) lwb = 0;
150 if (upb < 0) upb =
other.nPoints() - 1;
151 values.ResizeTo(lwb, upb);
152 errors.ResizeTo(lwb, upb, lwb, upb);
153 int actualLwb = -1, actualUpb = upb;
154 for (
int i = lwb;
i <= upb;
i++) {
157 if (
stat == 0 && actualLwb < 0) actualLwb =
i;
158 if (
stat == +1) { actualUpb =
i - 1;
break; }
162 values.ResizeTo(actualLwb, actualUpb);
163 errors.ResizeTo(actualLwb, actualUpb, actualLwb, actualUpb);
164 return (actualLwb >= 0);
◆ interpolate() [2/2]
int AbsShape::interpolate |
( |
double |
time, |
|
|
double & |
value, |
|
|
double & |
error |
|
) |
| const |
|
inherited |
◆ interpolateDiff() [1/2]
bool AbsShape::interpolateDiff |
( |
const AbsShape & |
other, |
|
|
TVectorD & |
diffs, |
|
|
int |
lwb = -1 , |
|
|
int |
upb = -1 |
|
) |
| const |
|
inherited |
Definition at line 168 of file AbsShape.cxx.
170 if (lwb < 0) lwb = 0;
171 if (upb < 0) upb =
other.nPoints() - 1;
172 diffs.ResizeTo(lwb, upb);
173 int actualLwb = -1, actualUpb = upb;
174 for (
int i = lwb;
i <= upb;
i++) {
177 if (
stat == 0 && actualLwb < 0) actualLwb =
i;
178 if (
stat == +1) { actualUpb =
i - 1;
break; }
181 diffs.ResizeTo(actualLwb, actualUpb);
182 return (actualLwb >= 0);
◆ interpolateDiff() [2/2]
int AbsShape::interpolateDiff |
( |
double |
time, |
|
|
double & |
diff |
|
) |
| const |
|
inherited |
◆ invCovarianceMatrix() [1/2]
◆ invCovarianceMatrix() [2/2]
CovMatrix AbsShape::invCovarianceMatrix |
( |
unsigned int |
nPoints, |
|
|
bool |
withCorrs = true |
|
) |
| const |
|
inherited |
◆ isDisconnected()
bool Data::isDisconnected |
( |
| ) |
const |
◆ isPassed()
bool Data::isPassed |
( |
const TString & |
bitName | ) |
const |
◆ isValid()
bool Data::isValid |
( |
| ) |
const |
◆ lumiBlock()
int Data::lumiBlock |
( |
| ) |
const |
- Returns
- lumi block
Definition at line 29 of file Data.cxx.
◆ maxPosition()
int AbsShape::maxPosition |
( |
| ) |
const |
|
inherited |
◆ maxSample()
short Data::maxSample |
( |
| ) |
const |
◆ maxValue()
double AbsShape::maxValue |
( |
bool |
withErrors = false | ) |
const |
|
inherited |
- Returns
- sample max parameters
Definition at line 30 of file AbsShape.cxx.
◆ meV2ADC()
double LArSamples::Data::meV2ADC |
( |
| ) |
const |
|
inline |
◆ minPosition()
int AbsShape::minPosition |
( |
| ) |
const |
|
inherited |
◆ minSample()
short Data::minSample |
( |
| ) |
const |
◆ minValue()
double AbsShape::minValue |
( |
bool |
withErrors = false | ) |
const |
|
inherited |
◆ nCorrs()
unsigned int LArSamples::Data::nCorrs |
( |
| ) |
const |
|
inline |
◆ noise()
double Data::noise |
( |
| ) |
const |
◆ nPoints()
unsigned int LArSamples::Data::nPoints |
( |
| ) |
const |
|
inlinevirtual |
◆ nSamples()
unsigned int LArSamples::Data::nSamples |
( |
| ) |
const |
|
inline |
- Returns
- number of samples
Definition at line 88 of file Data.h.
◆ ofcTime()
double LArSamples::Data::ofcTime |
( |
| ) |
const |
|
inline |
- Returns
- time
Definition at line 111 of file Data.h.
◆ pedestal()
double LArSamples::Data::pedestal |
( |
| ) |
const |
|
inline |
- Returns
- pedestal
Definition at line 117 of file Data.h.
◆ pedestalRMS()
double LArSamples::Data::pedestalRMS |
( |
| ) |
const |
|
inline |
◆ pedestalSubtractedSample()
float LArSamples::Data::pedestalSubtractedSample |
( |
unsigned int |
i | ) |
const |
|
inline |
◆ pedestalSubtractedSamples()
std::vector< float > Data::pedestalSubtractedSamples |
( |
| ) |
const |
Definition at line 95 of file Data.cxx.
97 std::vector<float> samples;
◆ problems()
TString Data::problems |
( |
bool |
sayNone = false | ) |
const |
◆ quality()
double LArSamples::Data::quality |
( |
| ) |
const |
|
inline |
- Returns
- pedestal
Definition at line 114 of file Data.h.
◆ referenceShape()
◆ resample()
SimpleShape * AbsShape::resample |
( |
unsigned int |
nPts | ) |
const |
|
inherited |
Definition at line 237 of file AbsShape.cxx.
242 double dT = (
t1 -
t0)/nPts;
244 for (
unsigned int i = 0;
i < nPts;
i++,
t += dT) {
247 if (
inRange != 0)
return nullptr;
◆ resCorrN()
◆ residual()
double Data::residual |
( |
short |
sample | ) |
const |
◆ residualError()
double Data::residualError |
( |
short |
sample1, |
|
|
short |
sample2 = -1 , |
|
|
bool |
scale = true |
|
) |
| const |
◆ residualOffset()
double Data::residualOffset |
( |
short |
sample, |
|
|
bool |
scale = true |
|
) |
| const |
◆ residuals()
TVectorD Data::residuals |
( |
| ) |
const |
Definition at line 418 of file Data.cxx.
422 for (
int i = 0;
i < resv.GetNrows();
i++) resv(
i) /=
adcMax();
◆ run()
- Returns
- run
Definition at line 27 of file Data.cxx.
◆ sample()
const short& LArSamples::Data::sample |
( |
unsigned int |
i | ) |
const |
|
inline |
- Returns
- a sample value
Definition at line 91 of file Data.h.
◆ scaledErrorData()
◆ setCallBacks()
void LArSamples::Data::setCallBacks |
( |
const History * |
history, |
|
|
unsigned int |
index |
|
) |
| const |
|
inline |
◆ setTimeShift()
static void LArSamples::Data::setTimeShift |
( |
double |
shift = 0 | ) |
|
|
inlinestatic |
◆ status()
int LArSamples::Data::status |
( |
| ) |
const |
|
inline |
- Returns
- status
Definition at line 121 of file Data.h.
◆ str()
◆ time()
double LArSamples::Data::time |
( |
unsigned int |
i | ) |
const |
|
inlinevirtual |
◆ timeAlignedShape()
◆ timeClCorr()
double Data::timeClCorr |
( |
| ) |
const |
◆ timeECorr()
double Data::timeECorr |
( |
| ) |
const |
Definition at line 629 of file Data.cxx.
632 Double_t timeCorr=-99.;
◆ timeShift()
static double LArSamples::Data::timeShift |
( |
| ) |
|
|
inlinestatic |
◆ upstreamEnergy()
double Data::upstreamEnergy |
( |
| ) |
const |
◆ value()
double LArSamples::Data::value |
( |
unsigned int |
i | ) |
const |
|
inlinevirtual |
◆ values()
TVectorD AbsShape::values |
( |
int |
lwb, |
|
|
int |
upb |
|
) |
| const |
|
inherited |
Definition at line 135 of file AbsShape.cxx.
137 if (lwb < 0) lwb = 0;
140 TVectorD
vals(lwb, upb);
141 for (
int i = lwb;
i <= upb;
i++)
◆ xi()
◆ xiNorm()
◆ xip()
◆ DataTweaker
◆ m_container
◆ m_eventData
◆ m_history
◆ m_index
unsigned int LArSamples::Data::m_index |
|
mutableprivate |
◆ m_timeShift
std::atomic<double> LArSamples::Data::m_timeShift {0} |
|
inlinestaticprivate |
The documentation for this class was generated from the following files:
const short & sample(unsigned int i) const
Data(const DataContainer &container, const EventData &eventData, const History *history, int index, bool takeOwnership=false)
Constructor
double upstreamEnergy() const
const ShapeFitter * fitter
virtual double covariance(unsigned int i, unsigned int j) const =0
bool calcAdjust(double &k, double &dT) const
unsigned int hash() const
short globalPhiRing() const
const DataContainer & container() const
static bool matchCalo(CaloId id, CaloId idSpec)
const ScaledErrorData * scaledErrorData(unsigned int i, double adcMax=-1, double time=Definitions::none, ShapeErrorType shapeErrorType=BestShapeError) const
double chi2Anomaly(double chi2Cut, unsigned int nDof=3) const
float pedestalSubtractedSample(unsigned int i) const
double delta(short sample) const
CaloGain::CaloGain gain() const
const CellInfo * cellInfo() const
TMatrixTSym< double > CovMatrix
SimpleShape * referenceShape(unsigned int k, double adcMax=-1, double time=Definitions::none, bool samplesOnly=false) const
static double samplingTime(unsigned int i)
std::vector< ALFA_RawData_p1 > t0
short feedThrough() const
virtual double value(unsigned int i) const =0
std::vector< ALFA_RawDataCollection_p1 > t1
bool calcRefit(double &chi2, double &k, double &dT) const
const History * m_history
double minValue(bool withErrors=false) const
double residual(short sample) const
bool residualError(unsigned int i, short sample1, short sample2, double &offset, double adcMax=-1, double time=Definitions::none) const
OFC * ofc(unsigned int i, int lwb=-1, int upb=-1, double time=Definitions::none, bool useCorrs=true) const
bool fit(const LArSamples::AbsShape &data, const AbsShape &reference, double &k, double &deltaT, double &chi2, const ScaledErrorData *sed=0) const
unsigned int nSamples() const
int interpolate(double time, double &value, double &error) const
double residualError(short sample1, short sample2=-1, bool scale=true) const
SimpleShape * referenceShape() const
const TVectorD & xip() const
unsigned int bunchId() const
float pedestalRMS() const
virtual double error(unsigned int i) const
double adcMax_new() const
bool isInRange(int i) const
const EventData *const m_eventData
TGraphErrors * graph(bool timeInUnitOfSamples=false) const
TVector3 position() const
static TString gainStr(CaloGain::CaloGain gain)
void decrementInstanceCount() const
static std::atomic< double > m_timeShift
double chi2_k(int i, double k, int lwb=-1, int upb=-1, int chi2Params=DefaultChi2) const
double xiNorm(ShapeErrorType shapeErrorType=BestShapeError) const
double xip(short sample, ShapeErrorType shapeErrorType=BestShapeError, CaloGain::CaloGain g=CaloGain::UNKNOWNGAIN) const
bool isDisconnected() const
int findTimeInterval(double time) const
unsigned int nData() const
const DataContainer *const m_container
const ScaledErrorData * scaledErrorData() const
double chi2(int i, int lwb=-1, int upb=-1, int chi2Params=DefaultChi2, ShapeErrorType shapeErrorType=BestShapeError, unsigned int *nDof=0) const
const short & sample(unsigned int i) const
bool inRange(const double *boundaries, const double value, const double tolerance=0.02)
double covariance(unsigned int i, unsigned int j) const
bool delta(unsigned int i, unsigned int sample, double &del) const
double _timeNoTOF(const DataFuncArgs &args) const
void incrementInstanceCount() const
double maxValue(bool withErrors=false) const
double resCorrN(ShapeErrorType shapeErrorType=BestShapeError) const
CaloGain::CaloGain gain() const
TString problems(bool sayNone=false) const
double residualOffset(short sample, bool scale=true) const
const ShapeErrorData * shapeErrorData(CaloGain::CaloGain gain, ShapeErrorType shapeErrorType=BestShapeError, const Residual *res=0) const
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
double upstreamEnergy(unsigned int k) const
TVectorD deltas(unsigned int i, int lwb=-1, int upb=-1, bool correct=true) const
bool residualOffset(unsigned int i, short sample, double &offset, double adcMax=-1, double time=Definitions::none) const
double xi(short sample, ShapeErrorType shapeErrorType=BestShapeError, CaloGain::CaloGain g=CaloGain::UNKNOWNGAIN, bool xip=false) const
unsigned int nSamples() const
unsigned int lumiBlock() const
bool isPassed(const TString &bitName) const
const EventData * eventData() const
CovMatrix covarianceMatrix(int lwb=-1, int upb=-1, const CovMatrix &refErr=CovMatrix(), bool withCorrs=true) const
const TVectorD & xi() const
const std::vector< float > & corrs() const
const ScaledErrorData * sed
static const unsigned int samplingInterval
virtual double time(unsigned int i) const =0
double timeClCorr() const
double pedestalRMS() const
TVectorD values(int lwb, int upb) const
int interpolateDiff(double time, double &diff) const
bool goodForShapeCorr() const
virtual unsigned int nPoints() const =0
const History * history() const