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