CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 150 of file TrackerNameSpace.h.

Constructor & Destructor Documentation

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

Definition at line 202 of file TrackerNameSpace.cc.

202  :
203  trackerTopology_(topology)
204 {
205 }
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 232 of file TrackerNameSpace.cc.

233 {
234  return 1;
235 }
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 226 of file TrackerNameSpace.cc.

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

227 {
228  return trackerTopology_->tobRodInfo(id)[0];
229 }
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 220 of file TrackerNameSpace.cc.

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

221 {
222  return trackerTopology_->tobLayer(id);
223 }
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 208 of file TrackerNameSpace.cc.

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

209 {
210  return trackerTopology_->tobModule(id);
211 }
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 214 of file TrackerNameSpace.cc.

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

215 {
216  return trackerTopology_->tobRodInfo(id)[1];
217 }
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 155 of file TrackerNameSpace.h.

friend class TrackerNameSpace
friend

grant access for the enclosing TrackerNameSpace

Definition at line 152 of file TrackerNameSpace.h.

Member Data Documentation

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

Definition at line 181 of file TrackerNameSpace.h.