|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #ifndef LArSamples_Residual_H
11 #define LArSamples_Residual_H
32 Residual(
const TVectorD& deltas = TVectorD(),
34 double adcMax = -1,
double time = 0);
38 const TVectorD&
deltas()
const {
return m_deltas; }
39 int run()
const {
return m_run; }
40 int event()
const {
return m_event; }
41 double adcMax()
const {
return m_adcMax; }
42 double time()
const {
return m_time; }
43 double scaledDelta(
short i)
const;
45 TVectorD scaledDeltas()
const;
46 TVectorD scaledDeltasAndTime()
const;
48 int lwb()
const {
return m_deltas.GetLwb(); }
49 int upb()
const {
return m_deltas.GetUpb(); }
80 unsigned int size()
const {
return m_residuals.size(); }
88 bool medianVars(TVectorD& medians, TVectorD& widths)
const;
89 Residuals*
truncate(
double nWidthsRes,
double nWidthsTime = -1,
unsigned int nMax = 0)
const;
107 : m_regresser(
l,
u + 1), m_weigh(weigh) { }
110 : m_regresser(regresser), m_weigh(weigh) { }
114 int lwb()
const {
return regresser()->lwb(); }
115 int upb()
const {
return regresser()->upb() - 1; }
117 unsigned int size()
const {
return m_events.size(); }
120 bool weigh()
const {
return m_weigh; }
131 int run(
unsigned int i)
const {
return m_runs[
i]; }
132 int event(
unsigned int i)
const {
return m_events[
i]; }
std::vector< int > m_runs
ResidualCompare(int sampling)
std::string find(const std::string &s)
return a remapped string
const Residual * residual(unsigned int i) const
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
std::vector< Residual > m_residuals
ResidualCalculator(const Averager ®resser, bool weigh=false)
const Averager * regresser() const
storage of the time histories of all the cells
unsigned int size() const
int run(unsigned int i) const
@ u
Enums for curvilinear frames.
POOL::TEvent event(POOL::TEvent::kClassAccess)
Liquid Argon class for standalone storage of cell shape information.
Residuals(const std::vector< Residual > &r)
bool add(const std::string &hname, TKey *tobj)
storage of a pulse shape residual set
ResidualCalculator(unsigned int l, unsigned int u, bool weigh=false)
void fill(H5::Group &out_file, size_t iterations)
virtual ~ResidualCalculator()
unsigned int size() const
bool add(const Residual &residual)
storage of the time histories of all the cells
Define macros for attributes used to control the static checker.
std::string description
glabal timer - how long have I taken so far?
int event(unsigned int i) const
const TVectorD & deltas() const