CMS 3D CMS Logo

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

#include <TrackerNameSpace.h>

Public Member Functions

unsigned int barrelNumber (align::ID) const
 Barrel number is 1 for all align::ID's which belong to this barrel. More...
 
unsigned int halfBarrelNumber (align::ID) const
 HalfBarrel number is 1 at -z side and 2 at +z side. More...
 
unsigned int layerNumber (align::ID) const
 Layer number increases with rho from 1 to 6. More...
 
unsigned int moduleNumber (align::ID) const
 Module number increases with |z| from 1 to 6. More...
 
TOBoperator= (const TOB &)=default
 
TOBoperator= (TOB &&)=default
 
unsigned int rodNumber (align::ID) const
 Rod number increases with phi. More...
 
 TOB (const TrackerTopology *)
 
 TOB (const TOB &)=default
 
 TOB (TOB &&)=default
 
virtual ~TOB ()=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 147 of file TrackerNameSpace.h.

Constructor & Destructor Documentation

◆ TOB() [1/3]

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

Definition at line 121 of file TrackerNameSpace.cc.

◆ TOB() [2/3]

align::TrackerNameSpace::TOB::TOB ( const TOB )
default

◆ TOB() [3/3]

align::TrackerNameSpace::TOB::TOB ( TOB &&  )
default

◆ ~TOB()

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

Member Function Documentation

◆ barrelNumber()

unsigned int align::TrackerNameSpace::TOB::barrelNumber ( align::ID  ) const

Barrel number is 1 for all align::ID's which belong to this barrel.

Definition at line 135 of file TrackerNameSpace.cc.

135 { return 1; }

◆ halfBarrelNumber()

unsigned int align::TrackerNameSpace::TOB::halfBarrelNumber ( align::ID  id) const

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

Definition at line 131 of file TrackerNameSpace.cc.

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

131  {
132  return trackerTopology_->tobRodInfo(id)[0];
133 }
std::vector< unsigned int > tobRodInfo(const DetId &id) const
const TrackerTopology * trackerTopology_

◆ layerNumber()

unsigned int align::TrackerNameSpace::TOB::layerNumber ( align::ID  id) const

Layer number increases with rho from 1 to 6.

Definition at line 129 of file TrackerNameSpace.cc.

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

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

◆ moduleNumber()

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

Module number increases with |z| from 1 to 6.

Definition at line 123 of file TrackerNameSpace.cc.

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

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ rodNumber()

unsigned int align::TrackerNameSpace::TOB::rodNumber ( align::ID  id) const

Rod number increases with phi.

Definition at line 125 of file TrackerNameSpace.cc.

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

125  {
126  return trackerTopology_->tobRodInfo(id)[1];
127 }
std::vector< unsigned int > tobRodInfo(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 152 of file TrackerNameSpace.h.

◆ TrackerNameSpace

friend class TrackerNameSpace
friend

grant access for the enclosing TrackerNameSpace

Definition at line 149 of file TrackerNameSpace.h.

Member Data Documentation

◆ trackerTopology_

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

Definition at line 178 of file TrackerNameSpace.h.