CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes | Private Member Functions
lumi::NormFunctor Class Referenceabstract

#include <NormFunctor.h>

Inheritance diagram for lumi::NormFunctor:
lumi::fPoly

Public Member Functions

virtual float getCorrection (float luminonorm, float intglumi, unsigned int nBXs) const =0
 
void initialize (const std::map< std::string, float > &coeffmap, const std::map< unsigned int, float > &afterglowmap)
 
 NormFunctor ()
 
virtual ~NormFunctor ()
 

Protected Attributes

std::map< unsigned int, float > m_afterglowmap
 
std::map< std::string, float > m_coeffmap
 

Private Member Functions

 NormFunctor (const NormFunctor &)=delete
 
const NormFunctoroperator= (const NormFunctor &)=delete
 

Detailed Description

Definition at line 6 of file NormFunctor.h.

Constructor & Destructor Documentation

lumi::NormFunctor::NormFunctor ( )
explicit

Definition at line 2 of file NormFunctor.cc.

2 {}
virtual lumi::NormFunctor::~NormFunctor ( )
inlinevirtual
lumi::NormFunctor::NormFunctor ( const NormFunctor )
privatedelete

Member Function Documentation

virtual float lumi::NormFunctor::getCorrection ( float  luminonorm,
float  intglumi,
unsigned int  nBXs 
) const
pure virtual

Implemented in lumi::fPoly.

Referenced by ~NormFunctor().

void lumi::NormFunctor::initialize ( const std::map< std::string, float > &  coeffmap,
const std::map< unsigned int, float > &  afterglowmap 
)

Definition at line 3 of file NormFunctor.cc.

References m_afterglowmap, and m_coeffmap.

Referenced by ~NormFunctor().

3  {
4  m_coeffmap=coeffmap;
5  m_afterglowmap=afterglowmap;
6 }
std::map< unsigned int, float > m_afterglowmap
Definition: NormFunctor.h:15
std::map< std::string, float > m_coeffmap
Definition: NormFunctor.h:14
const NormFunctor& lumi::NormFunctor::operator= ( const NormFunctor )
privatedelete

Member Data Documentation

std::map< unsigned int, float > lumi::NormFunctor::m_afterglowmap
protected

Definition at line 15 of file NormFunctor.h.

Referenced by lumi::fPoly::getCorrection(), initialize(), and lumi::fPoly::initialize().

std::map< std::string , float > lumi::NormFunctor::m_coeffmap
protected

Definition at line 14 of file NormFunctor.h.

Referenced by lumi::fPoly::getCorrection(), initialize(), and lumi::fPoly::initialize().