CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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

Definition at line 121 of file TrackerNameSpace.cc.

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

Member Function Documentation

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; }
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_
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); }
const TrackerTopology * trackerTopology_
unsigned int tobLayer(const DetId &id) const
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); }
unsigned int tobModule(const DetId &id) const
const TrackerTopology * trackerTopology_
TOB& align::TrackerNameSpace::TOB::operator= ( const TOB )
default
TOB& align::TrackerNameSpace::TOB::operator= ( TOB &&  )
default
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

friend class ::TrackerAlignmentLevelBuilder
friend

grant access for the TrackerAlignmentLevelBuilder (in global namespace)

Definition at line 152 of file TrackerNameSpace.h.

friend class TrackerNameSpace
friend

grant access for the enclosing TrackerNameSpace

Definition at line 149 of file TrackerNameSpace.h.

Member Data Documentation

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

Definition at line 178 of file TrackerNameSpace.h.