test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
CSCStaticPedestal Class Reference

#include <CSCPedestalChoice.h>

Inheritance diagram for CSCStaticPedestal:
CSCPedestalChoice

Public Member Functions

 CSCStaticPedestal ()
 
float pedestal (const std::vector< float > &sca, const CSCRecoConditions *cond, const CSCDetId id, int ichan)
 
 ~CSCStaticPedestal ()
 
- Public Member Functions inherited from CSCPedestalChoice
 CSCPedestalChoice ()
 
float getDefault () const
 Return default pedestal (typically zero) More...
 
void setDefault (float ped)
 Allow reseting of default pedestal (not currently used) More...
 
virtual ~CSCPedestalChoice ()
 

Detailed Description

Concrete CSCPedestalChoice... Pedestal is static, taken from conditions data

Definition at line 82 of file CSCPedestalChoice.h.

Constructor & Destructor Documentation

CSCStaticPedestal::CSCStaticPedestal ( )
inline

Definition at line 84 of file CSCPedestalChoice.h.

84 {}
CSCStaticPedestal::~CSCStaticPedestal ( )
inline

Definition at line 85 of file CSCPedestalChoice.h.

85 {}

Member Function Documentation

float CSCStaticPedestal::pedestal ( const std::vector< float > &  sca,
const CSCRecoConditions cond,
const CSCDetId  id,
int  ichan 
)
inlinevirtual

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().

87  {
88  float ped = cond->pedestal(id, ichan );
89  return ped;
90  }
float pedestal(const CSCDetId &id, int channel) const
static pedestal in ADC counts for strip channel (e.g. 1-16 for ganged ME1a, 1-48 for unganged ME1a) ...