Linearisation for Fenix strip input: 16 bits corresponding to input EBDataFrame output: 18 bits. More...
#include <EcalEBFenixLinearizer.h>
Public Member Functions | |
EcalEBFenixLinearizer (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 | ~EcalEBFenixLinearizer () |
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 EcalEBFenixLinearizer.h.
EcalEBFenixLinearizer::EcalEBFenixLinearizer | ( | bool | famos | ) |
Definition at line 9 of file EcalEBFenixLinearizer.cc.
|
virtual |
Definition at line 12 of file EcalEBFenixLinearizer.cc.
References mps_fire::i, init_, createfilelist::int, and vectorbadXStatus_.
|
private |
Definition at line 51 of file EcalEBFenixLinearizer.cc.
References base_, famos_, mult_, convertSQLitetoXML_cfg::output, shift_, and uncorrectedSample_.
Referenced by process(), and EcalEBTrigPrimTestAlgo::run().
void EcalEBFenixLinearizer::process | ( | const T & | df, |
std::vector< int > & | output_percry | ||
) |
Definition at line 52 of file EcalEBFenixLinearizer.h.
References hgcalPerformanceValidation::df, mps_fire::i, process(), and setInput().
|
private |
Definition at line 67 of file EcalEBFenixLinearizer.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 EcalEBFenixLinearizer::setParameters | ( | uint32_t | raw, |
const EcalTPGPedestals * | ecaltpPed, | ||
const EcalTPGLinearizationConst * | ecaltpLin, | ||
const EcalTPGCrystalStatus * | ecaltpBadX | ||
) |
Definition at line 20 of file EcalEBFenixLinearizer.cc.
References badXStatus_, gather_cfg::cout, EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), EcalCondObjectContainer< T >::getMap(), init_, linConsts_, peds_, and vectorbadXStatus_.
Referenced by EcalEBTrigPrimTestAlgo::run().
|
private |
Definition at line 32 of file EcalEBFenixLinearizer.h.
Referenced by setInput(), and setParameters().
|
private |
Definition at line 24 of file EcalEBFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 21 of file EcalEBFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 23 of file EcalEBFenixLinearizer.h.
Referenced by setInput().
|
private |
Definition at line 28 of file EcalEBFenixLinearizer.h.
Referenced by setParameters(), and ~EcalEBFenixLinearizer().
|
private |
Definition at line 30 of file EcalEBFenixLinearizer.h.
Referenced by setInput(), and setParameters().
|
private |
Definition at line 25 of file EcalEBFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 31 of file EcalEBFenixLinearizer.h.
Referenced by setInput(), and setParameters().
|
private |
Definition at line 26 of file EcalEBFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 27 of file EcalEBFenixLinearizer.h.
|
private |
Definition at line 22 of file EcalEBFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 34 of file EcalEBFenixLinearizer.h.
Referenced by setParameters(), and ~EcalEBFenixLinearizer().