CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
AlignableMuon Class Reference

Constructor of the full muon geometry. More...

#include <AlignableMuon.h>

Inheritance diagram for AlignableMuon:
AlignableComposite Alignable

Public Member Functions

 AlignableMuon (const DTGeometry *, const CSCGeometry *)
 Constructor from geometries. More...
 
virtual align::Alignables components () const
 Return all components. More...
 
AlignmentErrorsExtendedcscAlignmentErrorsExtended ()
 
AlignmentscscAlignments ()
 
align::Alignables CSCChambers ()
 
align::Alignables CSCEndcaps ()
 
align::Alignables CSCLayers ()
 
align::Alignables CSCRings ()
 
align::Alignables CSCStations ()
 
AlignmentErrorsExtendeddtAlignmentErrorsExtended ()
 
AlignmentsdtAlignments ()
 
align::Alignables DTBarrel ()
 
align::Alignables DTChambers ()
 
align::Alignables DTLayers ()
 
align::Alignables DTStations ()
 
align::Alignables DTSuperLayers ()
 
align::Alignables DTWheels ()
 
virtual Alignablemother ()
 Alignable tracker has no mother. More...
 
 ~AlignableMuon ()
 Destructor. More...
 
- Public Member Functions inherited from AlignableComposite
virtual void addAlignmentPositionError (const AlignmentPositionError &ape, bool propagateDown)
 
virtual void addAlignmentPositionErrorFromLocalRotation (const RotationType &rotation, bool propagateDown)
 
virtual void addAlignmentPositionErrorFromRotation (const RotationType &rotation, bool propagateDown)
 
virtual void addComponent (Alignable *component)
 
virtual void addSurfaceDeformation (const SurfaceDeformation *deformation, bool propagateDown)
 
 AlignableComposite (align::ID id, StructureType aType, const RotationType &rot=RotationType())
 
virtual StructureType alignableObjectId () const
 Return the alignable type identifier. More...
 
virtual void dump () const
 Recursive printout of alignable structure. More...
 
virtual void move (const GlobalVector &displacement)
 Move with respect to the global reference frame. More...
 
virtual void moveComponentLocal (const int i, const LocalVector &localDisplacement)
 Move a single component with respect to the local reference frame. More...
 
virtual void moveComponentsLocal (const LocalVector &localDisplacement)
 Move with respect to the local reference frame. More...
 
virtual void recursiveComponents (Alignables &result) const
 Provide all components, subcomponents etc. (cf. description in base class) More...
 
virtual void rotateInGlobalFrame (const RotationType &rotation)
 Rotation interpreted in global reference frame. More...
 
virtual void setAlignmentPositionError (const AlignmentPositionError &ape, bool propagateDown)
 
virtual void setSurfaceDeformation (const SurfaceDeformation *deformation, bool propagateDown)
 Set the surface deformation parameters - if (!propagateDown) do not affect daughters. More...
 
virtual int surfaceDeformationIdPairs (std::vector< std::pair< int, SurfaceDeformation * > > &) const
 Return surface deformations. More...
 
virtual ~AlignableComposite ()
 deleting its components More...
 
- Public Member Functions inherited from Alignable
 Alignable (align::ID, const AlignableSurface &)
 
 Alignable (align::ID, const RotationType &)
 
AlignmentParametersalignmentParameters () const
 Get the AlignmentParameters. More...
 
virtual void cacheTransformation ()
 cache the current position, rotation and other parameters (e.g. surface deformations), also for possible components More...
 
const AlignablesdeepComponents () const
 
const GlobalVectordisplacement () const
 Return change of the global position since the creation of the object. More...
 
bool firstCompsWithParams (Alignables &paramComps) const
 
const DetIdgeomDetId () const
 
const PositionTypeglobalPosition () const
 Return the global position of the object. More...
 
const RotationTypeglobalRotation () const
 Return the global orientation of the object. More...
 
align::ID id () const
 Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit). More...
 
bool lastCompsWithParams (Alignables &paramComps) const
 
Alignablemother () const
 Return pointer to container alignable (if any) More...
 
virtual void restoreCachedTransformation ()
 restore the previously cached transformation, also for possible components More...
 
virtual void rotateAroundGlobalAxis (const GlobalVector &axis, Scalar radians)
 Rotation around arbitratry global axis. More...
 
virtual void rotateAroundGlobalX (Scalar radians)
 Rotation around global x-axis. More...
 
virtual void rotateAroundGlobalY (Scalar radians)
 Rotation around global y-axis. More...
 
virtual void rotateAroundGlobalZ (Scalar radians)
 Rotation around global z-axis. More...
 
virtual void rotateAroundLocalAxis (const LocalVector &axis, Scalar radians)
 Rotation around arbitratry local axis. More...
 
virtual void rotateAroundLocalX (Scalar radians)
 Rotation around local x-axis. More...
 
virtual void rotateAroundLocalY (Scalar radians)
 Rotation around local y-axis. More...
 
virtual void rotateAroundLocalZ (Scalar radians)
 Rotation around local z-axis. More...
 
virtual void rotateInLocalFrame (const RotationType &rotation)
 Rotation intepreted in the local reference frame. More...
 
const RotationTyperotation () const
 Return change of orientation since the creation of the object. More...
 
void setAlignmentParameters (AlignmentParameters *dap)
 Set the AlignmentParameters. More...
 
void setMother (Alignable *mother)
 Assign mother to alignable. More...
 
void setSurvey (const SurveyDet *)
 Set survey info. More...
 
int size () const
 Return number of direct components. More...
 
const AlignableSurfacesurface () const
 Return the Surface (global position and orientation) of the object. More...
 
AlignmentSurfaceDeformationssurfaceDeformations () const
 Return surface deformations, sorted by DetId. More...
 
const SurveyDetsurvey () const
 Return survey info. More...
 
virtual ~Alignable ()
 Destructor. More...
 

Private Member Functions

AlignmentErrorsExtendedalignmentErrors () const
 Return vector of alignment errors. More...
 
Alignmentsalignments () const
 Return alignment data. More...
 
void buildCSCEndcap (const CSCGeometry *)
 
void buildDTBarrel (const DTGeometry *)
 
RotationType computeOrientation ()
 
PositionType computePosition ()
 
AlignableSurface computeSurface ()
 
void recursiveSetMothers (Alignable *alignable)
 Set mothers recursively. More...
 

Private Attributes

std::vector
< AlignableCSCChamber * > 
theCSCChambers
 
std::vector< AlignableCSCEndcap * > theCSCEndcaps
 
std::vector< AlignableCSCRing * > theCSCRings
 
std::vector
< AlignableCSCStation * > 
theCSCStations
 
std::vector< AlignableDTBarrel * > theDTBarrel
 
std::vector< AlignableDTChamber * > theDTChambers
 
std::vector< AlignableDTStation * > theDTStations
 
std::vector< AlignableDTWheel * > theDTWheels
 
align::Alignables theMuonComponents
 

Additional Inherited Members

- Public Types inherited from Alignable
typedef align::Alignables Alignables
 
typedef align::GlobalVector GlobalVector
 
typedef align::LocalVector LocalVector
 
typedef align::PositionType PositionType
 
typedef align::RotationType RotationType
 
typedef align::Scalar Scalar
 
typedef align::StructureType StructureType
 
- Protected Member Functions inherited from AlignableComposite
 AlignableComposite (const GeomDet *geomDet)
 Constructor from GeomDet, only for use in AlignableDet. More...
 
void setSurface (const AlignableSurface &s)
 
- Protected Member Functions inherited from Alignable
void addDisplacement (const GlobalVector &displacement)
 
void addRotation (const RotationType &rotation)
 
- Protected Attributes inherited from AlignableComposite
StructureType theStructureType
 
- Protected Attributes inherited from Alignable
GlobalVector theCachedDisplacement
 
RotationType theCachedRotation
 
AlignableSurface theCachedSurface
 
Alignables theDeepComponents
 
DetId theDetId
 
GlobalVector theDisplacement
 
align::ID theId
 
RotationType theRotation
 
AlignableSurface theSurface
 

Detailed Description

Constructor of the full muon geometry.

The alignable muon.

Date:
2008/04/25 21:23:15
Revision:
1.21
Author
Andre Sznajder - UERJ(Brazil)

Definition at line 36 of file AlignableMuon.h.

Constructor & Destructor Documentation

AlignableMuon::AlignableMuon ( const DTGeometry dtGeometry,
const CSCGeometry cscGeometry 
)

Constructor from geometries.

Definition at line 31 of file AlignableMuon.cc.

AlignableMuon::~AlignableMuon ( )

Destructor.

Definition at line 53 of file AlignableMuon.cc.

Member Function Documentation

AlignmentErrorsExtended * AlignableMuon::alignmentErrors ( void  ) const
privatevirtual

Return vector of alignment errors.

Reimplemented from AlignableComposite.

Definition at line 420 of file AlignableMuon.cc.

Alignments * AlignableMuon::alignments ( void  ) const
privatevirtual

Return alignment data.

Reimplemented from AlignableComposite.

Definition at line 399 of file AlignableMuon.cc.

void AlignableMuon::buildCSCEndcap ( const CSCGeometry pCSC)
private

Definition at line 160 of file AlignableMuon.cc.

void AlignableMuon::buildDTBarrel ( const DTGeometry pDT)
private

Definition at line 66 of file AlignableMuon.cc.

virtual align::Alignables AlignableMuon::components ( ) const
inlinevirtual

Return all components.

Reimplemented from AlignableComposite.

Definition at line 49 of file AlignableMuon.h.

References theMuonComponents.

49 { return theMuonComponents; }
align::Alignables theMuonComponents
RotationType AlignableMuon::computeOrientation ( )
private
PositionType AlignableMuon::computePosition ( )
private
AlignableSurface AlignableMuon::computeSurface ( )
private
AlignmentErrorsExtended * AlignableMuon::cscAlignmentErrorsExtended ( void  )

Definition at line 475 of file AlignableMuon.cc.

Alignments * AlignableMuon::cscAlignments ( void  )

Definition at line 460 of file AlignableMuon.cc.

align::Alignables AlignableMuon::CSCChambers ( )

Definition at line 353 of file AlignableMuon.cc.

align::Alignables AlignableMuon::CSCEndcaps ( )

Definition at line 377 of file AlignableMuon.cc.

Referenced by MuonAlignmentInputSurveyDB::newAlignableMuon().

align::Alignables AlignableMuon::CSCLayers ( )

Definition at line 337 of file AlignableMuon.cc.

align::Alignables AlignableMuon::CSCRings ( )

Definition at line 361 of file AlignableMuon.cc.

align::Alignables AlignableMuon::CSCStations ( )

Definition at line 369 of file AlignableMuon.cc.

AlignmentErrorsExtended * AlignableMuon::dtAlignmentErrorsExtended ( void  )

Definition at line 451 of file AlignableMuon.cc.

Alignments * AlignableMuon::dtAlignments ( void  )

Definition at line 442 of file AlignableMuon.cc.

align::Alignables AlignableMuon::DTBarrel ( )

Definition at line 329 of file AlignableMuon.cc.

Referenced by MuonAlignmentInputSurveyDB::newAlignableMuon().

align::Alignables AlignableMuon::DTChambers ( )

Definition at line 304 of file AlignableMuon.cc.

align::Alignables AlignableMuon::DTLayers ( )

Definition at line 269 of file AlignableMuon.cc.

align::Alignables AlignableMuon::DTStations ( )

Definition at line 312 of file AlignableMuon.cc.

align::Alignables AlignableMuon::DTSuperLayers ( )

Definition at line 288 of file AlignableMuon.cc.

align::Alignables AlignableMuon::DTWheels ( )

Definition at line 321 of file AlignableMuon.cc.

virtual Alignable* AlignableMuon::mother ( )
inlinevirtual

Alignable tracker has no mother.

Definition at line 52 of file AlignableMuon.h.

52 { return 0; }
void AlignableMuon::recursiveSetMothers ( Alignable alignable)
private

Set mothers recursively.

Definition at line 386 of file AlignableMuon.cc.

Member Data Documentation

std::vector<AlignableCSCChamber*> AlignableMuon::theCSCChambers
private

Definition at line 119 of file AlignableMuon.h.

std::vector<AlignableCSCEndcap*> AlignableMuon::theCSCEndcaps
private

Definition at line 122 of file AlignableMuon.h.

std::vector<AlignableCSCRing*> AlignableMuon::theCSCRings
private

Definition at line 121 of file AlignableMuon.h.

std::vector<AlignableCSCStation*> AlignableMuon::theCSCStations
private

Definition at line 120 of file AlignableMuon.h.

std::vector<AlignableDTBarrel*> AlignableMuon::theDTBarrel
private

Definition at line 117 of file AlignableMuon.h.

std::vector<AlignableDTChamber*> AlignableMuon::theDTChambers
private

Definition at line 114 of file AlignableMuon.h.

std::vector<AlignableDTStation*> AlignableMuon::theDTStations
private

Definition at line 115 of file AlignableMuon.h.

std::vector<AlignableDTWheel*> AlignableMuon::theDTWheels
private

Definition at line 116 of file AlignableMuon.h.

align::Alignables AlignableMuon::theMuonComponents
private

Definition at line 124 of file AlignableMuon.h.

Referenced by components().