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 74 of file TkMSParameterization.h.

Member Typedef Documentation

Definition at line 77 of file TkMSParameterization.h.

Definition at line 76 of file TkMSParameterization.h.

Member Function Documentation

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

Definition at line 79 of file TkMSParameterization.h.

References DetLayer::seqNum().

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

Definition at line 84 of file TkMSParameterization.h.

References data, AlCaHLTBitMon_ParallelJobs::p, and tkMSParameterization::packLID().

84  {
85  using namespace tkMSParameterization;
86  auto id = packLID(in,out);
87  auto p = data.find(id);
88  if (p!=data.end()) return &(*p).second;
89  return nullptr;
90  }
unsigned short packLID(unsigned int id, unsigned int od)
auto const& TkMSParameterization::operator() ( ) const
inline

Definition at line 93 of file TkMSParameterization.h.

References data.

93 { return data;}

Member Data Documentation

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

Definition at line 97 of file TkMSParameterization.h.