#include <CSCPedestalChoice.h>
Public Member Functions | |
CSCStaticPedestal () | |
float | pedestal (const std::vector< float > &sca, const CSCRecoConditions *cond, const CSCDetId id, int ichan) |
~CSCStaticPedestal () |
Concrete CSCPedestalChoice... Pedestal is static, taken from conditions data
Definition at line 82 of file CSCPedestalChoice.h.
CSCStaticPedestal::CSCStaticPedestal | ( | ) | [inline] |
Definition at line 84 of file CSCPedestalChoice.h.
{}
CSCStaticPedestal::~CSCStaticPedestal | ( | ) | [inline] |
Definition at line 85 of file CSCPedestalChoice.h.
{}
float CSCStaticPedestal::pedestal | ( | const std::vector< float > & | sca, |
const CSCRecoConditions * | cond, | ||
const CSCDetId | id, | ||
int | ichan | ||
) | [inline, virtual] |
Return appropriate pedestal for supplied SCA vector. If using conditions data then must also supply pointer to CSCRecoConditions and CSCDetId + channel
Implements CSCPedestalChoice.
Definition at line 86 of file CSCPedestalChoice.h.
References CSCRecoConditions::pedestal().
{ float ped = cond->pedestal(id, ichan ); return ped; }