CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
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 ()
 
 NormFunctor (const NormFunctor &)=delete
 
const NormFunctoroperator= (const NormFunctor &)=delete
 
virtual ~NormFunctor ()
 

Protected Attributes

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

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() [2/2]

lumi::NormFunctor::NormFunctor ( const NormFunctor )
delete

◆ ~NormFunctor()

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

Definition at line 11 of file NormFunctor.h.

11 {}

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 }
std::map< std::string, float > m_coeffmap
Definition: NormFunctor.h:16
std::map< unsigned int, float > m_afterglowmap
Definition: NormFunctor.h:17

◆ operator=()

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

Member Data Documentation

◆ m_afterglowmap

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

Definition at line 17 of file NormFunctor.h.

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

◆ m_coeffmap

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

Definition at line 16 of file NormFunctor.h.

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