CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes
GEMROmap Class Reference

#include <GEMROmap.h>

Classes

struct  channelNum
 
struct  dCoord
 
struct  eCoord
 
struct  stripNum
 

Public Member Functions

void add (eCoord e, dCoord d)
 
void add (dCoord d, eCoord e)
 
void add (channelNum c, stripNum s)
 
void add (stripNum s, channelNum c)
 
 GEMROmap ()
 
const std::map< eCoord, dCoord > * getRoMap () const
 
const dCoordhitPosition (const eCoord &r) const
 
const eCoordhitPosition (const dCoord &r) const
 
const channelNumhitPosition (const stripNum &s) const
 
const stripNumhitPosition (const channelNum &c) const
 
bool isValidChipID (const eCoord &r) const
 

Private Attributes

std::map< channelNum, stripNumchStMap_
 
std::map< dCoord, eCoordroMapDE_
 
std::map< eCoord, dCoordroMapED_
 
std::map< stripNum, channelNumstChMap_
 

Detailed Description

Definition at line 6 of file GEMROmap.h.

Constructor & Destructor Documentation

GEMROmap::GEMROmap ( )
inline

Definition at line 69 of file GEMROmap.h.

69 {};

Member Function Documentation

void GEMROmap::add ( eCoord  e,
dCoord  d 
)
inline
void GEMROmap::add ( dCoord  d,
eCoord  e 
)
inline
void GEMROmap::add ( channelNum  c,
stripNum  s 
)
inline

Definition at line 82 of file GEMROmap.h.

References EnergyCorrector::c, chStMap_, and alignCSCRings::s.

Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().

82 {chStMap_[c]=s;}
std::map< channelNum, stripNum > chStMap_
Definition: GEMROmap.h:92
void GEMROmap::add ( stripNum  s,
channelNum  c 
)
inline

Definition at line 83 of file GEMROmap.h.

References EnergyCorrector::c, alignCSCRings::s, and stChMap_.

Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().

83 {stChMap_[s]=c;}
std::map< stripNum, channelNum > stChMap_
Definition: GEMROmap.h:93
const std::map<eCoord, dCoord>* GEMROmap::getRoMap ( ) const
inline

Definition at line 80 of file GEMROmap.h.

References roMapED_.

80 {return &roMapED_;}
std::map< eCoord, dCoord > roMapED_
Definition: GEMROmap.h:89
const dCoord& GEMROmap::hitPosition ( const eCoord r) const
inline

Definition at line 74 of file GEMROmap.h.

References roMapED_.

74 {return roMapED_.at(r);}
std::map< eCoord, dCoord > roMapED_
Definition: GEMROmap.h:89
const eCoord& GEMROmap::hitPosition ( const dCoord r) const
inline

Definition at line 75 of file GEMROmap.h.

References roMapDE_.

75 {return roMapDE_.at(r);}
std::map< dCoord, eCoord > roMapDE_
Definition: GEMROmap.h:90
const channelNum& GEMROmap::hitPosition ( const stripNum s) const
inline

Definition at line 85 of file GEMROmap.h.

References stChMap_.

85 {return stChMap_.at(s);}
std::map< stripNum, channelNum > stChMap_
Definition: GEMROmap.h:93
const stripNum& GEMROmap::hitPosition ( const channelNum c) const
inline

Definition at line 86 of file GEMROmap.h.

References chStMap_.

86 {return chStMap_.at(c);}
std::map< channelNum, stripNum > chStMap_
Definition: GEMROmap.h:92
bool GEMROmap::isValidChipID ( const eCoord r) const
inline

Definition at line 71 of file GEMROmap.h.

References roMapED_.

71  {
72  return roMapED_.find(r) != roMapED_.end();
73  }
std::map< eCoord, dCoord > roMapED_
Definition: GEMROmap.h:89

Member Data Documentation

std::map<channelNum, stripNum> GEMROmap::chStMap_
private

Definition at line 92 of file GEMROmap.h.

Referenced by add(), and hitPosition().

std::map<dCoord,eCoord> GEMROmap::roMapDE_
private

Definition at line 90 of file GEMROmap.h.

Referenced by add(), and hitPosition().

std::map<eCoord,dCoord> GEMROmap::roMapED_
private

Definition at line 89 of file GEMROmap.h.

Referenced by add(), getRoMap(), hitPosition(), and isValidChipID().

std::map<stripNum, channelNum> GEMROmap::stChMap_
private

Definition at line 93 of file GEMROmap.h.

Referenced by add(), and hitPosition().