#include <LArAutoCorrTotal.h>
|
| LArAutoCorrTotal ()=delete |
|
| LArAutoCorrTotal (const LArOnlineID_Base *onlineID, const LArOnOffIdMapping *cabling, const size_t nGains) |
|
| ~LArAutoCorrTotal () |
|
bool | set (const IdentifierHash &hid, const int gain, std::vector< float > &autocorrtotal) |
|
const std::vector< double > | computeAutoCorr (const std::vector< float > &terms, float Nminbias) const |
|
const std::vector< double > | autoCorrTotal (const IdentifierHash &hid, int gain, float Nminbias) const |
|
const std::vector< double > | autoCorrTotal (const HWIdentifier &hwid, int gain, float Nminbias) const |
|
const std::vector< double > | autoCorrTotal (const Identifier &id, int gain, float Nminbias) const |
|
const std::vector< double > | computeRMS (const std::vector< float > &terms, float Nminbias) const |
|
const std::vector< double > | samplRMS (const IdentifierHash &hid, int gain, float Nminbias) const |
|
const std::vector< double > | samplRMS (const HWIdentifier &hwid, int gain, float Nminbias) const |
|
const std::vector< double > | samplRMS (const Identifier &id, int gain, float Nminbias) const |
|
Definition at line 19 of file LArAutoCorrTotal.h.
◆ vecAutoCorrTotal
◆ LArAutoCorrTotal() [1/2]
LArAutoCorrTotal::LArAutoCorrTotal |
( |
| ) |
|
|
delete |
◆ LArAutoCorrTotal() [2/2]
Definition at line 9 of file LArAutoCorrTotal.cxx.
14 assert(CaloGain::LARNGAIN <= 3 && nGains > 0);
16 for (
size_t i = 0;
i < nGains; ++
i) {
◆ ~LArAutoCorrTotal()
LArAutoCorrTotal::~LArAutoCorrTotal |
( |
| ) |
|
◆ autoCorrTotal() [1/3]
const std::vector< double > LArAutoCorrTotal::autoCorrTotal |
( |
const HWIdentifier & |
hwid, |
|
|
int |
gain, |
|
|
float |
Nminbias |
|
) |
| const |
◆ autoCorrTotal() [2/3]
const std::vector< double > LArAutoCorrTotal::autoCorrTotal |
( |
const Identifier & |
id, |
|
|
int |
gain, |
|
|
float |
Nminbias |
|
) |
| const |
◆ autoCorrTotal() [3/3]
const std::vector< double > LArAutoCorrTotal::autoCorrTotal |
( |
const IdentifierHash & |
hid, |
|
|
int |
gain, |
|
|
float |
Nminbias |
|
) |
| const |
◆ computeAutoCorr()
const std::vector< double > LArAutoCorrTotal::computeAutoCorr |
( |
const std::vector< float > & |
terms, |
|
|
float |
Nminbias |
|
) |
| const |
Definition at line 35 of file LArAutoCorrTotal.cxx.
38 std::vector<double> vResult;
41 vResult.reserve(nsize_tot);
42 for (
int i1 = 0; i1 <
tsize - 1; i1++) {
43 for (
int i2 = i1 + 1; i2 <
tsize; i2++) {
45 int index = i1 *
tsize - i1 * (i1 + 1) / 2 + i2 - (i1 + 1);
47 vResult.push_back((terms[
index] + Nminbias * terms[nsize_tot +
index]) /
48 sqrt((1. + Nminbias * terms[2 * nsize_tot + i1]) *
49 (1. + Nminbias * terms[2 * nsize_tot + i2])));
◆ computeRMS()
const std::vector< double > LArAutoCorrTotal::computeRMS |
( |
const std::vector< float > & |
terms, |
|
|
float |
Nminbias |
|
) |
| const |
Definition at line 77 of file LArAutoCorrTotal.cxx.
80 std::vector<double> vResult;
82 vResult.reserve(
tsize);
85 vResult.push_back(sqrt(1. + Nminbias * terms[2 * nsize_tot +
i]));
◆ samplRMS() [1/3]
const std::vector< double > LArAutoCorrTotal::samplRMS |
( |
const HWIdentifier & |
hwid, |
|
|
int |
gain, |
|
|
float |
Nminbias |
|
) |
| const |
◆ samplRMS() [2/3]
const std::vector< double > LArAutoCorrTotal::samplRMS |
( |
const Identifier & |
id, |
|
|
int |
gain, |
|
|
float |
Nminbias |
|
) |
| const |
◆ samplRMS() [3/3]
◆ set()
◆ m_AutoCorrTotal
◆ m_cabling
◆ m_onlineID
The documentation for this class was generated from the following files: