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 14 of file EcalFenixLinearizer.cc.
References i, init_, and vectorbadXStatus_.
|
private |
Definition at line 51 of file EcalFenixLinearizer.cc.
References base_, famos_, mult_, convertSQLitetoXML_cfg::output, shift_, and uncorrectedSample_.
Referenced by ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), 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 i, process(), and setInput().
Referenced by ConfigBuilder.ConfigBuilder.PrintAllModules::leave().
|
private |
Definition at line 62 of file EcalFenixLinearizer.cc.
References EcalMGPASample::adc(), badXStatus_, base_, famos_, EcalMGPASample::gainId(), gainID_, EcalTPGCrystalStatusCode::getStatusCode(), linConsts_, LogDebug, cond::ecalped::mean_x12, cond::ecalped::mean_x6, mult_, EcalTPGLinearizationConstant::mult_x1, EcalTPGLinearizationConstant::mult_x12, EcalTPGLinearizationConstant::mult_x6, peds_, EcalMGPASample::raw(), shift_, and uncorrectedSample_.
Referenced by process().
void EcalFenixLinearizer::setParameters | ( | uint32_t | raw, |
const EcalTPGPedestals * | ecaltpPed, | ||
const EcalTPGLinearizationConst * | ecaltpLin, | ||
const EcalTPGCrystalStatus * | ecaltpBadX | ||
) |
Definition at line 22 of file EcalFenixLinearizer.cc.
References badXStatus_, EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), EcalCondObjectContainer< T >::getMap(), init_, linConsts_, peds_, and vectorbadXStatus_.
Referenced by EcalFenixStrip::process_part1().
|
private |
Definition at line 34 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 23 of file EcalFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 25 of file EcalFenixLinearizer.h.
Referenced by setInput().
|
private |
Definition at line 30 of file EcalFenixLinearizer.h.
Referenced by setParameters(), and ~EcalFenixLinearizer().
|
private |
Definition at line 32 of file EcalFenixLinearizer.h.
Referenced by setInput(), and setParameters().
|
private |
Definition at line 27 of file EcalFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 33 of file EcalFenixLinearizer.h.
Referenced by setInput(), and setParameters().
|
private |
Definition at line 28 of file EcalFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 29 of file EcalFenixLinearizer.h.
|
private |
Definition at line 24 of file EcalFenixLinearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 36 of file EcalFenixLinearizer.h.
Referenced by setParameters(), and ~EcalFenixLinearizer().