CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

lumi::NormFunctor::NormFunctor ( )
explicit

Definition at line 2 of file NormFunctor.cc.

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

Definition at line 11 of file NormFunctor.h.

11 {}

Member Function Documentation

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

Implemented in lumi::fPoly.

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
const NormFunctor& lumi::NormFunctor::operator= ( const NormFunctor )
delete

Member Data Documentation

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

Definition at line 17 of file NormFunctor.h.

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

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

Definition at line 16 of file NormFunctor.h.

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