CMS 3D CMS Logo

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

#include <DoubleSensGeomDet.h>

Inheritance diagram for DoubleSensGeomDet:
TrackerGeomDet GeomDet

Public Member Functions

std::vector< const GeomDet * > components () const override
 Returns direct components, if any. More...
 
 DoubleSensGeomDet (BoundPlane *sp, const GeomDetUnit *firstDet, const GeomDetUnit *secondDet, const DetId doubleSensDetId)
 
const GeomDetUnitfirstDet () const
 
bool isLeaf () const override
 is a Unit More...
 
const GeomDetUnitsecondDet () const
 
SubDetector subDetector () const override
 Which subdetector. More...
 
 ~DoubleSensGeomDet () 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 (Plane *plane)
 
 GeomDet (const ReferenceCountingPointer< 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 GeomDetUnittheFirstDet
 
const GeomDetUnittheSecondDet
 

Additional Inherited Members

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

Detailed Description

Definition at line 7 of file DoubleSensGeomDet.h.

Constructor & Destructor Documentation

◆ DoubleSensGeomDet()

DoubleSensGeomDet::DoubleSensGeomDet ( BoundPlane sp,
const GeomDetUnit firstDet,
const GeomDetUnit secondDet,
const DetId  doubleSensDetId 
)

Definition at line 3 of file DoubleSensGeomDet.cc.

References GeomDet::setDetId().

8  setDetId(doubleSensDetId);
9 }
const GeomDetUnit * secondDet() const
const GeomDetUnit * firstDet() const
void setDetId(DetId id)
Definition: GeomDet.h:99
const GeomDetUnit * theSecondDet
const GeomDetUnit * theFirstDet
TrackerGeomDet(Plane *plane)
Definition: TrackerGeomDet.h:8

◆ ~DoubleSensGeomDet()

DoubleSensGeomDet::~DoubleSensGeomDet ( )
override

Definition at line 11 of file DoubleSensGeomDet.cc.

11 {}

Member Function Documentation

◆ components()

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

Returns direct components, if any.

Reimplemented from GeomDet.

Definition at line 13 of file DoubleSensGeomDet.cc.

References theFirstDet, and theSecondDet.

13  {
14  return std::vector<const GeomDet*>{theFirstDet, theSecondDet};
15 }
const GeomDetUnit * theSecondDet
const GeomDetUnit * theFirstDet

◆ firstDet()

const GeomDetUnit* DoubleSensGeomDet::firstDet ( ) const
inline

Definition at line 22 of file DoubleSensGeomDet.h.

References theFirstDet.

Referenced by MeasurementTrackerImpl::initDoubleSensDet().

22 { return theFirstDet; };
const GeomDetUnit * theFirstDet

◆ isLeaf()

bool DoubleSensGeomDet::isLeaf ( ) const
inlineoverridevirtual

is a Unit

Reimplemented from GeomDet.

Definition at line 16 of file DoubleSensGeomDet.h.

16 { return false; }

◆ secondDet()

const GeomDetUnit* DoubleSensGeomDet::secondDet ( ) const
inline

Definition at line 23 of file DoubleSensGeomDet.h.

Referenced by MeasurementTrackerImpl::initDoubleSensDet().

23 { return theSecondDet; };
const GeomDetUnit * theSecondDet

◆ subDetector()

SubDetector DoubleSensGeomDet::subDetector ( ) const
inlineoverridevirtual

Which subdetector.

Reimplemented from GeomDet.

Definition at line 20 of file DoubleSensGeomDet.h.

References GeomDet::subDetector(), and theFirstDet.

20 { return theFirstDet->subDetector(); };
const GeomDetUnit * theFirstDet
virtual SubDetector subDetector() const
Which subdetector.
Definition: GeomDet.cc:38

Member Data Documentation

◆ theFirstDet

const GeomDetUnit* DoubleSensGeomDet::theFirstDet
private

Definition at line 23 of file DoubleSensGeomDet.h.

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

◆ theSecondDet

const GeomDetUnit* DoubleSensGeomDet::theSecondDet
private

Definition at line 27 of file DoubleSensGeomDet.h.

Referenced by components().