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

Definition at line 75 of file TkMSParameterization.h.

Definition at line 74 of file TkMSParameterization.h.

Member Function Documentation

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

Definition at line 77 of file TkMSParameterization.h.

References fromTo(), and DetLayer::seqNum().

Referenced by fromTo().

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

Definition at line 79 of file TkMSParameterization.h.

References data, 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  }
unsigned short packLID(unsigned int id, unsigned int od)
auto const& TkMSParameterization::operator() ( ) const
inline

Definition at line 88 of file TkMSParameterization.h.

References data.

88 { return data; }

Member Data Documentation

AllData TkMSParameterization::data
private
friend TkMSParameterization::TkMSParameterizationBuilder
private

Definition at line 92 of file TkMSParameterization.h.