CMS 3D CMS Logo

AlignableData.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignmentAlgorithm_AlignableData_h
2 #define Alignment_CommonAlignmentAlgorithm_AlignableData_h
3 
6 #include <vector>
7 
12 
13 template <class T>
15 public:
19  const align::RotationType& rot,
20  align::ID id,
22  const std::vector<double>& deformationParameters = std::vector<double>())
24 
26  const T& pos() const { return thePos; }
27  const align::RotationType& rot() const { return theRot; }
28  align::StructureType objId() const { return theObjId; }
29  align::ID id() const { return theId; }
30  const std::vector<double> deformationParameters() const { return theDeformationParameters; }
31 
32 private:
33  // data members
34 
39  std::vector<double> theDeformationParameters;
40 };
41 
46 
47 typedef std::vector<AlignableAbsData> AlignablePositions;
48 typedef std::vector<AlignableRelData> AlignableShifts;
49 
50 #endif
align::StructureType objId() const
Definition: AlignableData.h:28
align::RotationType theRot
Definition: AlignableData.h:36
uint32_t ID
Definition: Definitions.h:24
AlignableData< align::GlobalVector > AlignableRelData
relative position/rotation
Definition: AlignableData.h:45
align::StructureType theObjId
Definition: AlignableData.h:37
std::vector< AlignableRelData > AlignableShifts
Definition: AlignableData.h:48
align::ID theId
Definition: AlignableData.h:38
AlignableData(const T &pos, const align::RotationType &rot, align::ID id, align::StructureType objid, const std::vector< double > &deformationParameters=std::vector< double >())
Definition: AlignableData.h:18
std::vector< double > theDeformationParameters
Definition: AlignableData.h:39
AlignableData< align::GlobalPoint > AlignableAbsData
Absolute position/rotation.
Definition: AlignableData.h:43
std::vector< AlignableAbsData > AlignablePositions
Definition: AlignableData.h:47
const std::vector< double > deformationParameters() const
Definition: AlignableData.h:30
const T & pos() const
accessors
Definition: AlignableData.h:26
long double T
const align::RotationType & rot() const
Definition: AlignableData.h:27
align::ID id() const
Definition: AlignableData.h:29