Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:34:25

0001 //  COCOA class header file

0002 //Id:  ALIRmDataFromFile.h

0003 //CAT: Model

0004 //

0005 //   Base class for entry data

0006 //

0007 //   History: Creation 26/06/2005

0008 //   Pedro Arce

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   //----- Constructor / destructor

0018   ALIRmDataFromFile();
0019   ~ALIRmDataFromFile() {}
0020 
0021   // Access DATA MEMBERS

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   // private DATA MEMBERS

0035 private:
0036   CLHEP::HepRotation theRm;
0037   ALIdouble theAngleX, theAngleY, theAngleZ;
0038   ALIstring theDataFilled;
0039 };
0040 
0041 #endif