CMS 3D CMS Logo

AlignableData< T > Class Template Reference

Helper class to store position data of an alignable; Contents: position vector, rotation matrix, DetId and TypeId; can be used for both absolute and relative positions/rotations. More...

#include <Alignment/CommonAlignmentAlgorithm/interface/AlignableData.h>

List of all members.

Public Member Functions

 AlignableData (const T &pos, const align::RotationType &rot, align::ID id, align::StructureType objid)
 constructor
align::ID id () const
align::StructureType objId () const
const T & pos () const
 accessors
const align::RotationTyperot () const

Private Attributes

align::ID theId
align::StructureType theObjId
thePos
align::RotationType theRot


Detailed Description

template<class T>
class AlignableData< T >

Helper class to store position data of an alignable; Contents: position vector, rotation matrix, DetId and TypeId; can be used for both absolute and relative positions/rotations.

Definition at line 12 of file AlignableData.h.


Constructor & Destructor Documentation

template<class T>
AlignableData< T >::AlignableData ( const T &  pos,
const align::RotationType rot,
align::ID  id,
align::StructureType  objid 
) [inline]

constructor

Definition at line 18 of file AlignableData.h.

00020                                                       :
00021     thePos(pos), theRot(rot), theObjId(objid), theId(id) {}


Member Function Documentation

template<class T>
align::ID AlignableData< T >::id (  )  const [inline]

Definition at line 27 of file AlignableData.h.

References AlignableData< T >::theId.

Referenced by AlignableDataIORoot::writeAbsRaw(), and AlignableDataIORoot::writeRelRaw().

00027 { return theId; }

template<class T>
align::StructureType AlignableData< T >::objId (  )  const [inline]

Definition at line 26 of file AlignableData.h.

References AlignableData< T >::theObjId.

Referenced by AlignableDataIORoot::writeAbsRaw(), and AlignableDataIORoot::writeRelRaw().

00026 { return theObjId; }

template<class T>
const T& AlignableData< T >::pos (  )  const [inline]

accessors

Definition at line 24 of file AlignableData.h.

References AlignableData< T >::thePos.

Referenced by AlignableDataIORoot::writeAbsRaw(), and AlignableDataIORoot::writeRelRaw().

00024 { return thePos; }

template<class T>
const align::RotationType& AlignableData< T >::rot (  )  const [inline]

Definition at line 25 of file AlignableData.h.

References AlignableData< T >::theRot.

Referenced by AlignableDataIORoot::writeAbsRaw(), and AlignableDataIORoot::writeRelRaw().

00025 { return theRot; }


Member Data Documentation

template<class T>
align::ID AlignableData< T >::theId [private]

Definition at line 36 of file AlignableData.h.

Referenced by AlignableData< T >::id().

template<class T>
align::StructureType AlignableData< T >::theObjId [private]

Definition at line 35 of file AlignableData.h.

Referenced by AlignableData< T >::objId().

template<class T>
T AlignableData< T >::thePos [private]

Definition at line 33 of file AlignableData.h.

Referenced by AlignableData< T >::pos().

template<class T>
align::RotationType AlignableData< T >::theRot [private]

Definition at line 34 of file AlignableData.h.

Referenced by AlignableData< T >::rot().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:14:17 2009 for CMSSW by  doxygen 1.5.4