|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #ifndef LArSamples_Data_H
11 #define LArSamples_Data_H
38 const TString& a_str =
"") {
init();
i1 = a_i1;
i2 = a_i2;
x1 = a_x1;
x2 = a_x2;
str = a_str; }
93 std::vector<float> pedestalSubtractedSamples()
const;
121 int status()
const {
return m_container->status(); }
129 bool isDisconnected()
const;
130 TString problems(
bool sayNone =
false)
const;
140 short maxSample()
const;
141 short minSample()
const;
146 double value(
unsigned int i)
const {
return pedestalSubtractedSample(
i); }
147 double covariance(
unsigned int i,
unsigned int j)
const;
149 unsigned int nCorrs()
const {
return container().
corrs().size(); }
150 double noise()
const;
152 double adcMax_new()
const;
154 double covarianceMeV(
unsigned int i,
unsigned int j)
const;
166 short index()
const {
return m_index; }
168 TVectorD deltas()
const;
169 TVectorD residuals()
const;
171 double delta(
short sample)
const;
174 double residualOffset(
short sample,
bool scale =
true)
const;
179 double residualError(
short sample1,
short sample2 = -1,
bool scale =
true)
const;
182 bool calcRefit(
double&
chi2,
double&
k,
double& dT)
const;
183 bool calcAdjust(
double&
k,
double& dT)
const;
185 bool isPassed(
const TString& bitName)
const;
186 bool goodForShapeCorr()
const;
187 double upstreamEnergy()
const;
264 double timeClCorr()
const;
266 double timeECorr()
const;
285 inline static std::atomic<double> m_timeShift{0};
const short & sample(unsigned int i) const
double time(unsigned int i) const
char data[hepevt_bytes_allocation_ATLAS]
double _xip(const DataFuncArgs &args) const
const DataContainer & container() const
#define maxValue(current, test)
double _sample(const DataFuncArgs &args) const
float pedestalSubtractedSample(unsigned int i) const
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
CaloGain::CaloGain gain() const
void setCallBacks(const History *history, unsigned int index) const
static double samplingTime(unsigned int i)
double _pedestalRMS(const DataFuncArgs &) const
double _xi(const DataFuncArgs &args) const
double _xiNormRing(const DataFuncArgs &) const
double intVal(const Data &data, const DataFuncArgs &args) const
int run(int argc, char *argv[])
const History * m_history
double doubleVal(const Data &data, const DataFuncArgs &args) const
DataFunc< double >::Type doubleFunc
double _pass(const DataFuncArgs &args) const
Liquid Argon class for standalone storage of cell shape information.
bool isValid(const T &p)
Av: we implement here an ATLAS-sepcific convention: all particles which are 99xxxxx are fine.
unsigned int nSamples() const
double _normResidualOffset(const DataFuncArgs &args) const
double _quality(const DataFuncArgs &) const
double _upstreamE(const DataFuncArgs &) const
double _delta(const DataFuncArgs &args) const
int _gain(const DataFuncArgs &) const
double _resCorrN(const DataFuncArgs &) const
double value(unsigned int i) const
float pedestalRMS() const
double _adcMax_new(const DataFuncArgs &) const
const EventData *const m_eventData
double _residualOffset(const DataFuncArgs &args) const
POOL::TEvent event(POOL::TEvent::kClassAccess)
int _maxPosition(const DataFuncArgs &) const
DataFuncArgs(const TString &a_str)
double _null(const DataFuncArgs &) const
static void setTimeShift(double shift=0)
double _pedestalSubstractedSample(const DataFuncArgs &args) const
static double timeShift()
double chi2(TH1 *h0, TH1 *h1)
double _normResidualError(const DataFuncArgs &args) const
const DataContainer *const m_container
double _xiNormCell(const DataFuncArgs &) const
unsigned int nCorrs() const
const short & sample(unsigned int i) const
unsigned int nPoints() const
double _ofcTime(const DataFuncArgs &) const
double _minValue(const DataFuncArgs &) const
CaloGain::CaloGain gain() const
double _maxValue(const DataFuncArgs &) const
double _noise(const DataFuncArgs &) const
int _run(const DataFuncArgs &) const
double _energy(const DataFuncArgs &) const
int _goodForShapeCorr(const DataFuncArgs &) const
DataFuncSet(DataFunc< int >::Type intF)
double _count(const DataFuncArgs &) const
DataFunc< int >::Type intFunc
double val(const Data &data, const DataFuncArgs &args) const
int _index(const DataFuncArgs &) const
unsigned int nSamples() const
double _residual(const DataFuncArgs &args) const
DataFuncArgs(int a_i1, int a_i2=-1, double a_x1=Definitions::none, double a_x2=Definitions::none, const TString &a_str="")
DataFuncArgs(double a_x1, double a_x2=Definitions::none)
double _residualError(const DataFuncArgs &args) const
const EventData * eventData() const
const std::vector< float > & corrs() const
int _lumiBlock(const DataFuncArgs &) const
#define minValue(current, test)
double _chi2(const DataFuncArgs &) const
double pedestalRMS() const
double _adcMax(const DataFuncArgs &) const
double _pedestal(const DataFuncArgs &) const
int _event(const DataFuncArgs &) const
int _bunchId(const DataFuncArgs &) const
double _xiRing(const DataFuncArgs &args) const
std::string description
glabal timer - how long have I taken so far?
DataFuncSet(DataFunc< double >::Type doubleF)
double _xiCell(const DataFuncArgs &args) const
const History * history() const