CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
align::TrackerNameSpace::TEC Class Reference

#include <TrackerNameSpace.h>

Public Member Functions

unsigned int diskNumber (align::ID) const
 Disk number increases with |z| from 1 to 9. More...
 
unsigned int endcapNumber (align::ID) const
 Endcap number is 1 at -z side and 2 at +z side. More...
 
unsigned int moduleNumber (align::ID) const
 Module number increases (decreases) with phi for +z (-z) endcap. More...
 
TECoperator= (const TEC &)=default
 
TECoperator= (TEC &&)=default
 
unsigned int petalNumber (align::ID) const
 Petal number increases with phi from 1 to 8. More...
 
unsigned int ringNumber (align::ID) const
 Ring number increases with rho. More...
 
unsigned int sideNumber (align::ID) const
 Side number is 1 for back disk and 2 for front (towards IP). More...
 
 TEC (const TEC &)=default
 
 TEC (const TrackerTopology *)
 
 TEC (TEC &&)=default
 
virtual ~TEC ()=default
 

Private Attributes

const TrackerTopologytrackerTopology_
 

Friends

class ::TrackerAlignmentLevelBuilder
 grant access for the TrackerAlignmentLevelBuilder (in global namespace) More...
 
class TrackerNameSpace
 grant access for the enclosing TrackerNameSpace More...
 

Detailed Description

Definition at line 215 of file TrackerNameSpace.h.

Constructor & Destructor Documentation

◆ TEC() [1/3]

align::TrackerNameSpace::TEC::TEC ( const TrackerTopology topology)

Definition at line 153 of file TrackerNameSpace.cc.

◆ TEC() [2/3]

align::TrackerNameSpace::TEC::TEC ( const TEC )
default

◆ TEC() [3/3]

align::TrackerNameSpace::TEC::TEC ( TEC &&  )
default

◆ ~TEC()

virtual align::TrackerNameSpace::TEC::~TEC ( )
virtualdefault

Member Function Documentation

◆ diskNumber()

unsigned int align::TrackerNameSpace::TEC::diskNumber ( align::ID  id) const

Disk number increases with |z| from 1 to 9.

Definition at line 167 of file TrackerNameSpace.cc.

167 { return trackerTopology_->tecWheel(id); }

References TrackerTopology::tecWheel(), and align::TrackerNameSpace::trackerTopology_.

◆ endcapNumber()

unsigned int align::TrackerNameSpace::TEC::endcapNumber ( align::ID  id) const

Endcap number is 1 at -z side and 2 at +z side.

Definition at line 169 of file TrackerNameSpace.cc.

169 { return trackerTopology_->tecSide(id); }

References TrackerTopology::tecSide(), and align::TrackerNameSpace::trackerTopology_.

◆ moduleNumber()

unsigned int align::TrackerNameSpace::TEC::moduleNumber ( align::ID  id) const

Module number increases (decreases) with phi for +z (-z) endcap.

Definition at line 155 of file TrackerNameSpace.cc.

155 { return trackerTopology_->tecModule(id); }

References TrackerTopology::tecModule(), and align::TrackerNameSpace::trackerTopology_.

◆ operator=() [1/2]

TEC& align::TrackerNameSpace::TEC::operator= ( const TEC )
default

◆ operator=() [2/2]

TEC& align::TrackerNameSpace::TEC::operator= ( TEC &&  )
default

◆ petalNumber()

unsigned int align::TrackerNameSpace::TEC::petalNumber ( align::ID  id) const

Petal number increases with phi from 1 to 8.

Definition at line 159 of file TrackerNameSpace.cc.

159  {
160  return trackerTopology_->tecPetalInfo(id)[1];
161 }

References TrackerTopology::tecPetalInfo(), and align::TrackerNameSpace::trackerTopology_.

◆ ringNumber()

unsigned int align::TrackerNameSpace::TEC::ringNumber ( align::ID  id) const

Ring number increases with rho.

Definition at line 157 of file TrackerNameSpace.cc.

157 { return trackerTopology_->tecRing(id); }

References TrackerTopology::tecRing(), and align::TrackerNameSpace::trackerTopology_.

◆ sideNumber()

unsigned int align::TrackerNameSpace::TEC::sideNumber ( align::ID  id) const

Side number is 1 for back disk and 2 for front (towards IP).

Definition at line 163 of file TrackerNameSpace.cc.

163  {
164  return trackerTopology_->tecPetalInfo(id)[0];
165 }

References TrackerTopology::tecPetalInfo(), and align::TrackerNameSpace::trackerTopology_.

Friends And Related Function Documentation

◆ ::TrackerAlignmentLevelBuilder

friend class ::TrackerAlignmentLevelBuilder
friend

grant access for the TrackerAlignmentLevelBuilder (in global namespace)

Definition at line 220 of file TrackerNameSpace.h.

◆ TrackerNameSpace

friend class TrackerNameSpace
friend

grant access for the enclosing TrackerNameSpace

Definition at line 217 of file TrackerNameSpace.h.

Member Data Documentation

◆ trackerTopology_

const TrackerTopology* align::TrackerNameSpace::TEC::trackerTopology_
private

Definition at line 249 of file TrackerNameSpace.h.

ecaldqm::topology
const CaloTopology * topology(nullptr)
TrackerTopology::tecRing
unsigned int tecRing(const DetId &id) const
ring id
Definition: TrackerTopology.h:217
TrackerTopology::tecModule
unsigned int tecModule(const DetId &id) const
Definition: TrackerTopology.h:169
align::TrackerNameSpace::TEC::trackerTopology_
const TrackerTopology * trackerTopology_
Definition: TrackerNameSpace.h:249
TrackerTopology::tecPetalInfo
std::vector< unsigned int > tecPetalInfo(const DetId &id) const
Definition: TrackerTopology.h:407
TrackerTopology::tecWheel
unsigned int tecWheel(const DetId &id) const
Definition: TrackerTopology.h:198
TrackerTopology::tecSide
unsigned int tecSide(const DetId &id) const
Definition: TrackerTopology.h:184