CMS 3D CMS Logo

Public Member Functions

CSCStaticPedestal Class Reference

#include <CSCPedestalChoice.h>

Inheritance diagram for CSCStaticPedestal:
CSCPedestalChoice

List of all members.

Public Member Functions

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

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.

{}
CSCStaticPedestal::~CSCStaticPedestal ( ) [inline]

Definition at line 85 of file CSCPedestalChoice.h.

{}

Member Function Documentation

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;
        }