CMS 3D CMS Logo

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

#include <L1MuPacking.h>

Inheritance diagram for L1MuPacking:
L1MuPseudoSignedPacking L1MuSignedPacking< Bits > L1MuSignedPackingGeneric L1MuUnsignedPacking< Bits > L1MuUnsignedPackingGeneric

Public Member Functions

virtual int idxFromPacked (unsigned packed) const =0
 get the value from the packed notation More...
 
virtual unsigned packedFromIdx (int idx) const =0
 get the packed notation of a value More...
 
virtual int signFromPacked (unsigned packed) const =0
 get the sign from the packed notation (0=positive, 1=negative) More...
 
virtual ~L1MuPacking ()
 

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

Abstract Packing of an int in a bit-field

Definition at line 36 of file L1MuPacking.h.

Constructor & Destructor Documentation

◆ ~L1MuPacking()

virtual L1MuPacking::~L1MuPacking ( )
inlinevirtual

Definition at line 38 of file L1MuPacking.h.

38 {}

Member Function Documentation

◆ idxFromPacked()

virtual int L1MuPacking::idxFromPacked ( unsigned  packed) const
pure virtual

◆ packedFromIdx()

virtual unsigned L1MuPacking::packedFromIdx ( int  idx) const
pure virtual

◆ serialize()

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

◆ signFromPacked()

virtual int L1MuPacking::signFromPacked ( unsigned  packed) const
pure virtual

get the sign from the packed notation (0=positive, 1=negative)

Implemented in L1MuPseudoSignedPacking, L1MuSignedPackingGeneric, L1MuSignedPacking< Bits >, L1MuUnsignedPackingGeneric, and L1MuUnsignedPacking< Bits >.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 47 of file L1MuPacking.h.

◆ cond::serialization::access

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

Definition at line 47 of file L1MuPacking.h.