Linearisation for Fenix strip input: 16 bits corresponding to input EBDataFrame output: 18 bits. More...
#include <EcalFenixLinearizer.h>
Public Member Functions | |
EcalFenixLinearizer (bool famos) | |
template<class T > | |
void | process (const T &, std::vector< int > &) |
void | setParameters (uint32_t raw, const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGCrystalStatus *ecaltpBadX) |
virtual | ~EcalFenixLinearizer () |
Private Member Functions | |
int | process () |
int | setInput (const EcalMGPASample &RawSam) |
Private Attributes | |
const EcalTPGCrystalStatusCode * | badXStatus_ |
int | base_ |
bool | famos_ |
int | gainID_ |
bool | init_ |
const EcalTPGLinearizationConstant * | linConsts_ |
int | mult_ |
const EcalTPGPedestal * | peds_ |
int | shift_ |
int | strip_ |
int | uncorrectedSample_ |
std::vector< const EcalTPGCrystalStatusCode * > | vectorbadXStatus_ |
Linearisation for Fenix strip input: 16 bits corresponding to input EBDataFrame output: 18 bits.
Definition at line 19 of file EcalFenixLinearizer.h.
EcalFenixLinearizer::EcalFenixLinearizer | ( | bool | famos | ) |
Definition at line 9 of file EcalFenixLinearizer.cc.
|
virtual |
Definition at line 11 of file EcalFenixLinearizer.cc.
References mps_fire::i, init_, createfilelist::int, and vectorbadXStatus_.
|
private |
Definition at line 50 of file EcalFenixLinearizer.cc.
References base_, famos_, mult_, convertSQLitetoXML_cfg::output, shift_, and uncorrectedSample_.
Referenced by process(), and EcalFenixStrip::process_part1().
void EcalFenixLinearizer::process | ( | const T & | df, |
std::vector< int > & | output_percry | ||
) |
Definition at line 52 of file EcalFenixLinearizer.h.
References hgcalPerformanceValidation::df, mps_fire::i, process(), and setInput().
|
private |
Definition at line 63 of file EcalFenixLinearizer.cc.
References EcalMGPASample::adc(), badXStatus_, base_, famos_, EcalMGPASample::gainId(), gainID_, EcalTPGCrystalStatusCode::getStatusCode(), linConsts_, LogDebug, EcalTPGPedestal::mean_x1, EcalTPGPedestal::mean_x12, EcalTPGPedestal::mean_x6, mult_, EcalTPGLinearizationConstant::mult_x1, EcalTPGLinearizationConstant::mult_x12, EcalTPGLinearizationConstant::mult_x6, peds_, EcalMGPASample::raw(), shift_, EcalTPGLinearizationConstant::shift_x1, EcalTPGLinearizationConstant::shift_x12, EcalTPGLinearizationConstant::shift_x6, and uncorrectedSample_.
Referenced by process().
void EcalFenixLinearizer::setParameters | ( | uint32_t | raw, |
const EcalTPGPedestals * | ecaltpPed, | ||
const EcalTPGLinearizationConst * | ecaltpLin, | ||
const EcalTPGCrystalStatus * | ecaltpBadX | ||
) |
Definition at line 19 of file EcalFenixLinearizer.cc.
References badXStatus_, EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), EcalCondObjectContainer< T >::getMap(), init_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, linConsts_, peds_, and vectorbadXStatus_.
Referenced by EcalFenixStrip::process_part1().
|
private |
Definition at line 32 of file EcalFenixLinearizer.h.
Referenced by setInput(), and setParameters().
|
private |
Definition at line 24 of file EcalFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 21 of file EcalFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 23 of file EcalFenixLinearizer.h.
Referenced by setInput().
|
private |
Definition at line 28 of file EcalFenixLinearizer.h.
Referenced by setParameters(), and ~EcalFenixLinearizer().
|
private |
Definition at line 30 of file EcalFenixLinearizer.h.
Referenced by setInput(), and setParameters().
|
private |
Definition at line 25 of file EcalFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 31 of file EcalFenixLinearizer.h.
Referenced by setInput(), and setParameters().
|
private |
Definition at line 26 of file EcalFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 27 of file EcalFenixLinearizer.h.
|
private |
Definition at line 22 of file EcalFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 34 of file EcalFenixLinearizer.h.
Referenced by setParameters(), and ~EcalFenixLinearizer().