CMS 3D CMS Logo

Classes | Typedefs | Functions
tkMSParameterization Namespace Reference

Classes

struct  Elem
 
class  Elems
 
class  FromToData
 

Typedefs

using AllData = std::unordered_map< unsigned short, FromToData >
 

Functions

constexpr float lmBin ()
 
constexpr float lmBinInv ()
 
constexpr unsigned int nLmBins ()
 
constexpr unsigned short packLID (unsigned int id, unsigned int od)
 
constexpr std::tuple< unsigned short, unsigned short > unpackLID (unsigned short lid)
 

Typedef Documentation

◆ AllData

using tkMSParameterization::AllData = typedef std::unordered_map<unsigned short, FromToData>

Definition at line 63 of file TkMSParameterization.h.

Function Documentation

◆ lmBin()

constexpr float tkMSParameterization::lmBin ( )

Definition at line 23 of file TkMSParameterization.h.

Referenced by lmBinInv(), and TkMSParameterizationBuilder::produce().

23 { return 0.1f; }

◆ lmBinInv()

constexpr float tkMSParameterization::lmBinInv ( )

Definition at line 24 of file TkMSParameterization.h.

References lmBin().

Referenced by tkMSParameterization::FromToData::get().

24 { return 1.f / lmBin(); }
constexpr float lmBin()

◆ nLmBins()

constexpr unsigned int tkMSParameterization::nLmBins ( )

Definition at line 22 of file TkMSParameterization.h.

Referenced by tkMSParameterization::FromToData::get(), and TkMSParameterizationBuilder::produce().

22 { return 12 * 10; }

◆ packLID()

constexpr unsigned short tkMSParameterization::packLID ( unsigned int  id,
unsigned int  od 
)

◆ unpackLID()

constexpr std::tuple<unsigned short, unsigned short> tkMSParameterization::unpackLID ( unsigned short  lid)

Definition at line 18 of file TkMSParameterization.h.

18  {
19  return std::make_tuple(lid >> 8, lid & 255);
20  }