CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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.

References EcalElectronicsId::dccId(), and elid.

215 { return elid.dccId(); }
int dccId() const
get the DCC (Ecal Local DCC value not global one) id

◆ pseudoStripId()

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

Definition at line 220 of file EcalElectronicsMapping.h.

References EcalTriggerElectronicsId::pseudoStripId(), and trelid.

220 { return trelid.pseudoStripId(); }
int pseudoStripId() const
get the tower id

◆ stripId()

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

Definition at line 217 of file EcalElectronicsMapping.h.

References elid, and EcalElectronicsId::stripId().

217 { return elid.stripId(); }
int stripId() const
get the tower id

◆ tccId()

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

Definition at line 218 of file EcalElectronicsMapping.h.

References EcalTriggerElectronicsId::tccId(), and trelid.

218 { return trelid.tccId(); }
int tccId() const
get the DCC (Ecal Local DCC value not global one) id

◆ towerId()

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

Definition at line 216 of file EcalElectronicsMapping.h.

References elid, and EcalElectronicsId::towerId().

216 { return elid.towerId(); }
int towerId() const
get the tower id

◆ ttId()

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

Definition at line 219 of file EcalElectronicsMapping.h.

References trelid, and EcalTriggerElectronicsId::ttId().

219 { return trelid.ttId(); }
int ttId() const
get the tower id

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().