|
ATLAS Offline Software
|
Go to the documentation of this file.
34 m_history(history), m_index(
index)
42 m_eventData(eventData ? eventData :
other.eventData()),
79 unsigned int index = TMath::Abs(
int(
i) -
int(j));
80 if (
index >= corrs.size())
return 0;
81 double corr = corrs[
index];
89 if (adc2mev < 0)
return 0;
97 std::vector<float> samples;
108 return ((
status() >> 16) & 0
x1) != 0;
165 if (maxPos >= 0)
return sample(maxPos);
172 if (minPos >= 0)
return sample(minPos);
276 if (!
ofc)
return false;
279 dT =
ofc->time(*
this);
422 for (
int i = 0;
i < resv.GetNrows();
i++) resv(
i) /=
adcMax();
465 if (!
sed)
return -999;
477 double val = TMath::Sqrt(
sed->
xi().Norm2Sqr());
519 desc += Form(
"energy = %6.1f MeV, ",
energy());
537 if (
adcMax() < 0)
return false;
550 if (TMath::Abs(
ofcTime()) > 10)
return false;
553 if (TMath::Abs(
ofcTime()) > 5)
return false;
592 if (upe < 0 ||
energy() == 0)
return -1;
632 Double_t timeCorr=-99.;
TString description(unsigned int verbosity=1) const
int _layer(const DataFuncArgs &args) const
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
double _eta(const DataFuncArgs &args) const
bool febError(LArFebErrorSummary::LArFebErrorType error) const
double _chi2_noCorr(const DataFuncArgs &args) const
bool calcAdjust(double &k, double &dT) const
TVectorD residuals() const
unsigned int hash() const
short globalPhiRing() const
virtual ~Data()
Destructor.
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
double _adjDeltaT(const DataFuncArgs &args) const
float pedestalSubtractedSample(unsigned int i) const
double delta(short sample) const
const CellInfo * cellInfo() const
SimpleShape * referenceShape(unsigned int k, double adcMax=-1, double time=Definitions::none, bool samplesOnly=false) const
int _region(const DataFuncArgs &args) const
double covarianceMeV(unsigned int i, unsigned int j) const
short feedThrough() const
bool calcRefit(double &chi2, double &k, double &dT) const
int _ring(const DataFuncArgs &args) const
const History * m_history
int _nData(const DataFuncArgs &args) const
double residual(short sample) const
double _refitDeltaT(const DataFuncArgs &args) const
bool residualError(unsigned int i, short sample1, short sample2, double &offset, double adcMax=-1, double time=Definitions::none) const
double _energySignif(const DataFuncArgs &args) const
int _calo(const DataFuncArgs &args) 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
double residualError(short sample1, short sample2=-1, bool scale=true) const
SimpleShape * referenceShape() const
int _iPhi(const DataFuncArgs &args) const
int _hash(const DataFuncArgs &args) const
const TVectorD & xip() const
unsigned int bunchId() const
double _chi2_ringCorr(const DataFuncArgs &args) const
double _ofcSigma(const DataFuncArgs &args) const
double _phi(const DataFuncArgs &args) const
double adcMax_new() const
bool isInRange(int i) const
int _iEta(const DataFuncArgs &args) const
TVector3 position() const
int _feedThrough(const DataFuncArgs &args) const
double _chi2_k(const DataFuncArgs &args) const
static TString gainStr(CaloGain::CaloGain gain)
double _adjScale(const DataFuncArgs &args) const
void decrementInstanceCount() const
double chi2(TH1 *h0, TH1 *h1)
double chi2_k(int i, double k, int lwb=-1, int upb=-1, int chi2Params=DefaultChi2) const
double _peakSignif(const DataFuncArgs &args) const
double xiNorm(ShapeErrorType shapeErrorType=BestShapeError) const
double _timeECorr(const DataFuncArgs &args) const
double _timeForSplash2(const DataFuncArgs &args) const
double xip(short sample, ShapeErrorType shapeErrorType=BestShapeError, CaloGain::CaloGain g=CaloGain::UNKNOWNGAIN) const
bool isDisconnected() 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
double _timeForSplash1(const DataFuncArgs &args) const
double covariance(unsigned int i, unsigned int j) const
bool delta(unsigned int i, unsigned int sample, double &del) const
double _chi2_cellCorr(const DataFuncArgs &args) const
double _timeNoTOF(const DataFuncArgs &args) const
void incrementInstanceCount() const
double maxValue(bool withErrors=false) const
double resCorrN(ShapeErrorType shapeErrorType=BestShapeError) const
const DataContainer * dissolve()
double _upstreamERatio(const DataFuncArgs &args) const
CaloGain::CaloGain gain() const
int _slot(const DataFuncArgs &args) const
double _chi2Anomaly(const DataFuncArgs &args) 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
static TString str(LArFebErrorSummary::LArFebErrorType error)
double upstreamEnergy(unsigned int k) const
TVectorD deltas(unsigned int i, int lwb=-1, int upb=-1, bool correct=true) const
SimpleShape * timeAlignedShape() 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
double _x(const DataFuncArgs &args) const
double _ofcGamma(const DataFuncArgs &args) const
bool isPassed(const TString &bitName) const
const EventData * eventData() const
const TVectorD & xi() const
const ScaledErrorData * sed
const std::vector< float > & corrs() const
std::vector< float > pedestalSubtractedSamples() const
double _rt(const DataFuncArgs &args) const
int _channel(const DataFuncArgs &args) const
double _refitScale(const DataFuncArgs &args) const
double timeClCorr() const
double pedestalRMS() const
double _z(const DataFuncArgs &args) const
double _y(const DataFuncArgs &args) const
double _refitChi2(const DataFuncArgs &args) const
bool goodForShapeCorr() const