#include <SiPixelGainCalibrationOfflineService.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 |
|
| SiPixelGainCalibrationOfflineService (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 |
|
SiPixelGainCalibrationOfflineconst & | 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 |
|
SiPixelGainCalibrationOffline::Range | old_range |
|
int | oldAveragedBlockDataGain_ |
|
int | oldAveragedBlockDataPed_ |
|
int | oldColumnIndexGain_ |
|
int | oldColumnIndexPed_ |
|
float | oldColumnValueGain_ |
|
float | oldColumnValuePed_ |
|
bool | oldThisColumnIsDeadGain_ |
|
bool | oldThisColumnIsDeadPed_ |
|
bool | oldThisColumnIsNoisyGain_ |
|
bool | oldThisColumnIsNoisyPed_ |
|
const
SiPixelGainCalibrationOffline * | ped |
|
double | pedHigh_ |
|
double | pedLow_ |
|
const edm::ESGetToken
< SiPixelGainCalibrationOffline,
SiPixelGainCalibrationOfflineRcd > | pedToken_ |
|
float SiPixelGainCalibrationOfflineService::getGain |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
overridevirtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >.
Definition at line 30 of file SiPixelGainCalibrationOfflineService.cc.
References SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::getGainByColumn(), isDead(), isNoisy(), and SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::throwExepctionForBadRead().
Referenced by SiPixelGainCalibrationRejectNoisyAndDead::fillDatabase().
34 if (isDead || isNoisy) {
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 isDead(const uint32_t &detID, const int &col, const int &row) override
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
float SiPixelGainCalibrationOfflineService::getPedestal |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
overridevirtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >.
Definition at line 19 of file SiPixelGainCalibrationOfflineService.cc.
References SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::getPedestalByPixel(), isDead(), isNoisy(), and SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::throwExepctionForBadRead().
Referenced by SiPixelGainCalibrationRejectNoisyAndDead::fillDatabase().
23 if (isDead || isNoisy) {
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
bool isDead(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 SiPixelGainCalibrationOfflineService::isDead |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
overridevirtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >.
Definition at line 41 of file SiPixelGainCalibrationOfflineService.cc.
References alignCSCRings::e, SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::getPedestalByPixel(), isNoisy(), and cms::Exception::what().
Referenced by SiPixelGainCalibrationRejectNoisyAndDead::fillDatabase(), getGain(), getPedestal(), isDeadColumn(), isNoisy(), and isNoisyColumn().
49 <<
"Attempting to check if nonexistant pixel is dead. Exception message: " << e.
what();
float getPedestalByPixel(const uint32_t &detID, const int &col, const int &row, bool &isDeadPixel, bool &isNoisyPixel)
char const * what() const noexceptoverride
bool isDead(const uint32_t &detID, const int &col, const int &row) override
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
Log< level::Info, false > LogInfo
bool SiPixelGainCalibrationOfflineService::isDeadColumn |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
overridevirtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >.
Definition at line 69 of file SiPixelGainCalibrationOfflineService.cc.
References alignCSCRings::e, SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::getGainByColumn(), isDead(), isNoisy(), and cms::Exception::what().
Referenced by SiPixelGainCalibrationRejectNoisyAndDead::fillDatabase().
77 <<
"Attempting to check if nonexistant pixel is dead. Exception message: " << e.
what();
float getGainByColumn(const uint32_t &detID, const int &col, const int &row, bool &isDeadColumn, bool &isNoisyColumn)
char const * what() const noexceptoverride
bool isDead(const uint32_t &detID, const int &col, const int &row) override
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
Log< level::Info, false > LogInfo
bool SiPixelGainCalibrationOfflineService::isNoisy |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
overridevirtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >.
Definition at line 55 of file SiPixelGainCalibrationOfflineService.cc.
References alignCSCRings::e, SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::getPedestalByPixel(), isDead(), and cms::Exception::what().
Referenced by SiPixelGainCalibrationRejectNoisyAndDead::fillDatabase(), getGain(), getPedestal(), isDead(), isDeadColumn(), and isNoisyColumn().
63 <<
"Attempting to check if nonexistant pixel is noisy. Exception message: " << e.
what();
float getPedestalByPixel(const uint32_t &detID, const int &col, const int &row, bool &isDeadPixel, bool &isNoisyPixel)
char const * what() const noexceptoverride
bool isDead(const uint32_t &detID, const int &col, const int &row) override
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
Log< level::Info, false > LogInfo
bool SiPixelGainCalibrationOfflineService::isNoisyColumn |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
overridevirtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >.
Definition at line 83 of file SiPixelGainCalibrationOfflineService.cc.
References alignCSCRings::e, SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::getGainByColumn(), isDead(), isNoisy(), and cms::Exception::what().
Referenced by SiPixelGainCalibrationRejectNoisyAndDead::fillDatabase().
91 <<
"Attempting to check if nonexistant pixel is Noisy. Exception message: " << e.
what();
float getGainByColumn(const uint32_t &detID, const int &col, const int &row, bool &isDeadColumn, bool &isNoisyColumn)
char const * what() const noexceptoverride
bool isDead(const uint32_t &detID, const int &col, const int &row) override
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
Log< level::Info, false > LogInfo