10#ifndef LArSamples_Residual_H
11#define LArSamples_Residual_H
43 double scaledDelta(
short i)
const;
45 TVectorD scaledDeltas()
const;
46 TVectorD scaledDeltasAndTime()
const;
88 bool medianVars(TVectorD& medians, TVectorD& widths)
const;
89 Residuals* truncate(
double nWidthsRes,
double nWidthsTime = -1,
unsigned int nMax = 0)
const;
93 TH1D*
histogram(
short sample,
const TString& name,
int nBins,
double xMin,
double xMax)
const;
121 double weight(
const Residual& residual)
const;
124 bool remove(
const Residual& residual);
134 int find(
int run,
int event)
const;
135 bool add(
int run,
int event);
139 bool fill_with_weight(
const Residual& residual,
double w);
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
storage of the time histories of all the cells
storage of the time histories of all the cells
ResidualCalculator(unsigned int l, unsigned int u, bool weigh=false)
unsigned int size() const
std::vector< int > m_runs
const Averager * regresser() const
virtual ~ResidualCalculator()
ResidualCalculator(const Averager ®resser, bool weigh=false)
int event(unsigned int i) const
int run(unsigned int i) const
std::vector< int > m_events
ResidualCompare(int sampling)
storage of a pulse shape residual set
Residual(const TVectorD &deltas=TVectorD(), int run=0, int event=0, double adcMax=-1, double time=0)
const TVectorD & deltas() const
unsigned int size() const
std::vector< Residual > m_residuals
const Residual * residual(unsigned int i) const
bool add(const Residual &residual)
Residuals(const std::vector< Residual > &r)
bool add(const std::string &hname, TKey *tobj)
std::string description
glabal timer - how long have I taken so far?
std::string find(const std::string &s)
return a remapped string
void fill(H5::Group &out_file, size_t iterations)