CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
TkMSParameterization Class Reference

#include <TkMSParameterization.h>

Public Types

using AllData = tkMSParameterization::AllData
 
using FromToData = tkMSParameterization::FromToData
 

Public Member Functions

FromToData const * fromTo (DetLayer const &in, DetLayer const &out) const
 
FromToData const * fromTo (int in, int out) const
 
auto const & operator() () const
 

Private Attributes

AllData data
 
friend TkMSParameterizationBuilder
 

Detailed Description

Definition at line 72 of file TkMSParameterization.h.

Member Typedef Documentation

◆ AllData

Definition at line 75 of file TkMSParameterization.h.

◆ FromToData

Definition at line 74 of file TkMSParameterization.h.

Member Function Documentation

◆ fromTo() [1/2]

FromToData const* TkMSParameterization::fromTo ( DetLayer const &  in,
DetLayer const &  out 
) const
inline

Definition at line 77 of file TkMSParameterization.h.

References fromTo(), recoMuon::in, and MillePedeFileConverter_cfg::out.

Referenced by fromTo().

77 { return fromTo(in.seqNum(), out.seqNum()); }
FromToData const * fromTo(DetLayer const &in, DetLayer const &out) const

◆ fromTo() [2/2]

FromToData const* TkMSParameterization::fromTo ( int  in,
int  out 
) const
inline

Definition at line 79 of file TkMSParameterization.h.

References data, recoMuon::in, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, and tkMSParameterization::packLID().

79  {
80  using namespace tkMSParameterization;
81  auto id = packLID(in, out);
82  auto p = data.find(id);
83  if (p != data.end())
84  return &(*p).second;
85  return nullptr;
86  }
constexpr unsigned short packLID(unsigned int id, unsigned int od)

◆ operator()()

auto const& TkMSParameterization::operator() ( ) const
inline

Definition at line 88 of file TkMSParameterization.h.

References data.

88 { return data; }

Member Data Documentation

◆ data

AllData TkMSParameterization::data
private

◆ TkMSParameterizationBuilder

friend TkMSParameterization::TkMSParameterizationBuilder
private

Definition at line 92 of file TkMSParameterization.h.