CMS 3D CMS Logo

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 217 of file TrackerNameSpace.h.

Constructor & Destructor Documentation

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

Definition at line 274 of file TrackerNameSpace.cc.

References moduleNumber().

Referenced by align::TrackerNameSpace::TID::endcapNumber().

274  :
275  trackerTopology_(topology)
276 {
277 }
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 304 of file TrackerNameSpace.cc.

References endcapNumber(), TrackerTopology::tecWheel(), and trackerTopology_.

Referenced by sideNumber().

305 {
306  return trackerTopology_->tecWheel(id);
307 }
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 310 of file TrackerNameSpace.cc.

References TrackerTopology::tecSide(), and trackerTopology_.

Referenced by diskNumber().

311 {
312  return trackerTopology_->tecSide(id);
313 }
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 280 of file TrackerNameSpace.cc.

References ringNumber(), TrackerTopology::tecModule(), and trackerTopology_.

Referenced by TEC().

281 {
282  return trackerTopology_->tecModule(id);
283 }
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 292 of file TrackerNameSpace.cc.

References sideNumber(), TrackerTopology::tecPetalInfo(), and trackerTopology_.

Referenced by ringNumber().

293 {
294  return trackerTopology_->tecPetalInfo(id)[1];
295 }
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 286 of file TrackerNameSpace.cc.

References petalNumber(), TrackerTopology::tecRing(), and trackerTopology_.

Referenced by moduleNumber().

287 {
288  return trackerTopology_->tecRing(id);
289 }
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 298 of file TrackerNameSpace.cc.

References diskNumber(), TrackerTopology::tecPetalInfo(), and trackerTopology_.

Referenced by petalNumber().

299 {
300  return trackerTopology_->tecPetalInfo(id)[0];
301 }
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 222 of file TrackerNameSpace.h.

friend class TrackerNameSpace
friend

grant access for the enclosing TrackerNameSpace

Definition at line 219 of file TrackerNameSpace.h.

Member Data Documentation

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