CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
BeamSpotGeomDet Class Reference

#include <BeamSpotGeomDet.h>

Inheritance diagram for BeamSpotGeomDet:
GeomDet

Public Types

typedef GeomDetEnumerators::SubDetector SubDetector
 
- Public Types inherited from GeomDet
using SubDetector = GeomDetEnumerators::SubDetector
 

Public Member Functions

 BeamSpotGeomDet (const ReferenceCountingPointer< BoundPlane > &plane)
 
std::vector< const GeomDet * > components () const override
 Returns direct components, if any. More...
 
SubDetector subDetector () const override
 Which subdetector. More...
 
 ~BeamSpotGeomDet () override
 
- 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
 
virtual bool isLeaf () const
 is a Unit More...
 
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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from GeomDet
void setDetId (DetId id)
 
- Protected Attributes inherited from GeomDet
AlignmentPositionErrortheAlignmentPositionError = 0
 

Detailed Description

A GeomDet used to create transient tracking rec hits for the beam spot. The DetId originates from a static memebr function in AlignableBeamSpot.

Author : Andreas Mussgiller date : 2010/08/30 last update:

Date
2010/09/10 12:02:44

by :

Author
mussgill

Definition at line 22 of file BeamSpotGeomDet.h.

Member Typedef Documentation

Definition at line 25 of file BeamSpotGeomDet.h.

Constructor & Destructor Documentation

BeamSpotGeomDet::BeamSpotGeomDet ( const ReferenceCountingPointer< BoundPlane > &  plane)
inlineexplicit

Definition at line 27 of file BeamSpotGeomDet.h.

References AlignableBeamSpot::detId(), and GeomDet::setDetId().

28  :GeomDet(plane) {
30  }
void setDetId(DetId id)
Definition: GeomDet.h:120
static const DetId detId()
GeomDet(Plane *plane)
Definition: GeomDet.h:34
BeamSpotGeomDet::~BeamSpotGeomDet ( )
inlineoverride

Definition at line 32 of file BeamSpotGeomDet.h.

32 { }

Member Function Documentation

std::vector< const GeomDet*> BeamSpotGeomDet::components ( ) const
inlineoverridevirtual

Returns direct components, if any.

Reimplemented from GeomDet.

Definition at line 38 of file BeamSpotGeomDet.h.

38  {
39  return std::vector< const GeomDet*>();
40  }
SubDetector BeamSpotGeomDet::subDetector ( ) const
inlineoverridevirtual

Which subdetector.

Reimplemented from GeomDet.

Definition at line 34 of file BeamSpotGeomDet.h.

References GeomDetEnumerators::invalidDet.