#include <CSCPedestalChoice.h>
Public Member Functions | |
CSCPedestalChoice () | |
float | getDefault () const |
Return default pedestal (typically zero) More... | |
virtual float | pedestal (const std::vector< float > &sca, const CSCRecoConditions *cond=0, const CSCDetId id=0, int ichan=0)=0 |
void | setDefault (float ped) |
Allow reseting of default pedestal (not currently used) More... | |
virtual | ~CSCPedestalChoice () |
Private Attributes | |
float | defaultPed |
ABC for concrete classes which estimate SCA pedestal in alternative ways
Definition at line 14 of file CSCPedestalChoice.h.
|
inline |
Definition at line 16 of file CSCPedestalChoice.h.
|
inlinevirtual |
Definition at line 17 of file CSCPedestalChoice.h.
|
inline |
Return default pedestal (typically zero)
Definition at line 19 of file CSCPedestalChoice.h.
References defaultPed.
Referenced by CSCDynamicPedestal2::pedestal(), and CSCDynamicPedestal1::pedestal().
|
pure virtual |
Return appropriate pedestal for supplied SCA vector. If using conditions data then must also supply pointer to CSCRecoConditions and CSCDetId + channel
Implemented in CSCStaticPedestal, CSCDynamicPedestal1, and CSCDynamicPedestal2.
Referenced by CSCHitFromStripOnly::fillPulseHeights(), and setDefault().
|
inline |
Allow reseting of default pedestal (not currently used)
Definition at line 21 of file CSCPedestalChoice.h.
References defaultPed, and pedestal().
|
private |
Definition at line 30 of file CSCPedestalChoice.h.
Referenced by getDefault(), and setDefault().