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::TEC Class Reference

#include <TrackerNameSpace.h>

Public Member Functions

unsigned int diskNumber (align::ID) const
 Disk number increases with |z| from 1 to 9. 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 (decreases) with phi for +z (-z) endcap. More...
 
TECoperator= (const TEC &)=default
 
TECoperator= (TEC &&)=default
 
unsigned int petalNumber (align::ID) const
 Petal number increases with phi from 1 to 8. More...
 
unsigned int ringNumber (align::ID) const
 Ring number increases with rho. More...
 
unsigned int sideNumber (align::ID) const
 Side number is 1 for back disk and 2 for front (towards IP). More...
 
 TEC (const TrackerTopology *)
 
 TEC (const TEC &)=default
 
 TEC (TEC &&)=default
 
virtual ~TEC ()=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 215 of file TrackerNameSpace.h.

Constructor & Destructor Documentation

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

Definition at line 153 of file TrackerNameSpace.cc.

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

Member Function Documentation

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

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

Definition at line 167 of file TrackerNameSpace.cc.

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

167 { return trackerTopology_->tecWheel(id); }
const TrackerTopology * trackerTopology_
unsigned int tecWheel(const DetId &id) const
unsigned int align::TrackerNameSpace::TEC::endcapNumber ( align::ID  id) const

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

Definition at line 169 of file TrackerNameSpace.cc.

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

169 { return trackerTopology_->tecSide(id); }
const TrackerTopology * trackerTopology_
unsigned int tecSide(const DetId &id) const
unsigned int align::TrackerNameSpace::TEC::moduleNumber ( align::ID  id) const

Module number increases (decreases) with phi for +z (-z) endcap.

Definition at line 155 of file TrackerNameSpace.cc.

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

155 { return trackerTopology_->tecModule(id); }
const TrackerTopology * trackerTopology_
unsigned int tecModule(const DetId &id) const
TEC& align::TrackerNameSpace::TEC::operator= ( const TEC )
default
TEC& align::TrackerNameSpace::TEC::operator= ( TEC &&  )
default
unsigned int align::TrackerNameSpace::TEC::petalNumber ( align::ID  id) const

Petal number increases with phi from 1 to 8.

Definition at line 159 of file TrackerNameSpace.cc.

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

159  {
160  return trackerTopology_->tecPetalInfo(id)[1];
161 }
std::vector< unsigned int > tecPetalInfo(const DetId &id) const
const TrackerTopology * trackerTopology_
unsigned int align::TrackerNameSpace::TEC::ringNumber ( align::ID  id) const

Ring number increases with rho.

Definition at line 157 of file TrackerNameSpace.cc.

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

157 { return trackerTopology_->tecRing(id); }
unsigned int tecRing(const DetId &id) const
ring id
const TrackerTopology * trackerTopology_
unsigned int align::TrackerNameSpace::TEC::sideNumber ( align::ID  id) const

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

Definition at line 163 of file TrackerNameSpace.cc.

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

163  {
164  return trackerTopology_->tecPetalInfo(id)[0];
165 }
std::vector< unsigned int > tecPetalInfo(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 220 of file TrackerNameSpace.h.

friend class TrackerNameSpace
friend

grant access for the enclosing TrackerNameSpace

Definition at line 217 of file TrackerNameSpace.h.

Member Data Documentation

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

Definition at line 249 of file TrackerNameSpace.h.