CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 64 of file GEMROmap.h.

64 {};

Member Function Documentation

void GEMROmap::add ( eCoord  e,
dCoord  d 
)
inline

Definition at line 70 of file GEMROmap.h.

References ztail::d, alignCSCRings::e, and roMapED_.

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

70 { roMapED_[e] = d; }
std::map< eCoord, dCoord > roMapED_
Definition: GEMROmap.h:82
tuple d
Definition: ztail.py:151
void GEMROmap::add ( dCoord  d,
eCoord  e 
)
inline

Definition at line 71 of file GEMROmap.h.

References ztail::d, alignCSCRings::e, and roMapDE_.

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

71 { roMapDE_[d] = e; }
std::map< dCoord, eCoord > roMapDE_
Definition: GEMROmap.h:83
tuple d
Definition: ztail.py:151
void GEMROmap::add ( channelNum  c,
stripNum  s 
)
inline

Definition at line 75 of file GEMROmap.h.

References c, chStMap_, and alignCSCRings::s.

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

75 { chStMap_[c] = s; }
const edm::EventSetup & c
std::map< channelNum, stripNum > chStMap_
Definition: GEMROmap.h:85
void GEMROmap::add ( stripNum  s,
channelNum  c 
)
inline

Definition at line 76 of file GEMROmap.h.

References c, alignCSCRings::s, and stChMap_.

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

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

Definition at line 73 of file GEMROmap.h.

References roMapED_.

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

Definition at line 67 of file GEMROmap.h.

References roMapED_.

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

Definition at line 68 of file GEMROmap.h.

References roMapDE_.

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

Definition at line 78 of file GEMROmap.h.

References stChMap_.

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

Definition at line 79 of file GEMROmap.h.

References chStMap_.

79 { return chStMap_.at(c); }
const edm::EventSetup & c
std::map< channelNum, stripNum > chStMap_
Definition: GEMROmap.h:85
bool GEMROmap::isValidChipID ( const eCoord r) const
inline

Definition at line 66 of file GEMROmap.h.

References roMapED_.

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

Member Data Documentation

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

Definition at line 85 of file GEMROmap.h.

Referenced by add(), and hitPosition().

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

Definition at line 83 of file GEMROmap.h.

Referenced by add(), and hitPosition().

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

Definition at line 82 of file GEMROmap.h.

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

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

Definition at line 86 of file GEMROmap.h.

Referenced by add(), and hitPosition().