#include <SiPixelGainCalibrationOfflineService.h>
|
float | getGain (const uint32_t &detID, const int &col, const int &row) |
|
float | getPedestal (const uint32_t &detID, const int &col, const int &row) |
|
bool | isDead (const uint32_t &detID, const int &col, const int &row) |
|
bool | isDeadColumn (const uint32_t &detID, const int &col, const int &row) |
|
bool | isNoisy (const uint32_t &detID, const int &col, const int &row) |
|
bool | isNoisyColumn (const uint32_t &detID, const int &col, const int &row) |
|
| SiPixelGainCalibrationOfflineService (const edm::ParameterSet &conf) |
|
| ~SiPixelGainCalibrationOfflineService () |
|
std::vector< uint32_t > | getDetIds () |
|
double | getGainHigh () |
|
double | getGainLow () |
|
double | getPedHigh () |
|
double | getPedLow () |
|
void | setESObjects (const edm::EventSetup &es) |
|
| SiPixelGainCalibrationServicePayloadGetter (const edm::ParameterSet &conf) |
|
virtual | ~SiPixelGainCalibrationServicePayloadGetter () |
|
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 |
|
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_ |
|
edm::ESHandle< SiPixelGainCalibrationOffline > | ped |
|
double | pedHigh_ |
|
double | pedLow_ |
|
SiPixelGainCalibrationOfflineService::SiPixelGainCalibrationOfflineService |
( |
const edm::ParameterSet & |
conf | ) |
|
|
inlineexplicit |
SiPixelGainCalibrationOfflineService::~SiPixelGainCalibrationOfflineService |
( |
| ) |
|
|
inline |
float SiPixelGainCalibrationOfflineService::getGain |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
virtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >.
Definition at line 32 of file SiPixelGainCalibrationOfflineService.cc.
References SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::getGainByColumn(), isDead(), isNoisy(), and SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::throwExepctionForBadRead().
Referenced by ~SiPixelGainCalibrationOfflineService().
37 if (isDead || isNoisy)
bool isNoisy(const uint32_t &detID, const int &col, const int &row)
bool isDead(const uint32_t &detID, const int &col, const int &row)
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
float SiPixelGainCalibrationOfflineService::getPedestal |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
virtual |
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 ~SiPixelGainCalibrationOfflineService().
24 if (isDead || isNoisy)
float getPedestalByPixel(const uint32_t &detID, const int &col, const int &row, bool &isDeadPixel, bool &isNoisyPixel)
bool isNoisy(const uint32_t &detID, const int &col, const int &row)
bool isDead(const uint32_t &detID, const int &col, const int &row)
void throwExepctionForBadRead(std::string payload, const uint32_t &detID, const int &col, const int &row, double value=-1) const
bool SiPixelGainCalibrationOfflineService::isDead |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
virtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >.
Definition at line 45 of file SiPixelGainCalibrationOfflineService.cc.
References MillePedeFileConverter_cfg::e, SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::getPedestalByPixel(), isNoisy(), and cms::Exception::what().
Referenced by getGain(), getPedestal(), isDeadColumn(), isNoisy(), isNoisyColumn(), and ~SiPixelGainCalibrationOfflineService().
56 edm::LogInfo(
"SiPixelGainCalibrationOfflineService") <<
"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)
bool isNoisy(const uint32_t &detID, const int &col, const int &row)
char const * what() const override
bool isDead(const uint32_t &detID, const int &col, const int &row)
bool SiPixelGainCalibrationOfflineService::isDeadColumn |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
virtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >.
Definition at line 79 of file SiPixelGainCalibrationOfflineService.cc.
References MillePedeFileConverter_cfg::e, SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::getGainByColumn(), isDead(), isNoisy(), and cms::Exception::what().
Referenced by ~SiPixelGainCalibrationOfflineService().
90 edm::LogInfo(
"SiPixelGainCalibrationOfflineService") <<
"Attempting to check if nonexistant pixel is dead. Exception message: " << e.
what();
bool isNoisy(const uint32_t &detID, const int &col, const int &row)
char const * what() const override
bool isDead(const uint32_t &detID, const int &col, const int &row)
float getGainByColumn(const uint32_t &detID, const int &col, const int &row, bool &isDeadColumn, bool &isNoisyColumn)
bool SiPixelGainCalibrationOfflineService::isNoisy |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
virtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >.
Definition at line 62 of file SiPixelGainCalibrationOfflineService.cc.
References MillePedeFileConverter_cfg::e, SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::getPedestalByPixel(), isDead(), and cms::Exception::what().
Referenced by getGain(), getPedestal(), isDead(), isDeadColumn(), isNoisyColumn(), and ~SiPixelGainCalibrationOfflineService().
73 edm::LogInfo(
"SiPixelGainCalibrationOfflineService") <<
"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)
bool isNoisy(const uint32_t &detID, const int &col, const int &row)
char const * what() const override
bool isDead(const uint32_t &detID, const int &col, const int &row)
bool SiPixelGainCalibrationOfflineService::isNoisyColumn |
( |
const uint32_t & |
detID, |
|
|
const int & |
col, |
|
|
const int & |
row |
|
) |
| |
|
virtual |
Implements SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >.
Definition at line 96 of file SiPixelGainCalibrationOfflineService.cc.
References MillePedeFileConverter_cfg::e, SiPixelGainCalibrationServicePayloadGetter< SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd >::getGainByColumn(), isDead(), isNoisy(), and cms::Exception::what().
Referenced by ~SiPixelGainCalibrationOfflineService().
107 edm::LogInfo(
"SiPixelGainCalibrationOfflineService") <<
"Attempting to check if nonexistant pixel is Noisy. Exception message: " << e.
what();
bool isNoisy(const uint32_t &detID, const int &col, const int &row)
char const * what() const override
bool isDead(const uint32_t &detID, const int &col, const int &row)
float getGainByColumn(const uint32_t &detID, const int &col, const int &row, bool &isDeadColumn, bool &isNoisyColumn)