#include <LArWave.h>
|
enum | {
meas = 01,
mwf = 02,
mwfN = 03,
dac0 = 04,
xtalkcorr = 05,
pred = 10,
predCali = 11,
predFitPhys = 12,
predMeasPar = 13,
model = 20,
patch = 30,
unknown = 0
} |
|
double | m_dt |
|
std::vector< double > | m_amplitudes |
|
unsigned | m_flag |
|
LArWave | operator+ (const LArWave &bWave) const |
|
LArWave | operator- (const LArWave &bWave) const |
|
LArWave | operator* (const LArWave &bWave) const |
|
LArWave | operator/ (const LArWave &bWave) const |
|
LArWave | operator% (const LArWave &bWave) const |
|
LArWave | operator+ (const double aBias) const |
|
LArWave | operator* (const double aScale) const |
|
LArWave & | operator+= (const LArWave &bWave) |
|
LArWave & | operator-= (const LArWave &bWave) |
|
LArWave & | operator*= (const double aScale) |
|
| LArWave (const LArWave &theWave1, const LArWave &theWave2) |
|
Definition at line 31 of file LArWave.h.
◆ anonymous enum
Enumerator |
---|
meas | |
mwf | |
mwfN | |
dac0 | |
xtalkcorr | |
pred | |
predCali | |
predFitPhys | |
predMeasPar | |
model | |
patch | |
unknown | |
Definition at line 121 of file LArWave.h.
◆ LArWave() [1/4]
◆ LArWave() [2/4]
LArWave::LArWave |
( |
const unsigned |
nSamples, |
|
|
const double |
dt, |
|
|
const unsigned |
flag = 0 |
|
) |
| |
|
inline |
◆ LArWave() [3/4]
LArWave::LArWave |
( |
const std::vector< double > & |
theVector, |
|
|
const double |
dt, |
|
|
const unsigned |
flag = 0 |
|
) |
| |
|
inline |
◆ ~LArWave()
virtual LArWave::~LArWave |
( |
| ) |
|
|
virtualdefault |
◆ LArWave() [4/4]
◆ getDt()
const double& LArWave::getDt |
( |
| ) |
const |
|
inline |
◆ getFlag()
unsigned LArWave::getFlag |
( |
| ) |
const |
|
inline |
◆ getIndex()
unsigned LArWave::getIndex |
( |
double |
aTime | ) |
const |
◆ getSample()
const double& LArWave::getSample |
( |
const unsigned int |
i | ) |
const |
|
inline |
Amplitude per time bin.
Definition at line 53 of file LArWave.h.
◆ getSize()
size_t LArWave::getSize |
( |
| ) |
const |
|
inline |
number of time samples
Definition at line 62 of file LArWave.h.
◆ getTime()
double LArWave::getTime |
( |
const unsigned |
i | ) |
const |
|
inline |
◆ getWave()
const std::vector< double > & LArWave::getWave |
( |
| ) |
const |
|
inline |
◆ isEmpty()
bool LArWave::isEmpty |
( |
| ) |
const |
|
inline |
◆ operator%()
Definition at line 91 of file LArWave.cxx.
101 const size_t s=
result.getSize();
102 for (
size_t i=0 ;
i<
s ; ++
i ) {
104 double sum2 = 0.5 * ( (*this).m_amplitudes[0] * bWave.
m_amplitudes[
i] +
106 for (
size_t k=1 ;
k<
i ; ++
k ) {
107 sum2 += amplPtrA[
k] * amplPtrB[
i-
k] ;
◆ operator*() [1/2]
◆ operator*() [2/2]
◆ operator*=()
◆ operator+() [1/2]
◆ operator+() [2/2]
◆ operator+=()
◆ operator-()
◆ operator-=()
◆ operator/()
◆ operator[]() [1/2]
double& LArWave::operator[] |
( |
const unsigned int |
i | ) |
|
|
inline |
Amplitude per time bin - NOT const.
Definition at line 78 of file LArWave.h.
◆ operator[]() [2/2]
const double& LArWave::operator[] |
( |
const unsigned int |
i | ) |
const |
|
inline |
Amplitude per time bin.
Definition at line 56 of file LArWave.h.
◆ setDt()
void LArWave::setDt |
( |
const double |
dt | ) |
|
|
inline |
set the delta time
Definition at line 193 of file LArWave.h.
◆ setFlag()
void LArWave::setFlag |
( |
const unsigned |
flag | ) |
|
|
inline |
◆ setSample()
void LArWave::setSample |
( |
const unsigned |
i, |
|
|
const double |
aVal |
|
) |
| |
|
inline |
set the amplitude for time bin i
Definition at line 87 of file LArWave.h.
◆ setSize()
void LArWave::setSize |
( |
const unsigned |
nSize | ) |
|
|
inline |
resize the number of time bin samples
Definition at line 188 of file LArWave.h.
◆ m_amplitudes
std::vector<double> LArWave::m_amplitudes |
|
protected |
◆ m_dt
◆ m_flag
The documentation for this class was generated from the following files: