CMS 3D CMS Logo

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

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

Definition at line 63 of file TkMSParameterization.h.

Function Documentation

constexpr float tkMSParameterization::lmBin ( )

Definition at line 23 of file TkMSParameterization.h.

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

23 { return 0.1f; }
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()
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; }
constexpr unsigned short tkMSParameterization::packLID ( unsigned int  id,
unsigned int  od 
)

Definition at line 17 of file TkMSParameterization.h.

References submitPVValidationJobs::od.

Referenced by TkMSParameterization::fromTo(), and TkMSParameterizationBuilder::produce().

17 { return (id << 8) | od; }
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  }