#include <SiPixelGainCalibrationForHLTSimService.h>
|
float | getGain (const uint32_t &detID, const int &col, const int &row) override |
|
float | getPedestal (const uint32_t &detID, const int &col, const int &row) override |
|
bool | isDead (const uint32_t &detID, const int &col, const int &row) override |
|
bool | isDeadColumn (const uint32_t &detID, const int &col, const int &row) override |
|
bool | isNoisy (const uint32_t &detID, const int &col, const int &row) override |
|
bool | isNoisyColumn (const uint32_t &detID, const int &col, const int &row) override |
|
| SiPixelGainCalibrationForHLTSimService (const edm::ParameterSet &conf, edm::ConsumesCollector iC) |
|
std::vector< uint32_t > | getDetIds () override |
|
double | getGainHigh () override |
|
double | getGainLow () override |
|
double | getPedHigh () override |
|
double | getPedLow () override |
|
SiPixelGainCalibrationForHLTconst & | payload () const |
|
void | setESObjects (const edm::EventSetup &es) override |
|
| SiPixelGainCalibrationServicePayloadGetter (const edm::ParameterSet &conf, edm::ConsumesCollector iC) |
|
virtual void | calibrate (uint32_t detID, DigiIterator b, DigiIterator e, float conversionFactor, float offset, int *electron) |
|
| SiPixelGainCalibrationServiceBase () |
|
virtual | ~SiPixelGainCalibrationServiceBase () |
|
|
typedef edm::DetSet< PixelDigi >
::const_iterator | DigiIterator |
|
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
|
float | getGainByColumn (const uint32_t &detID, const int &col, const int &row, bool &isDeadColumn, bool &isNoisyColumn) |
|
float | getGainByPixel (const uint32_t &detID, const int &col, const int &row, bool &isDeadPixel, bool &isNoisyPixel) |
|
float | getPedestalByColumn (const uint32_t &detID, const int &col, const int &row, bool &isDeadColumn, bool &isNoisyColumn) |
|
float | getPedestalByPixel (const uint32_t &detID, const int &col, const int &row, bool &isDeadPixel, bool &isNoisyPixel) |
|
void | throwExepctionForBadRead (std::string payload, const uint32_t &detID, const int &col, const int &row, double value=-1) const |
|
edm::ParameterSet | conf_ |
|
bool | ESetupInit_ |
|
double | gainHigh_ |
|
double | gainLow_ |
|
int | numberOfRowsAveragedOver_ |
|
int | old_cols |
|
uint32_t | old_detID |
|
SiPixelGainCalibrationForHLT::Range | old_range |
|
int | oldAveragedBlockDataGain_ |
|
int | oldAveragedBlockDataPed_ |
|
int | oldColumnIndexGain_ |
|
int | oldColumnIndexPed_ |
|
float | oldColumnValueGain_ |
|
float | oldColumnValuePed_ |
|
bool | oldThisColumnIsDeadGain_ |
|
bool | oldThisColumnIsDeadPed_ |
|
bool | oldThisColumnIsNoisyGain_ |
|
bool | oldThisColumnIsNoisyPed_ |
|
const
SiPixelGainCalibrationForHLT * | ped |
|
double | pedHigh_ |
|
double | pedLow_ |
|
const edm::ESGetToken
< SiPixelGainCalibrationForHLT,
SiPixelGainCalibrationForHLTSimRcd > | pedToken_ |
|
float SiPixelGainCalibrationForHLTSimService::getGain |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
overridevirtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >.
Definition at line 30 of file SiPixelGainCalibrationForHLTSimService.cc.
References SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >::getGainByColumn(), isDead(), isNoisy(), and SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >::throwExepctionForBadRead().
34 if (isDead || isNoisy) {
bool isDead(const uint32_t &detID, const int &col, const int &row) override
float getGainByColumn(const uint32_t &detID, const int &col, const int &row, bool &isDeadColumn, bool &isNoisyColumn)
void throwExepctionForBadRead(std::string payload, const uint32_t &detID, const int &col, const int &row, double value=-1) const
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
float SiPixelGainCalibrationForHLTSimService::getPedestal |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
overridevirtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >.
Definition at line 19 of file SiPixelGainCalibrationForHLTSimService.cc.
References SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >::getPedestalByColumn(), isDead(), isNoisy(), and SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >::throwExepctionForBadRead().
23 if (isDead || isNoisy) {
float getPedestalByColumn(const uint32_t &detID, const int &col, const int &row, bool &isDeadColumn, bool &isNoisyColumn)
bool isDead(const uint32_t &detID, const int &col, const int &row) override
void throwExepctionForBadRead(std::string payload, const uint32_t &detID, const int &col, const int &row, double value=-1) const
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
bool SiPixelGainCalibrationForHLTSimService::isDead |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
overridevirtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >.
Definition at line 41 of file SiPixelGainCalibrationForHLTSimService.cc.
References alignCSCRings::e, SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >::getPedestalByColumn(), isNoisy(), and cms::Exception::what().
Referenced by getGain(), getPedestal(), isDeadColumn(), isNoisy(), and isNoisyColumn().
49 <<
"Attempting to check if nonexistant pixel is dead. Exception message: " << e.
what();
float getPedestalByColumn(const uint32_t &detID, const int &col, const int &row, bool &isDeadColumn, bool &isNoisyColumn)
bool isDead(const uint32_t &detID, const int &col, const int &row) override
char const * what() const noexceptoverride
Log< level::Info, false > LogInfo
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
bool SiPixelGainCalibrationForHLTSimService::isDeadColumn |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
overridevirtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >.
Definition at line 69 of file SiPixelGainCalibrationForHLTSimService.cc.
References alignCSCRings::e, SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >::getGainByColumn(), isDead(), isNoisy(), and cms::Exception::what().
77 <<
"Attempting to check if nonexistant pixel is dead. Exception message: " << e.
what();
bool isDead(const uint32_t &detID, const int &col, const int &row) override
float getGainByColumn(const uint32_t &detID, const int &col, const int &row, bool &isDeadColumn, bool &isNoisyColumn)
char const * what() const noexceptoverride
Log< level::Info, false > LogInfo
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
bool SiPixelGainCalibrationForHLTSimService::isNoisy |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
overridevirtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >.
Definition at line 55 of file SiPixelGainCalibrationForHLTSimService.cc.
References alignCSCRings::e, SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >::getPedestalByColumn(), isDead(), and cms::Exception::what().
Referenced by getGain(), getPedestal(), isDead(), isDeadColumn(), and isNoisyColumn().
63 <<
"Attempting to check if nonexistant pixel is noisy. Exception message: " << e.
what();
float getPedestalByColumn(const uint32_t &detID, const int &col, const int &row, bool &isDeadColumn, bool &isNoisyColumn)
bool isDead(const uint32_t &detID, const int &col, const int &row) override
char const * what() const noexceptoverride
Log< level::Info, false > LogInfo
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
bool SiPixelGainCalibrationForHLTSimService::isNoisyColumn |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
overridevirtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >.
Definition at line 83 of file SiPixelGainCalibrationForHLTSimService.cc.
References alignCSCRings::e, SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd >::getGainByColumn(), isDead(), isNoisy(), and cms::Exception::what().
91 <<
"Attempting to check if nonexistant pixel is noisy. Exception message: " << e.
what();
bool isDead(const uint32_t &detID, const int &col, const int &row) override
float getGainByColumn(const uint32_t &detID, const int &col, const int &row, bool &isDeadColumn, bool &isNoisyColumn)
char const * what() const noexceptoverride
Log< level::Info, false > LogInfo
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override