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

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

Definition at line 137 of file TrackerNameSpace.cc.

137 : trackerTopology_(topology) {}
const TrackerTopology * trackerTopology_
align::TrackerNameSpace::TID::TID ( const TID )
default
align::TrackerNameSpace::TID::TID ( TID &&  )
default
virtual align::TrackerNameSpace::TID::~TID ( )
virtualdefault

Member Function Documentation

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 trackerTopology_.

149 { return trackerTopology_->tidWheel(id); }
unsigned int tidWheel(const DetId &id) const
const TrackerTopology * trackerTopology_
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 trackerTopology_.

151 { return trackerTopology_->tidSide(id); }
unsigned int tidSide(const DetId &id) const
const TrackerTopology * trackerTopology_
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 trackerTopology_.

139  {
140  return trackerTopology_->tidModuleInfo(id)[1];
141 }
std::vector< unsigned int > tidModuleInfo(const DetId &id) const
const TrackerTopology * trackerTopology_
TID& align::TrackerNameSpace::TID::operator= ( const TID )
default
TID& align::TrackerNameSpace::TID::operator= ( TID &&  )
default
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 trackerTopology_.

147 { return trackerTopology_->tidRing(id); }
unsigned int tidRing(const DetId &id) const
const TrackerTopology * trackerTopology_
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 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

friend class ::TrackerAlignmentLevelBuilder
friend

grant access for the TrackerAlignmentLevelBuilder (in global namespace)

Definition at line 186 of file TrackerNameSpace.h.

friend class TrackerNameSpace
friend

grant access for the enclosing TrackerNameSpace

Definition at line 183 of file TrackerNameSpace.h.

Member Data Documentation

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

Definition at line 212 of file TrackerNameSpace.h.

Referenced by diskNumber(), endcapNumber(), moduleNumber(), ringNumber(), and sideNumber().