CMS 3D CMS Logo

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) override
 
 ~CSCStaticPedestal () override
 
- 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 83 of file CSCPedestalChoice.h.

Constructor & Destructor Documentation

◆ CSCStaticPedestal()

CSCStaticPedestal::CSCStaticPedestal ( )
inline

Definition at line 85 of file CSCPedestalChoice.h.

85 {}

◆ ~CSCStaticPedestal()

CSCStaticPedestal::~CSCStaticPedestal ( )
inlineoverride

Definition at line 86 of file CSCPedestalChoice.h.

86 {}

Member Function Documentation

◆ pedestal()

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

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 87 of file CSCPedestalChoice.h.

87  {
88  float ped = cond->pedestal(id, ichan);
89  return ped;
90  }
cond
Definition: plugin.cc:23