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 ( )
constexpr

Definition at line 23 of file TkMSParameterization.h.

23 { return 0.1f; }

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

◆ lmBinInv()

constexpr float tkMSParameterization::lmBinInv ( )
constexpr

Definition at line 24 of file TkMSParameterization.h.

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

References lmBin().

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

◆ nLmBins()

constexpr unsigned int tkMSParameterization::nLmBins ( )
constexpr

Definition at line 22 of file TkMSParameterization.h.

22 { return 12 * 10; }

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

◆ packLID()

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

Definition at line 17 of file TkMSParameterization.h.

17 { return (id << 8) | od; }

References submitPVValidationJobs::od.

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

◆ unpackLID()

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

Definition at line 18 of file TkMSParameterization.h.

18  {
19  return std::make_tuple(lid >> 8, lid & 255);
20  }
tkMSParameterization::lmBin
constexpr float lmBin()
Definition: TkMSParameterization.h:23
submitPVValidationJobs.od
od
Definition: submitPVValidationJobs.py:891