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

◆ NormFunctor() [1/2]

lumi::NormFunctor::NormFunctor ( )
explicit

Definition at line 2 of file NormFunctor.cc.

2 {}

◆ ~NormFunctor()

virtual lumi::NormFunctor::~NormFunctor ( )
inlinevirtual

Definition at line 9 of file NormFunctor.h.

9 {}

◆ NormFunctor() [2/2]

lumi::NormFunctor::NormFunctor ( const NormFunctor )
privatedelete

Member Function Documentation

◆ getCorrection()

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

Implemented in lumi::fPoly.

◆ initialize()

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.

4  {
5  m_coeffmap = coeffmap;
6  m_afterglowmap = afterglowmap;
7 }

◆ operator=()

const NormFunctor& lumi::NormFunctor::operator= ( const NormFunctor )
privatedelete

Member Data Documentation

◆ m_afterglowmap

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

Definition at line 15 of file NormFunctor.h.

Referenced by lumi::fPoly::initialize().

◆ m_coeffmap

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

Definition at line 14 of file NormFunctor.h.

Referenced by lumi::fPoly::initialize().

lumi::NormFunctor::m_coeffmap
std::map< std::string, float > m_coeffmap
Definition: NormFunctor.h:14
lumi::NormFunctor::m_afterglowmap
std::map< unsigned int, float > m_afterglowmap
Definition: NormFunctor.h:15