#include <SiStripPedestalsSubtractor.h>
Public Member Functions | |
void | init (const edm::EventSetup &) |
void | subtract (const edm::DetSet< SiStripRawDigi > &input, std::vector< int16_t > &output) |
void | subtract (uint32_t detId, uint16_t firstAPV, std::vector< int16_t > &adcs) |
Private Member Functions | |
int16_t | eval (int16_t in) |
uint16_t | eval (SiStripRawDigi in) |
SiStripPedestalsSubtractor (bool mode, edm::ConsumesCollector iC) | |
template<class input_t > | |
void | subtract_ (uint32_t detId, uint16_t firstAPV, const input_t &input, std::vector< int16_t > &output) |
Private Attributes | |
bool | fedmode_ |
std::vector< int > | pedestals |
const SiStripPedestals * | pedestalsHandle |
edm::ESGetToken< SiStripPedestals, SiStripPedestalsRcd > | pedestalsToken_ |
edm::ESWatcher< SiStripPedestalsRcd > | pedestalsWatcher_ |
Friends | |
class | SiStripRawProcessingFactory |
Definition at line 14 of file SiStripPedestalsSubtractor.h.
|
inlineprivate |
Definition at line 23 of file SiStripPedestalsSubtractor.h.
|
inlineprivate |
Definition at line 33 of file SiStripPedestalsSubtractor.h.
References recoMuon::in.
Referenced by subtract_().
|
inlineprivate |
Definition at line 34 of file SiStripPedestalsSubtractor.h.
References recoMuon::in.
void SiStripPedestalsSubtractor::init | ( | const edm::EventSetup & | es | ) |
Definition at line 5 of file SiStripPedestalsSubtractor.cc.
References edm::ESWatcher< T >::check(), edm::EventSetup::getData(), pedestalsHandle, pedestalsToken_, and pedestalsWatcher_.
void SiStripPedestalsSubtractor::subtract | ( | const edm::DetSet< SiStripRawDigi > & | input, |
std::vector< int16_t > & | output | ||
) |
Definition at line 14 of file SiStripPedestalsSubtractor.cc.
References input, and subtract_().
void SiStripPedestalsSubtractor::subtract | ( | uint32_t | detId, |
uint16_t | firstAPV, | ||
std::vector< int16_t > & | adcs | ||
) |
Definition at line 11 of file SiStripPedestalsSubtractor.cc.
References hcalRecHitTable_cff::detId, and subtract_().
|
inlineprivate |
Definition at line 19 of file SiStripPedestalsSubtractor.cc.
References SiStripPedestals::allPeds(), MillePedeFileConverter_cfg::e, eval(), fedmode_, SiStripPedestals::getRange(), input, pedestals, and pedestalsHandle.
Referenced by subtract().
|
friend |
Definition at line 15 of file SiStripPedestalsSubtractor.h.
|
private |
Definition at line 29 of file SiStripPedestalsSubtractor.h.
Referenced by subtract_().
|
private |
Definition at line 28 of file SiStripPedestalsSubtractor.h.
Referenced by subtract_().
|
private |
Definition at line 27 of file SiStripPedestalsSubtractor.h.
Referenced by init(), and subtract_().
|
private |
Definition at line 25 of file SiStripPedestalsSubtractor.h.
Referenced by init().
|
private |
Definition at line 26 of file SiStripPedestalsSubtractor.h.
Referenced by init().