#include <EcalEBPhase2Linearizer.h>
Public Member Functions | |
EcalEBPhase2Linearizer (bool debug) | |
void | process (const EBDigiCollectionPh2::Digi &df, std::vector< int > &output_percry) |
void | setParameters (EBDetId id, const EcalLiteDTUPedestalsMap *peds, const EcalEBPhase2TPGLinearizationConstMap *ecaltplin, const EcalTPGCrystalStatus *ecaltpBadX) |
virtual | ~EcalEBPhase2Linearizer () |
Private Member Functions | |
int | doOutput () |
int | setInput (const EcalLiteDTUSample &RawSam) |
Private Attributes | |
const EcalTPGCrystalStatusCode * | badXStatus_ |
uint | base_ |
uint | coeff_ |
std::vector< uint > | coeffs_ |
bool | debug_ |
float | gainDivideByTen_ = 0.1 |
int | gainID_ |
uint | I2CSub_ |
bool | init_ |
const EcalEBPhase2TPGLinearizationConstant * | linConsts_ |
uint | mult_ |
const EcalLiteDTUPedestals * | peds_ |
uint | shift_ |
int | strip_ |
int | uncorrectedSample_ |
std::vector< const EcalTPGCrystalStatusCode * > | vectorbadXStatus_ |
Definition at line 20 of file EcalEBPhase2Linearizer.h.
EcalEBPhase2Linearizer::EcalEBPhase2Linearizer | ( | bool | debug | ) |
Definition at line 7 of file EcalEBPhase2Linearizer.cc.
|
virtual |
Definition at line 10 of file EcalEBPhase2Linearizer.cc.
References mps_fire::i, init_, createfilelist::int, and vectorbadXStatus_.
|
private |
Definition at line 50 of file EcalEBPhase2Linearizer.cc.
References base_, I2CSub_, mult_, convertSQLitetoXML_cfg::output, shift_, parallelization::uint, and uncorrectedSample_.
Referenced by process().
void EcalEBPhase2Linearizer::process | ( | const EBDigiCollectionPh2::Digi & | df, |
std::vector< int > & | output_percry | ||
) |
Definition at line 89 of file EcalEBPhase2Linearizer.cc.
References base_, debug_, hgcalPerformanceValidation::df, doOutput(), gainID_, mps_fire::i, I2CSub_, LogDebug, mult_, setInput(), and shift_.
Referenced by EcalEBPhase2TrigPrimAlgo::run().
|
private |
Definition at line 68 of file EcalEBPhase2Linearizer.cc.
References EcalLiteDTUSample::adc(), base_, EcalLiteDTUSample::gainId(), gainID_, I2CSub_, EcalEBPhase2TPGLinearizationConstant::i2cSub_x1, EcalEBPhase2TPGLinearizationConstant::i2cSub_x10, linConsts_, EcalLiteDTUPedestals::mean(), mult_, EcalEBPhase2TPGLinearizationConstant::mult_x1, EcalEBPhase2TPGLinearizationConstant::mult_x10, peds_, shift_, EcalEBPhase2TPGLinearizationConstant::shift_x1, EcalEBPhase2TPGLinearizationConstant::shift_x10, and uncorrectedSample_.
Referenced by process().
void EcalEBPhase2Linearizer::setParameters | ( | EBDetId | id, |
const EcalLiteDTUPedestalsMap * | peds, | ||
const EcalEBPhase2TPGLinearizationConstMap * | ecaltplin, | ||
const EcalTPGCrystalStatus * | ecaltpBadX | ||
) |
Definition at line 18 of file EcalEBPhase2Linearizer.cc.
References badXStatus_, hcalRecHitTable_cff::detId, EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), EcalCondObjectContainer< T >::getMap(), init_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, linConsts_, peds_, and vectorbadXStatus_.
Referenced by EcalEBPhase2TrigPrimAlgo::run().
|
private |
Definition at line 39 of file EcalEBPhase2Linearizer.h.
Referenced by setParameters().
|
private |
Definition at line 25 of file EcalEBPhase2Linearizer.h.
Referenced by doOutput(), process(), and setInput().
|
private |
Definition at line 32 of file EcalEBPhase2Linearizer.h.
|
private |
Definition at line 31 of file EcalEBPhase2Linearizer.h.
|
private |
Definition at line 22 of file EcalEBPhase2Linearizer.h.
Referenced by process().
|
private |
Definition at line 30 of file EcalEBPhase2Linearizer.h.
|
private |
Definition at line 24 of file EcalEBPhase2Linearizer.h.
Referenced by process(), and setInput().
|
private |
Definition at line 35 of file EcalEBPhase2Linearizer.h.
Referenced by doOutput(), process(), and setInput().
|
private |
Definition at line 29 of file EcalEBPhase2Linearizer.h.
Referenced by setParameters(), and ~EcalEBPhase2Linearizer().
|
private |
Definition at line 38 of file EcalEBPhase2Linearizer.h.
Referenced by setInput(), and setParameters().
|
private |
Definition at line 26 of file EcalEBPhase2Linearizer.h.
Referenced by doOutput(), process(), and setInput().
|
private |
Definition at line 37 of file EcalEBPhase2Linearizer.h.
Referenced by setInput(), and setParameters().
|
private |
Definition at line 27 of file EcalEBPhase2Linearizer.h.
Referenced by doOutput(), process(), and setInput().
|
private |
Definition at line 28 of file EcalEBPhase2Linearizer.h.
|
private |
Definition at line 23 of file EcalEBPhase2Linearizer.h.
Referenced by doOutput(), and setInput().
|
private |
Definition at line 41 of file EcalEBPhase2Linearizer.h.
Referenced by setParameters(), and ~EcalEBPhase2Linearizer().