CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
AlignableData< T > Class Template Reference

#include <AlignableData.h>

Public Member Functions

 AlignableData (const T &pos, const align::RotationType &rot, align::ID id, align::StructureType objid, const std::vector< double > &deformationParameters=std::vector< double >())
 
const std::vector< double > deformationParameters () const
 
align::ID id () const
 
align::StructureType objId () const
 
const Tpos () const
 accessors More...
 
const align::RotationTyperot () const
 

Private Attributes

std::vector< double > theDeformationParameters
 
align::ID theId
 
align::StructureType theObjId
 
T 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; also surface deformation parameters are foreseen; can be used for both absolute and relative positions/rotations

Definition at line 14 of file AlignableData.h.

Constructor & Destructor Documentation

◆ AlignableData()

template<class T >
AlignableData< T >::AlignableData ( const T pos,
const align::RotationType rot,
align::ID  id,
align::StructureType  objid,
const std::vector< double > &  deformationParameters = std::vector<double>() 
)
inline

constructor deformationParameters can be given if detUnit

Definition at line 18 of file AlignableData.h.

Member Function Documentation

◆ deformationParameters()

template<class T >
const std::vector<double> AlignableData< T >::deformationParameters ( ) const
inline

◆ id()

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

Definition at line 29 of file AlignableData.h.

29 { return theId; }

References AlignableData< T >::theId.

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

◆ objId()

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

Definition at line 28 of file AlignableData.h.

28 { return theObjId; }

References AlignableData< T >::theObjId.

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

◆ pos()

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

accessors

Definition at line 26 of file AlignableData.h.

26 { return thePos; }

References AlignableData< T >::thePos.

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

◆ rot()

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

Definition at line 27 of file AlignableData.h.

27 { return theRot; }

References AlignableData< T >::theRot.

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

Member Data Documentation

◆ theDeformationParameters

template<class T >
std::vector<double> AlignableData< T >::theDeformationParameters
private

Definition at line 39 of file AlignableData.h.

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

◆ theId

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

Definition at line 38 of file AlignableData.h.

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

◆ theObjId

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

Definition at line 37 of file AlignableData.h.

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

◆ thePos

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

Definition at line 35 of file AlignableData.h.

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

◆ theRot

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

Definition at line 36 of file AlignableData.h.

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

pos
Definition: PixelAliasList.h:18
AlignableData::thePos
T thePos
Definition: AlignableData.h:35
AlignableData::theRot
align::RotationType theRot
Definition: AlignableData.h:36
AlignableData::deformationParameters
const std::vector< double > deformationParameters() const
Definition: AlignableData.h:30
AlignableData::theObjId
align::StructureType theObjId
Definition: AlignableData.h:37
AlignableData::theDeformationParameters
std::vector< double > theDeformationParameters
Definition: AlignableData.h:39
AlignableData::theId
align::ID theId
Definition: AlignableData.h:38
AlignableData::rot
const align::RotationType & rot() const
Definition: AlignableData.h:27