CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
EcalElectronicsMapping::MapItem Struct Reference

Wrap a generic EcalTrigTowerDetId to the equivalent one in z+ Quadrant 1 (from 0 < phi < pi/2) More...

Public Member Functions

int dccId () const
 
 MapItem (const DetId &acell, const EcalElectronicsId &aelid, const EcalTriggerElectronicsId &atrelid)
 
int pseudoStripId () const
 
int stripId () const
 
int tccId () const
 
int towerId () const
 
int ttId () const
 

Public Attributes

DetId cell
 
EcalElectronicsId elid
 
EcalTriggerElectronicsId trelid
 

Detailed Description

Wrap a generic EcalTrigTowerDetId to the equivalent one in z+ Quadrant 1 (from 0 < phi < pi/2)

Maybe these are needed Wrap a generic EEDetId to the equivalent one in z+ Quadrant 1 (from 0 < phi < pi/2)

Definition at line 209 of file EcalElectronicsMapping.h.

Constructor & Destructor Documentation

◆ MapItem()

EcalElectronicsMapping::MapItem::MapItem ( const DetId acell,
const EcalElectronicsId aelid,
const EcalTriggerElectronicsId atrelid 
)
inline

Definition at line 210 of file EcalElectronicsMapping.h.

211  : cell(acell), elid(aelid), trelid(atrelid) {}

Member Function Documentation

◆ dccId()

int EcalElectronicsMapping::MapItem::dccId ( ) const
inline

Definition at line 215 of file EcalElectronicsMapping.h.

215 { return elid.dccId(); }

References EcalElectronicsId::dccId(), and elid.

◆ pseudoStripId()

int EcalElectronicsMapping::MapItem::pseudoStripId ( ) const
inline

Definition at line 220 of file EcalElectronicsMapping.h.

220 { return trelid.pseudoStripId(); }

References EcalTriggerElectronicsId::pseudoStripId(), and trelid.

◆ stripId()

int EcalElectronicsMapping::MapItem::stripId ( ) const
inline

Definition at line 217 of file EcalElectronicsMapping.h.

217 { return elid.stripId(); }

References elid, and EcalElectronicsId::stripId().

◆ tccId()

int EcalElectronicsMapping::MapItem::tccId ( ) const
inline

Definition at line 218 of file EcalElectronicsMapping.h.

218 { return trelid.tccId(); }

References EcalTriggerElectronicsId::tccId(), and trelid.

◆ towerId()

int EcalElectronicsMapping::MapItem::towerId ( ) const
inline

Definition at line 216 of file EcalElectronicsMapping.h.

216 { return elid.towerId(); }

References elid, and EcalElectronicsId::towerId().

◆ ttId()

int EcalElectronicsMapping::MapItem::ttId ( ) const
inline

Definition at line 219 of file EcalElectronicsMapping.h.

219 { return trelid.ttId(); }

References trelid, and EcalTriggerElectronicsId::ttId().

Member Data Documentation

◆ cell

DetId EcalElectronicsMapping::MapItem::cell

Definition at line 212 of file EcalElectronicsMapping.h.

◆ elid

EcalElectronicsId EcalElectronicsMapping::MapItem::elid

Definition at line 213 of file EcalElectronicsMapping.h.

Referenced by dccId(), stripId(), and towerId().

◆ trelid

EcalTriggerElectronicsId EcalElectronicsMapping::MapItem::trelid

Definition at line 214 of file EcalElectronicsMapping.h.

Referenced by pseudoStripId(), tccId(), and ttId().

EcalTriggerElectronicsId::tccId
int tccId() const
get the DCC (Ecal Local DCC value not global one) id
Definition: EcalTriggerElectronicsId.h:31
EcalElectronicsMapping::MapItem::cell
DetId cell
Definition: EcalElectronicsMapping.h:212
EcalElectronicsId::dccId
int dccId() const
get the DCC (Ecal Local DCC value not global one) id
Definition: EcalElectronicsId.h:31
EcalTriggerElectronicsId::ttId
int ttId() const
get the tower id
Definition: EcalTriggerElectronicsId.h:33
EcalElectronicsId::towerId
int towerId() const
get the tower id
Definition: EcalElectronicsId.h:33
EcalTriggerElectronicsId::pseudoStripId
int pseudoStripId() const
get the tower id
Definition: EcalTriggerElectronicsId.h:35
EcalElectronicsMapping::MapItem::trelid
EcalTriggerElectronicsId trelid
Definition: EcalElectronicsMapping.h:214
EcalElectronicsMapping::MapItem::elid
EcalElectronicsId elid
Definition: EcalElectronicsMapping.h:213
EcalElectronicsId::stripId
int stripId() const
get the tower id
Definition: EcalElectronicsId.h:35