CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Friends
L1MuScale Class Referenceabstract

#include <L1MuScale.h>

Inheritance diagram for L1MuScale:
L1MuBinnedScale L1MuSymmetricBinnedScale

Public Member Functions

virtual float getCenter (unsigned packed) const =0
 get the center of bin represented by packed More...
 
virtual float getHighEdge (unsigned packed) const =0
 get the upper edge of bin represented by packed More...
 
virtual float getLowEdge (unsigned packed) const =0
 get the low edge of bin represented by packed More...
 
virtual unsigned getNBins () const =0
 get number of bins More...
 
virtual unsigned getPacked (float value) const =0
 pack a value More...
 
virtual float getScaleMax () const =0
 get the upper edge of the last bin More...
 
virtual float getScaleMin () const =0
 get the lower edge of the first bin More...
 
virtual float getValue (unsigned i) const =0
 get value of the underlying vector for bin i More...
 
 L1MuScale ()
 
virtual std::string print () const =0
 
virtual ~L1MuScale ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

define the abstract interface to all scales

Definition at line 38 of file L1MuScale.h.

Constructor & Destructor Documentation

◆ L1MuScale()

L1MuScale::L1MuScale ( )
inline

Definition at line 40 of file L1MuScale.h.

40 {}

◆ ~L1MuScale()

virtual L1MuScale::~L1MuScale ( )
inlinevirtual

Definition at line 42 of file L1MuScale.h.

42 {}

Member Function Documentation

◆ getCenter()

virtual float L1MuScale::getCenter ( unsigned  packed) const
pure virtual

◆ getHighEdge()

virtual float L1MuScale::getHighEdge ( unsigned  packed) const
pure virtual

get the upper edge of bin represented by packed

Implemented in L1MuSymmetricBinnedScale, and L1MuBinnedScale.

Referenced by L1GtEtaPhiConversions::convertL1Scales(), and L1GtEtaPhiConversions::print().

◆ getLowEdge()

virtual float L1MuScale::getLowEdge ( unsigned  packed) const
pure virtual

◆ getNBins()

virtual unsigned L1MuScale::getNBins ( ) const
pure virtual

◆ getPacked()

virtual unsigned L1MuScale::getPacked ( float  value) const
pure virtual

◆ getScaleMax()

virtual float L1MuScale::getScaleMax ( ) const
pure virtual

◆ getScaleMin()

virtual float L1MuScale::getScaleMin ( ) const
pure virtual

◆ getValue()

virtual float L1MuScale::getValue ( unsigned  i) const
pure virtual

◆ print()

virtual std::string L1MuScale::print ( ) const
pure virtual

◆ serialize()

template<class Archive >
void L1MuScale::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 71 of file L1MuScale.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 71 of file L1MuScale.h.