#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 21 of file SiStripPedestalsSubtractor.h.
|
inlineprivate |
Definition at line 29 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(), get, pedestalsHandle, and peds_cache_id.
void SiStripPedestalsSubtractor::subtract | ( | const edm::DetSet< SiStripRawDigi > & | input, |
std::vector< int16_t > & | output | ||
) |
Definition at line 17 of file SiStripPedestalsSubtractor.cc.
References input, convertSQLitetoXML_cfg::output, 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 22 of file SiStripPedestalsSubtractor.cc.
References SiStripPedestals::allPeds(), MillePedeFileConverter_cfg::e, eval(), fedmode_, SiStripPedestals::getRange(), input, convertSQLitetoXML_cfg::output, pedestals, and pedestalsHandle.
Referenced by subtract().
|
friend |
Definition at line 13 of file SiStripPedestalsSubtractor.h.
|
private |
Definition at line 25 of file SiStripPedestalsSubtractor.h.
Referenced by subtract_().
|
private |
Definition at line 23 of file SiStripPedestalsSubtractor.h.
Referenced by subtract_().
|
private |
Definition at line 21 of file SiStripPedestalsSubtractor.h.
Referenced by init(), and subtract_().
|
private |
Definition at line 24 of file SiStripPedestalsSubtractor.h.
Referenced by init().