CMS 3D CMS Logo

Public Member Functions

CSCDynamicPedestal1 Class Reference

#include <CSCPedestalChoice.h>

Inheritance diagram for CSCDynamicPedestal1:
CSCPedestalChoice

List of all members.

Public Member Functions

 CSCDynamicPedestal1 ()
float pedestal (const std::vector< float > &sca, const CSCRecoConditions *, const CSCDetId, int)
 ~CSCDynamicPedestal1 ()

Detailed Description

Concrete CSCPedestalChoice... Pedestal is dynamic, take first SCA time bin

Definition at line 61 of file CSCPedestalChoice.h.


Constructor & Destructor Documentation

CSCDynamicPedestal1::CSCDynamicPedestal1 ( ) [inline]

Definition at line 63 of file CSCPedestalChoice.h.

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

Definition at line 64 of file CSCPedestalChoice.h.

{}

Member Function Documentation

float CSCDynamicPedestal1::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 65 of file CSCPedestalChoice.h.

References CSCPedestalChoice::getDefault().

                                                           {
                float ped = getDefault();
                if ( !sca.empty() ){
                        ped = sca[0];
                }
          return ped;
        }