File indexing completed on 2024-09-07 04:34:25
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef _ALIRmDataFromFile_HH
0011 #define _ALIRmDataFromFile_HH
0012 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0013 #include "CLHEP/Vector/Rotation.h"
0014
0015 class ALIRmDataFromFile {
0016 public:
0017
0018 ALIRmDataFromFile();
0019 ~ALIRmDataFromFile() {}
0020
0021
0022 ALIbool setAngle(const ALIstring& coord, const ALIdouble val);
0023 ALIbool setAngleX(const ALIdouble val);
0024 ALIbool setAngleY(const ALIdouble val);
0025 ALIbool setAngleZ(const ALIdouble val);
0026 void constructRm();
0027
0028 ALIdouble angleX() const { return theAngleX; }
0029 ALIdouble angleY() const { return theAngleY; }
0030 ALIdouble angleZ() const { return theAngleZ; }
0031 CLHEP::HepRotation rm() const { return theRm; }
0032 ALIstring dataFilled() const { return theDataFilled; }
0033
0034
0035 private:
0036 CLHEP::HepRotation theRm;
0037 ALIdouble theAngleX, theAngleY, theAngleZ;
0038 ALIstring theDataFilled;
0039 };
0040
0041 #endif