CMS 3D CMS Logo

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

#include <TrackerNameSpace.h>

Public Member Functions

unsigned int diskNumber (align::ID) const
 Disk number increases with |z| from 1 to 3. 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 with phi. More...
 
TIDoperator= (const TID &)=default
 
TIDoperator= (TID &&)=default
 
unsigned int ringNumber (align::ID) const
 Ring number increases with rho from 1 to 3. More...
 
unsigned int sideNumber (align::ID) const
 Side number is 1 for back ring and 2 for front (towards IP). More...
 
 TID (const TrackerTopology *)
 
 TID (const TID &)=default
 
 TID (TID &&)=default
 
virtual ~TID ()=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 181 of file TrackerNameSpace.h.

Constructor & Destructor Documentation

◆ TID() [1/3]

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

Definition at line 137 of file TrackerNameSpace.cc.

◆ TID() [2/3]

align::TrackerNameSpace::TID::TID ( const TID )
default

◆ TID() [3/3]

align::TrackerNameSpace::TID::TID ( TID &&  )
default

◆ ~TID()

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

Member Function Documentation

◆ diskNumber()

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

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

Definition at line 149 of file TrackerNameSpace.cc.

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

149 { return trackerTopology_->tidWheel(id); }
unsigned int tidWheel(const DetId &id) const
const TrackerTopology * trackerTopology_

◆ endcapNumber()

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

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

Definition at line 151 of file TrackerNameSpace.cc.

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

151 { return trackerTopology_->tidSide(id); }
unsigned int tidSide(const DetId &id) const
const TrackerTopology * trackerTopology_

◆ moduleNumber()

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

Module number increases with phi.

Definition at line 139 of file TrackerNameSpace.cc.

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

139  {
140  return trackerTopology_->tidModuleInfo(id)[1];
141 }
std::vector< unsigned int > tidModuleInfo(const DetId &id) const
const TrackerTopology * trackerTopology_

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ ringNumber()

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

Ring number increases with rho from 1 to 3.

Definition at line 147 of file TrackerNameSpace.cc.

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

147 { return trackerTopology_->tidRing(id); }
const TrackerTopology * trackerTopology_
unsigned int tidRing(const DetId &id) const

◆ sideNumber()

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

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

Definition at line 143 of file TrackerNameSpace.cc.

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

143  {
144  return trackerTopology_->tidModuleInfo(id)[0];
145 }
std::vector< unsigned int > tidModuleInfo(const DetId &id) const
const TrackerTopology * trackerTopology_

Friends And Related Function Documentation

◆ ::TrackerAlignmentLevelBuilder

friend class ::TrackerAlignmentLevelBuilder
friend

grant access for the TrackerAlignmentLevelBuilder (in global namespace)

Definition at line 186 of file TrackerNameSpace.h.

◆ TrackerNameSpace

friend class TrackerNameSpace
friend

grant access for the enclosing TrackerNameSpace

Definition at line 183 of file TrackerNameSpace.h.

Member Data Documentation

◆ trackerTopology_

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

Definition at line 212 of file TrackerNameSpace.h.