CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/Alignment/CocoaModel/interface/ALIRmDataFromFile.h

Go to the documentation of this file.
00001 //  COCOA class header file
00002 //Id:  ALIRmDataFromFile.h
00003 //CAT: Model
00004 //
00005 //   Base class for entry data
00006 // 
00007 //   History: Creation 26/06/2005
00008 //   Pedro Arce
00009 
00010 #ifndef _ALIRmDataFromFile_HH
00011 #define _ALIRmDataFromFile_HH
00012 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
00013 #include "CLHEP/Vector/Rotation.h"
00014 
00015 class ALIRmDataFromFile
00016 {
00017 public:
00018   //----- Constructor / destructor 
00019   ALIRmDataFromFile();
00020   ~ALIRmDataFromFile(){};
00021 
00022  // Access DATA MEMBERS
00023   ALIbool setAngle( const ALIstring& coord, const ALIdouble val );
00024   ALIbool setAngleX( const ALIdouble val );
00025   ALIbool setAngleY( const ALIdouble val );
00026   ALIbool setAngleZ( const ALIdouble val );
00027   void constructRm();
00028 
00029   ALIdouble angleX() const { return theAngleX; }
00030   ALIdouble angleY() const { return theAngleY; }
00031   ALIdouble angleZ() const { return theAngleZ; }
00032   CLHEP::HepRotation rm() const { return theRm; }
00033   ALIstring dataFilled() const { return theDataFilled; }
00034 
00035  // private DATA MEMBERS
00036 private:
00037   CLHEP::HepRotation theRm;
00038   ALIdouble theAngleX, theAngleY, theAngleZ;
00039   ALIstring theDataFilled;
00040 };
00041 
00042 #endif