#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) | |
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 |
edm::ESHandle< SiStripPedestals > | pedestalsHandle |
uint32_t | peds_cache_id |
Friends | |
class | SiStripRawProcessingFactory |
Definition at line 12 of file SiStripPedestalsSubtractor.h.
|
inlineprivate |
Definition at line 24 of file SiStripPedestalsSubtractor.h.
References pedestalsHandle.
|
inlineprivate |
Definition at line 31 of file SiStripPedestalsSubtractor.h.
References recoMuon::in.
Referenced by subtract_().
|
inlineprivate |
void SiStripPedestalsSubtractor::init | ( | const edm::EventSetup & | es | ) |
Definition at line 6 of file SiStripPedestalsSubtractor.cc.
References edm::EventSetup::get(), pedestalsHandle, and peds_cache_id.
void SiStripPedestalsSubtractor::subtract | ( | const edm::DetSet< SiStripRawDigi > & | input, |
std::vector< int16_t > & | output | ||
) |
Definition at line 15 of file SiStripPedestalsSubtractor.cc.
References edm::DetSet< T >::id, and subtract_().
void SiStripPedestalsSubtractor::subtract | ( | uint32_t | detId, |
uint16_t | firstAPV, | ||
std::vector< int16_t > & | adcs | ||
) |
Definition at line 14 of file SiStripPedestalsSubtractor.cc.
References subtract_().
|
inlineprivate |
Definition at line 20 of file SiStripPedestalsSubtractor.cc.
References SiStripPedestals::allPeds(), MillePedeFileConverter_cfg::e, eval(), fedmode_, SiStripPedestals::getRange(), pedestals, pedestalsHandle, and cms::Exception::what().
Referenced by subtract().
|
friend |
Definition at line 14 of file SiStripPedestalsSubtractor.h.
|
private |
Definition at line 28 of file SiStripPedestalsSubtractor.h.
Referenced by subtract_().
|
private |
Definition at line 26 of file SiStripPedestalsSubtractor.h.
Referenced by subtract_().
|
private |
Definition at line 24 of file SiStripPedestalsSubtractor.h.
Referenced by init(), SiStripPedestalsSubtractor(), and subtract_().
|
private |
Definition at line 27 of file SiStripPedestalsSubtractor.h.
Referenced by init().