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 17 of file EcalFenixLinearizer.cc.
References i, init_, createfilelist::int, and vectorbadXStatus_.
EcalFenixLinearizer::EcalFenixLinearizer | ( | bool | famos | ) |
|
virtual |
|
private |
Definition at line 59 of file EcalFenixLinearizer.cc.
References base_, famos_, mult_, convertSQLitetoXML_cfg::output, shift_, and uncorrectedSample_.
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), process(), EcalFenixStrip::process_part1(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), EcalEBTrigPrimTestAlgo::run(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
private |
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
void EcalFenixLinearizer::process | ( | const T & | , |
std::vector< int > & | |||
) |
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
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::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
private |
|
private |
Definition at line 75 of file EcalFenixLinearizer.cc.
References EcalMGPASample::adc(), badXStatus_, base_, famos_, EcalMGPASample::gainId(), gainID_, EcalTPGCrystalStatusCode::getStatusCode(), linConsts_, LogDebug, 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 | ||
) |
void EcalFenixLinearizer::setParameters | ( | uint32_t | raw, |
const EcalTPGPedestals * | ecaltpPed, | ||
const EcalTPGLinearizationConst * | ecaltpLin, | ||
const EcalTPGCrystalStatus * | ecaltpBadX | ||
) |
Definition at line 25 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 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().