CMS 3D CMS Logo

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

Definition at line 40 of file L1MuScale.h.

40 {}
virtual L1MuScale::~L1MuScale ( )
inlinevirtual

Definition at line 42 of file L1MuScale.h.

42 {}

Member Function Documentation

virtual float L1MuScale::getCenter ( unsigned  packed) const
pure virtual
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().

virtual float L1MuScale::getLowEdge ( unsigned  packed) const
pure virtual
virtual unsigned L1MuScale::getNBins ( ) const
pure virtual
virtual unsigned L1MuScale::getPacked ( float  value) const
pure virtual
virtual float L1MuScale::getScaleMax ( ) const
pure virtual
virtual float L1MuScale::getScaleMin ( ) const
pure virtual
virtual float L1MuScale::getValue ( unsigned  i) const
pure virtual

get value of the underlying vector for bin i

Implemented in L1MuSymmetricBinnedScale, and L1MuBinnedScale.

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

virtual std::string L1MuScale::print ( ) const
pure virtual
template<class Archive >
void L1MuScale::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 72 of file L1MuScale.h.

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

Definition at line 72 of file L1MuScale.h.