CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
StackGeomDet Class Reference

#include <StackGeomDet.h>

Inheritance diagram for StackGeomDet:
TrackerGeomDet GeomDet

Public Member Functions

std::vector< const GeomDet * > components () const override
 Returns direct components, if any. More...
 
bool isLeaf () const override
 is a Unit More...
 
const GeomDetUnitlowerDet () const
 
 StackGeomDet (BoundPlane *sp, const GeomDetUnit *lowerDet, const GeomDetUnit *upperDet, const DetId stackDetId)
 
SubDetector subDetector () const override
 Which subdetector. More...
 
const GeomDetUnitupperDet () const
 
 ~StackGeomDet () override
 
- Public Member Functions inherited from TrackerGeomDet
LocalError const & localAlignmentError () const
 Return local alligment error. More...
 
- Public Member Functions inherited from GeomDet
AlignmentPositionError const * alignmentPositionError () const
 Return pointer to alignment errors. More...
 
virtual const GeomDetcomponent (DetId) const
 Returns a component GeomDet given its DetId, if existing. More...
 
int gdetIndex () const
 
DetId geographicalId () const
 The label of this GeomDet. More...
 
 GeomDet (const ReferenceCountingPointer< Plane > &plane)
 
 GeomDet (Plane *plane)
 
int index () const
 
const Surface::PositionTypeposition () const
 The position (origin of the R.F.) More...
 
const Surface::RotationTyperotation () const
 The rotation defining the local R.F. More...
 
void setGdetIndex (int i)
 
void setIndex (int i)
 
const PlanespecificSurface () const
 Same as surface(), kept for backward compatibility. More...
 
const Planesurface () const
 The nominal surface of the GeomDet. More...
 
virtual const SurfaceDeformationsurfaceDeformation () const
 
GlobalPoint toGlobal (const Local2DPoint &lp) const
 Conversion to the global R.F. from the R.F. of the GeomDet. More...
 
GlobalPoint toGlobal (const Local3DPoint &lp) const
 Conversion to the global R.F. from the R.F. of the GeomDet. More...
 
GlobalVector toGlobal (const LocalVector &lv) const
 Conversion to the global R.F. from the R.F. of the GeomDet. More...
 
LocalPoint toLocal (const GlobalPoint &gp) const
 Conversion to the R.F. of the GeomDet. More...
 
LocalVector toLocal (const GlobalVector &gv) const
 Conversion to the R.F. of the GeomDet. More...
 
virtual const Topologytopology () const
 
virtual const GeomDetTypetype () const
 
virtual ~GeomDet ()
 

Private Attributes

const GeomDetUnittheLowerDet
 
const GeomDetUnittheUpperDet
 

Additional Inherited Members

- Public Types inherited from GeomDet
using SubDetector = GeomDetEnumerators::SubDetector
 
- Protected Member Functions inherited from TrackerGeomDet
 TrackerGeomDet (const ReferenceCountingPointer< Plane > &plane)
 
 TrackerGeomDet (Plane *plane)
 
- Protected Member Functions inherited from GeomDet
void setDetId (DetId id)
 

Detailed Description

Definition at line 7 of file StackGeomDet.h.

Constructor & Destructor Documentation

◆ StackGeomDet()

StackGeomDet::StackGeomDet ( BoundPlane sp,
const GeomDetUnit lowerDet,
const GeomDetUnit upperDet,
const DetId  stackDetId 
)

Definition at line 3 of file StackGeomDet.cc.

8  setDetId(stackDetId);
9 }

References GeomDet::setDetId().

◆ ~StackGeomDet()

StackGeomDet::~StackGeomDet ( )
override

Definition at line 11 of file StackGeomDet.cc.

11 {}

Member Function Documentation

◆ components()

std::vector< const GeomDet * > StackGeomDet::components ( ) const
overridevirtual

Returns direct components, if any.

Reimplemented from GeomDet.

Definition at line 13 of file StackGeomDet.cc.

13  {
14  return std::vector<const GeomDet*>{theLowerDet, theUpperDet};
15 }

References theLowerDet, and theUpperDet.

◆ isLeaf()

bool StackGeomDet::isLeaf ( ) const
inlineoverridevirtual

is a Unit

Reimplemented from GeomDet.

Definition at line 13 of file StackGeomDet.h.

13 { return false; }

◆ lowerDet()

const GeomDetUnit* StackGeomDet::lowerDet ( ) const
inline

Definition at line 19 of file StackGeomDet.h.

19 { return theLowerDet; };

References theLowerDet.

Referenced by MeasurementTrackerImpl::initStackDet().

◆ subDetector()

SubDetector StackGeomDet::subDetector ( ) const
inlineoverridevirtual

Which subdetector.

Reimplemented from GeomDet.

Definition at line 17 of file StackGeomDet.h.

17 { return theLowerDet->subDetector(); };

References GeomDet::subDetector(), and theLowerDet.

◆ upperDet()

const GeomDetUnit* StackGeomDet::upperDet ( ) const
inline

Definition at line 20 of file StackGeomDet.h.

20 { return theUpperDet; };

References theUpperDet.

Referenced by MeasurementTrackerImpl::initStackDet().

Member Data Documentation

◆ theLowerDet

const GeomDetUnit* StackGeomDet::theLowerDet
private

Definition at line 20 of file StackGeomDet.h.

Referenced by components(), lowerDet(), and subDetector().

◆ theUpperDet

const GeomDetUnit* StackGeomDet::theUpperDet
private

Definition at line 24 of file StackGeomDet.h.

Referenced by components(), and upperDet().

GeomDet::setDetId
void setDetId(DetId id)
Definition: GeomDet.h:99
StackGeomDet::upperDet
const GeomDetUnit * upperDet() const
Definition: StackGeomDet.h:20
StackGeomDet::theLowerDet
const GeomDetUnit * theLowerDet
Definition: StackGeomDet.h:20
TrackerGeomDet::TrackerGeomDet
TrackerGeomDet(Plane *plane)
Definition: TrackerGeomDet.h:8
StackGeomDet::lowerDet
const GeomDetUnit * lowerDet() const
Definition: StackGeomDet.h:19
StackGeomDet::theUpperDet
const GeomDetUnit * theUpperDet
Definition: StackGeomDet.h:24
GeomDet::subDetector
virtual SubDetector subDetector() const
Which subdetector.
Definition: GeomDet.cc:38