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

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

Definition at line 210 of file EcalElectronicsMapping.h.

Referenced by pseudoStripId().

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

Member Function Documentation

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

Definition at line 215 of file EcalElectronicsMapping.h.

References EcalElectronicsId::dccId().

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

Definition at line 220 of file EcalElectronicsMapping.h.

References MapItem(), and EcalTriggerElectronicsId::pseudoStripId().

220 { return trelid.pseudoStripId(); }
int pseudoStripId() const
get the tower id
int EcalElectronicsMapping::MapItem::stripId ( ) const
inline

Definition at line 217 of file EcalElectronicsMapping.h.

References EcalElectronicsId::stripId().

217 { return elid.stripId(); }
int stripId() const
get the tower id
int EcalElectronicsMapping::MapItem::tccId ( ) const
inline

Definition at line 218 of file EcalElectronicsMapping.h.

References EcalTriggerElectronicsId::tccId().

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

Definition at line 216 of file EcalElectronicsMapping.h.

References EcalElectronicsId::towerId().

216 { return elid.towerId(); }
int towerId() const
get the tower id
int EcalElectronicsMapping::MapItem::ttId ( ) const
inline

Definition at line 219 of file EcalElectronicsMapping.h.

References EcalTriggerElectronicsId::ttId().

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

Member Data Documentation

DetId EcalElectronicsMapping::MapItem::cell

Definition at line 212 of file EcalElectronicsMapping.h.

EcalElectronicsId EcalElectronicsMapping::MapItem::elid

Definition at line 213 of file EcalElectronicsMapping.h.

EcalTriggerElectronicsId EcalElectronicsMapping::MapItem::trelid

Definition at line 214 of file EcalElectronicsMapping.h.