#include <SiStripPedestalsSubtractor.h>
Public Member Functions | |
void | init (const edm::EventSetup &) |
void | subtract (const edm::DetSet< SiStripRawDigi > &, std::vector< int16_t > &) |
void | subtract (const uint32_t &, const uint16_t &, std::vector< int16_t > &) |
Private Member Functions | |
const int16_t & | eval (const int16_t &in) |
const uint16_t & | eval (const SiStripRawDigi &in) |
SiStripPedestalsSubtractor (bool mode) | |
template<class input_t > | |
void | subtract_ (const uint32_t &, const uint16_t &, const input_t &, std::vector< int16_t > &) |
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 | ( | const uint32_t & | id, |
const uint16_t & | firstStrip, | ||
std::vector< int16_t > & | digis | ||
) |
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().