#include <SiPixelGainCalibrationServiceBase.h>
Public Member Functions | |
std::vector< uint32_t > | getDetIds () |
virtual float | getGain (const uint32_t &detID, const int &col, const int &row)=0 |
double | getGainHigh () |
double | getGainLow () |
virtual float | getPedestal (const uint32_t &detID, const int &col, const int &row)=0 |
double | getPedHigh () |
double | getPedLow () |
virtual bool | isDead (const uint32_t &detID, const int &col, const int &row)=0 |
virtual bool | isDeadColumn (const uint32_t &detID, const int &col, const int &row)=0 |
virtual bool | isNoisy (const uint32_t &detID, const int &col, const int &row)=0 |
virtual bool | isNoisyColumn (const uint32_t &detID, const int &col, const int &row)=0 |
void | setESObjects (const edm::EventSetup &es) |
SiPixelGainCalibrationServicePayloadGetter (const edm::ParameterSet &conf) | |
virtual | ~SiPixelGainCalibrationServicePayloadGetter () |
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 |
Definition at line 58 of file SiPixelGainCalibrationServiceBase.h.
|
explicit |
Definition at line 124 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_.
|
inlinevirtual |
Definition at line 62 of file SiPixelGainCalibrationServiceBase.h.
|
virtual |
Implements SiPixelGainCalibrationServiceBase.
Definition at line 157 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped.
|
pure virtual |
|
protected |
Definition at line 267 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 210 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.
|
virtual |
Implements SiPixelGainCalibrationServiceBase.
Definition at line 172 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::gainHigh_, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped.
|
virtual |
Implements SiPixelGainCalibrationServiceBase.
Definition at line 166 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::gainLow_, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped.
|
pure virtual |
|
protected |
Definition at line 229 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 190 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.
|
virtual |
Implements SiPixelGainCalibrationServiceBase.
Definition at line 184 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::pedHigh_.
|
virtual |
Implements SiPixelGainCalibrationServiceBase.
Definition at line 178 of file SiPixelGainCalibrationServiceBase.h.
References SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::ped, and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::pedLow_.
|
pure virtual |
|
pure virtual |
Implements SiPixelGainCalibrationServiceBase.
Implemented in SiPixelGainCalibrationForHLTService, SiPixelGainCalibrationForHLTSimService, SiPixelGainCalibrationOfflineSimService, SiPixelGainCalibrationOfflineService, and SiPixelGainCalibrationService.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn().
|
pure virtual |
|
pure virtual |
Implements SiPixelGainCalibrationServiceBase.
Implemented in SiPixelGainCalibrationForHLTService, SiPixelGainCalibrationForHLTSimService, SiPixelGainCalibrationOfflineSimService, SiPixelGainCalibrationOfflineService, and SiPixelGainCalibrationService.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn().
|
virtual |
Implements SiPixelGainCalibrationServiceBase.
Definition at line 147 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 303 of file SiPixelGainCalibrationServiceBase.h.
References MessageLogger_cfi::cerr.
|
protected |
Definition at line 94 of file SiPixelGainCalibrationServiceBase.h.
|
protected |
Definition at line 95 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 99 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainHigh().
|
protected |
Definition at line 98 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainLow().
|
protected |
Definition at line 97 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::setESObjects().
|
protected |
Definition at line 104 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 103 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 120 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(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 109 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 115 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 116 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 117 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 118 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByPixel(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 111 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getGainByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
protected |
Definition at line 112 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedestalByColumn(), and SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::SiPixelGainCalibrationServicePayloadGetter().
|
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 96 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 101 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedHigh().
|
protected |
Definition at line 100 of file SiPixelGainCalibrationServiceBase.h.
Referenced by SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::getPedLow().