CMS 3D CMS Logo

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

#include <GEMROMapping.h>

Classes

struct  chamDC
 
struct  chamEC
 
struct  channelNum
 
struct  stripNum
 
struct  vfatDC
 
struct  vfatEC
 

Public Member Functions

void add (chamEC e, chamDC d)
 
void add (channelNum c, stripNum s)
 
void add (GEMDetId e, vfatEC d)
 
void add (stripNum s, channelNum c)
 
void add (vfatEC e, vfatDC d)
 
const chamDCchamberPos (const chamEC &r) const
 
 GEMROMapping ()
 
const std::vector< vfatECgetVfats (const GEMDetId &r) const
 
const stripNumhitPos (const channelNum &c) const
 
const channelNumhitPos (const stripNum &s) const
 
bool isValidChamber (const chamEC &r) const
 
bool isValidChipID (const vfatEC &r) const
 
const vfatDCvfatPos (const vfatEC &r) const
 

Private Attributes

std::map< chamEC, chamDCchamED_
 
std::map< GEMDetId, std::vector< vfatEC > > chamVfats_
 
std::map< channelNum, stripNumchStMap_
 
std::map< stripNum, channelNumstChMap_
 
std::map< vfatEC, vfatDCvMapED_
 

Detailed Description

Definition at line 7 of file GEMROMapping.h.

Constructor & Destructor Documentation

◆ GEMROMapping()

GEMROMapping::GEMROMapping ( )
inline

Definition at line 83 of file GEMROMapping.h.

83 {};

Member Function Documentation

◆ add() [1/5]

void GEMROMapping::add ( chamEC  e,
chamDC  d 
)
inline

◆ add() [2/5]

void GEMROMapping::add ( channelNum  c,
stripNum  s 
)
inline

◆ add() [3/5]

void GEMROMapping::add ( GEMDetId  e,
vfatEC  d 
)
inline

◆ add() [4/5]

void GEMROMapping::add ( stripNum  s,
channelNum  c 
)
inline

◆ add() [5/5]

void GEMROMapping::add ( vfatEC  e,
vfatDC  d 
)
inline

◆ chamberPos()

const chamDC& GEMROMapping::chamberPos ( const chamEC r) const
inline

Definition at line 88 of file GEMROMapping.h.

88 { return chamED_.at(r); }

References chamED_, and alignCSCRings::r.

◆ getVfats()

const std::vector<vfatEC> GEMROMapping::getVfats ( const GEMDetId r) const
inline

Definition at line 91 of file GEMROMapping.h.

91 { return chamVfats_.at(r); }

References chamVfats_, and alignCSCRings::r.

◆ hitPos() [1/2]

const stripNum& GEMROMapping::hitPos ( const channelNum c) const
inline

Definition at line 98 of file GEMROMapping.h.

98 { return chStMap_.at(c); }

References HltBtagPostValidation_cff::c, and chStMap_.

◆ hitPos() [2/2]

const channelNum& GEMROMapping::hitPos ( const stripNum s) const
inline

Definition at line 97 of file GEMROMapping.h.

97 { return stChMap_.at(s); }

References alignCSCRings::s, and stChMap_.

◆ isValidChamber()

bool GEMROMapping::isValidChamber ( const chamEC r) const
inline

Definition at line 86 of file GEMROMapping.h.

86 { return chamED_.find(r) != chamED_.end(); }

References chamED_, and alignCSCRings::r.

◆ isValidChipID()

bool GEMROMapping::isValidChipID ( const vfatEC r) const
inline

Definition at line 85 of file GEMROMapping.h.

85 { return vMapED_.find(r) != vMapED_.end(); }

References alignCSCRings::r, and vMapED_.

◆ vfatPos()

const vfatDC& GEMROMapping::vfatPos ( const vfatEC r) const
inline

Definition at line 94 of file GEMROMapping.h.

94 { return vMapED_.at(r); }

References alignCSCRings::r, and vMapED_.

Member Data Documentation

◆ chamED_

std::map<chamEC, chamDC> GEMROMapping::chamED_
private

Definition at line 104 of file GEMROMapping.h.

Referenced by add(), chamberPos(), and isValidChamber().

◆ chamVfats_

std::map<GEMDetId, std::vector<vfatEC> > GEMROMapping::chamVfats_
private

Definition at line 106 of file GEMROMapping.h.

Referenced by add(), and getVfats().

◆ chStMap_

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

Definition at line 110 of file GEMROMapping.h.

Referenced by add(), and hitPos().

◆ stChMap_

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

Definition at line 111 of file GEMROMapping.h.

Referenced by add(), and hitPos().

◆ vMapED_

std::map<vfatEC, vfatDC> GEMROMapping::vMapED_
private

Definition at line 108 of file GEMROMapping.h.

Referenced by add(), isValidChipID(), and vfatPos().

GEMROMapping::chStMap_
std::map< channelNum, stripNum > chStMap_
Definition: GEMROMapping.h:110
alignCSCRings.s
s
Definition: alignCSCRings.py:92
GEMROMapping::chamED_
std::map< chamEC, chamDC > chamED_
Definition: GEMROMapping.h:104
GEMROMapping::stChMap_
std::map< stripNum, channelNum > stChMap_
Definition: GEMROMapping.h:111
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
alignCSCRings.r
r
Definition: alignCSCRings.py:93
GEMROMapping::vMapED_
std::map< vfatEC, vfatDC > vMapED_
Definition: GEMROMapping.h:108
GEMROMapping::chamVfats_
std::map< GEMDetId, std::vector< vfatEC > > chamVfats_
Definition: GEMROMapping.h:106
ztail.d
d
Definition: ztail.py:151
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37