#include <Residual.h>
◆ ResidualCalculator() [1/3]
LArSamples::ResidualCalculator::ResidualCalculator |
( |
| ) |
|
|
inline |
◆ ResidualCalculator() [2/3]
LArSamples::ResidualCalculator::ResidualCalculator |
( |
unsigned int |
l, |
|
|
unsigned int |
u, |
|
|
bool |
weigh = false |
|
) |
| |
|
inline |
◆ ResidualCalculator() [3/3]
LArSamples::ResidualCalculator::ResidualCalculator |
( |
const Averager & |
regresser, |
|
|
bool |
weigh = false |
|
) |
| |
|
inline |
◆ ~ResidualCalculator()
virtual LArSamples::ResidualCalculator::~ResidualCalculator |
( |
| ) |
|
|
inlinevirtual |
◆ add()
bool ResidualCalculator::add |
( |
int |
run, |
|
|
int |
event |
|
) |
| |
◆ append()
◆ checkRange()
bool IndexRange::checkRange |
( |
int & |
l, |
|
|
int & |
h |
|
) |
| const |
|
inherited |
Definition at line 14 of file IndexRange.cxx.
19 cout <<
"IndexRange::checkRange : lower bound " <<
l <<
" is out of bounds" << endl;
26 cout <<
"IndexRange::checkRange : upper bound " <<
h <<
" is out of bounds" << endl;
◆ commonLwb()
◆ commonUpb()
◆ description()
TString ResidualCalculator::description |
( |
| ) |
const |
◆ event()
int LArSamples::ResidualCalculator::event |
( |
unsigned int |
i | ) |
const |
|
inline |
◆ fill()
◆ fill_with_weight()
bool ResidualCalculator::fill_with_weight |
( |
const Residual & |
residual, |
|
|
double |
w |
|
) |
| |
|
private |
◆ find()
int ResidualCalculator::find |
( |
int |
run, |
|
|
int |
event |
|
) |
| const |
◆ hasSameRange() [1/3]
bool LArSamples::IndexRange::hasSameRange |
( |
const IndexRange & |
other | ) |
const |
|
inlineinherited |
◆ hasSameRange() [2/3]
bool LArSamples::IndexRange::hasSameRange |
( |
const TVectorD & |
v | ) |
const |
|
inlineinherited |
◆ hasSameRange() [3/3]
bool LArSamples::IndexRange::hasSameRange |
( |
int |
lw, |
|
|
int |
up |
|
) |
| const |
|
inlineinherited |
◆ isInRange()
bool LArSamples::IndexRange::isInRange |
( |
int |
i | ) |
const |
|
inlineinherited |
◆ lwb()
int LArSamples::ResidualCalculator::lwb |
( |
| ) |
const |
|
inlinevirtual |
◆ providesRange() [1/3]
bool LArSamples::IndexRange::providesRange |
( |
const IndexRange & |
other | ) |
const |
|
inlineinherited |
◆ providesRange() [2/3]
bool LArSamples::IndexRange::providesRange |
( |
const TVectorD & |
v | ) |
const |
|
inlineinherited |
◆ providesRange() [3/3]
bool LArSamples::IndexRange::providesRange |
( |
int |
lw, |
|
|
int |
up |
|
) |
| const |
|
inlineinherited |
◆ rangeStr()
TString LArSamples::IndexRange::rangeStr |
( |
| ) |
const |
|
inlineinherited |
◆ regresser()
const Averager* LArSamples::ResidualCalculator::regresser |
( |
| ) |
const |
|
inline |
◆ remove()
◆ run()
int LArSamples::ResidualCalculator::run |
( |
unsigned int |
i | ) |
const |
|
inline |
◆ shapeErrorData()
Definition at line 236 of file LArCalorimeter/LArSamplesMon/src/Residual.cxx.
244 TVectorD xip(
lwb(),
upb());
247 if (
size() > 2) cout <<
"WARNING: variance of t < 1E-6, returning correction without derivative term. (V = " <<
denom <<
", N = " <<
size() <<
")" << endl;
251 TVectorD xip = TVectorD(
regresser()->covarianceMatrix()[
upb() + 1]).GetSub(
lwb(),
upb(),
"I");
254 TVectorD xipErrVect = TVectorD(
regresser()->covarianceMatrixErrors()[
upb() + 1]).GetSub(
lwb(),
upb(),
"I");
255 xipErrVect *= 1/
denom;
257 for (
int k1 =
lwb(); k1 <=
upb(); k1++) xipErr(k1, k1) = TMath::Power(xipErrVect(k1), 2);
◆ size()
unsigned int LArSamples::ResidualCalculator::size |
( |
| ) |
const |
|
inline |
◆ upb()
int LArSamples::ResidualCalculator::upb |
( |
| ) |
const |
|
inlinevirtual |
◆ weigh()
bool LArSamples::ResidualCalculator::weigh |
( |
| ) |
const |
|
inline |
◆ weight()
double ResidualCalculator::weight |
( |
const Residual & |
residual | ) |
const |
◆ m_events
std::vector<int> LArSamples::ResidualCalculator::m_events |
|
private |
◆ m_regresser
Averager LArSamples::ResidualCalculator::m_regresser |
|
private |
◆ m_runs
std::vector<int> LArSamples::ResidualCalculator::m_runs |
|
private |
◆ m_weigh
bool LArSamples::ResidualCalculator::m_weigh |
|
private |
The documentation for this class was generated from the following files: