#include <SiPixelGainCalibrationServiceBase.h>
Public Member Functions | |
std::vector< uint32_t > | getDetIds () override |
float | getGain (const uint32_t &detID, const int &col, const int &row) override=0 |
double | getGainHigh () override |
double | getGainLow () override |
float | getPedestal (const uint32_t &detID, const int &col, const int &row) override=0 |
double | getPedHigh () override |
double | getPedLow () override |
bool | isDead (const uint32_t &detID, const int &col, const int &row) override=0 |
bool | isDeadColumn (const uint32_t &detID, const int &col, const int &row) override=0 |
bool | isNoisy (const uint32_t &detID, const int &col, const int &row) override=0 |
bool | isNoisyColumn (const uint32_t &detID, const int &col, const int &row) override=0 |
thePayloadObject const & | payload () const |
void | setESObjects (const edm::EventSetup &es) override |
SiPixelGainCalibrationServicePayloadGetter (const edm::ParameterSet &conf) | |
~SiPixelGainCalibrationServicePayloadGetter () override | |
Public Member Functions inherited from SiPixelGainCalibrationServiceBase | |
virtual void | calibrate (uint32_t detID, DigiIterator b, DigiIterator e, float conversionFactor, float offset, int *electron) |
SiPixelGainCalibrationServiceBase () | |
virtual | ~SiPixelGainCalibrationServiceBase () |
Protected Member Functions | |
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 |
Protected Attributes | |
edm::ParameterSet | conf_ |
bool | ESetupInit_ |
double | gainHigh_ |
double | gainLow_ |
int | numberOfRowsAveragedOver_ |
int | old_cols |
uint32_t | old_detID |
thePayloadObject::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< thePayloadObject > | ped |
double | pedHigh_ |
double | pedLow_ |
Additional Inherited Members | |
Public Types inherited from SiPixelGainCalibrationServiceBase | |
typedef edm::DetSet< PixelDigi >::const_iterator | DigiIterator |
Static Public Member Functions inherited from SiPixelGainCalibrationServiceBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Definition at line 61 of file SiPixelGainCalibrationServiceBase.h.
|
explicit |
Definition at line 129 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_detID, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldAveragedBlockDataGain_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldAveragedBlockDataPed_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldColumnIndexGain_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldColumnIndexPed_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldColumnValueGain_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldColumnValuePed_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldThisColumnIsDeadGain_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldThisColumnIsDeadPed_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldThisColumnIsNoisyGain_, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldThisColumnIsNoisyPed_.
|
inlineoverride |
Definition at line 65 of file SiPixelGainCalibrationServiceBase.h.
|
overridevirtual |
Implements SiPixelGainCalibrationServiceBase.
Definition at line 162 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped.
|
overridepure virtual |
|
protected |
Definition at line 272 of file SiPixelGainCalibrationServiceBase.h.
References cuy::col, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ESetupInit_, Exception, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::isDeadColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::isNoisyColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::numberOfRowsAveragedOver_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_cols, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_detID, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_range, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldAveragedBlockDataGain_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldColumnIndexGain_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldColumnIndexPed_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldColumnValueGain_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldThisColumnIsDeadGain_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldThisColumnIsNoisyGain_, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped.
|
protected |
Definition at line 215 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ESetupInit_, Exception, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_cols, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_detID, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_range, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldColumnValuePed_, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped.
|
overridevirtual |
Implements SiPixelGainCalibrationServiceBase.
Definition at line 177 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::gainHigh_, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped.
|
overridevirtual |
Implements SiPixelGainCalibrationServiceBase.
Definition at line 171 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::gainLow_, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped.
|
overridepure virtual |
|
protected |
Definition at line 234 of file SiPixelGainCalibrationServiceBase.h.
References cuy::col, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ESetupInit_, Exception, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::isDeadColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::isNoisyColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::numberOfRowsAveragedOver_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_cols, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_detID, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_range, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldAveragedBlockDataPed_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldColumnIndexGain_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldColumnIndexPed_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldColumnValuePed_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldThisColumnIsDeadPed_, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldThisColumnIsNoisyPed_, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped.
|
protected |
Definition at line 195 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ESetupInit_, Exception, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_cols, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_detID, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::old_range, SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::oldColumnIndexGain_, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped.
|
overridevirtual |
Implements SiPixelGainCalibrationServiceBase.
Definition at line 189 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::pedHigh_.
|
overridevirtual |
Implements SiPixelGainCalibrationServiceBase.
Definition at line 183 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::pedLow_.
|
overridepure virtual |
|
overridepure virtual |
Implements SiPixelGainCalibrationServiceBase.
Implemented in SiPixelGainCalibrationForHLTService, SiPixelGainCalibrationForHLTSimService, SiPixelGainCalibrationOfflineSimService, SiPixelGainCalibrationOfflineService, and SiPixelGainCalibrationService.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn().
|
overridepure virtual |
|
overridepure virtual |
Implements SiPixelGainCalibrationServiceBase.
Implemented in SiPixelGainCalibrationForHLTService, SiPixelGainCalibrationForHLTSimService, SiPixelGainCalibrationOfflineSimService, SiPixelGainCalibrationOfflineService, and SiPixelGainCalibrationService.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn().
|
inline |
Definition at line 79 of file SiPixelGainCalibrationServiceBase.h.
|
overridevirtual |
Implements SiPixelGainCalibrationServiceBase.
Definition at line 152 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ESetupInit_, edm::EventSetup::get(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::numberOfRowsAveragedOver_, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped.
|
protected |
Definition at line 308 of file SiPixelGainCalibrationServiceBase.h.
References MessageLogger_cfi::cerr.
|
protected |
Definition at line 99 of file SiPixelGainCalibrationServiceBase.h.
|
protected |
Definition at line 100 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByPixel(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByPixel(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::setESObjects().
|
protected |
Definition at line 104 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainHigh().
|
protected |
Definition at line 103 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainLow().
|
protected |
Definition at line 102 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::setESObjects().
|
protected |
Definition at line 109 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByPixel(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByPixel().
|
protected |
Definition at line 108 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByPixel(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByPixel(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 125 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByPixel(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByPixel().
|
protected |
Definition at line 113 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 114 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 120 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByPixel(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 121 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 122 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 123 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByPixel(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 116 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 117 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 118 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 119 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 101 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getDetIds(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByPixel(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainHigh(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainLow(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByPixel(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedHigh(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedLow(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::setESObjects().
|
protected |
Definition at line 106 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedHigh().
|
protected |
Definition at line 105 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedLow().