Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:55

0001 #ifndef CondFormats_Alignment_Definitions_H
0002 #define CondFormats_Alignment_Definitions_H
0003 
0004 /** \namespace align
0005  *
0006  *  Namespace for common type definitions used in alignment.
0007  *
0008  *  $Date: 2007/04/09 00:26:08 $
0009  *  $Revision: 1.2 $
0010  *  \author Chung Khim Lae
0011  */
0012 
0013 #include "DataFormats/CLHEP/interface/AlgebraicObjects.h"
0014 #include "DataFormats/GeometrySurface/interface/TkRotation.h"
0015 #include "DataFormats/GeometryVector/interface/GlobalTag.h"
0016 #include "DataFormats/GeometryVector/interface/LocalTag.h"
0017 #include "DataFormats/GeometryVector/interface/Point3DBase.h"
0018 #include "DataFormats/GeometryVector/interface/Vector3DBase.h"
0019 #include "DataFormats/Math/interface/Error.h"
0020 #include "DataFormats/Math/interface/Vector.h"
0021 #include <cstdint>
0022 
0023 namespace align {
0024   typedef uint32_t ID;
0025   typedef double Scalar;
0026 
0027   typedef TkRotation<Scalar> RotationType;
0028   typedef Point3DBase<Scalar, GlobalTag> PositionType;
0029   typedef Point3DBase<Scalar, GlobalTag> GlobalPoint;
0030   typedef Point3DBase<Scalar, LocalTag> LocalPoint;
0031   typedef Vector3DBase<Scalar, GlobalTag> GlobalVector;
0032   typedef Vector3DBase<Scalar, LocalTag> LocalVector;
0033 
0034   typedef AlgebraicVector EulerAngles;
0035   typedef AlgebraicMatrix Derivatives;
0036   typedef math::Vector<6>::type AlignParams;
0037   typedef math::Error<6>::type ErrorMatrix;
0038 }  // namespace align
0039 
0040 #endif