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.

77 { return fromTo(in.seqNum(), out.seqNum()); }

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

Referenced by fromTo().

◆ fromTo() [2/2]

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

Definition at line 79 of file TkMSParameterization.h.

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  }

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

◆ operator()()

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

Definition at line 88 of file TkMSParameterization.h.

88 { return data; }

References data.

Member Data Documentation

◆ data

AllData TkMSParameterization::data
private

◆ TkMSParameterizationBuilder

friend TkMSParameterization::TkMSParameterizationBuilder
private

Definition at line 92 of file TkMSParameterization.h.

tkMSParameterization::packLID
constexpr unsigned short packLID(unsigned int id, unsigned int od)
Definition: TkMSParameterization.h:17
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
TkMSParameterization::data
AllData data
Definition: TkMSParameterization.h:91
recoMuon::in
Definition: RecoMuonEnumerators.h:6
TkMSParameterization::fromTo
FromToData const * fromTo(DetLayer const &in, DetLayer const &out) const
Definition: TkMSParameterization.h:77
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
tkMSParameterization
Definition: TkMSParameterization.h:15