CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/SimDataFormats/SLHC/interface/L1TkBeam.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 #ifndef STACKED_TRACKER_L1TK_BEAM_FORMAT_H
00011 #define STACKED_TRACKER_L1TK_BEAM_FORMAT_H
00012 
00013 #include "DataFormats/Common/interface/Ref.h"
00014 #include "DataFormats/Common/interface/Ptr.h"
00015 
00016 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00017 
00018 namespace cmsUpgrades{
00019 
00026   class L1TkBeam {
00027 
00028     public:
00029 
00030     private:
00032       unsigned int theBeamType; 
00033       GlobalPoint  theBeamPosition;
00034       double       theSizeX;
00035       double       theSizeY;
00036       double       theSizeZ;
00037 
00038     public:
00040       L1TkBeam()
00041       {
00043         theBeamType = 99;
00044         theBeamPosition = GlobalPoint(0.0, 0.0, 0.0);
00045         theSizeX = 0.0;
00046         theSizeY = 0.0;
00047         theSizeZ = 0.0;
00048       }
00049 
00051       ~L1TkBeam()
00052       {
00054       }
00055 
00059       GlobalPoint getBeamPosition() const
00060       {
00061         return theBeamPosition;    
00062       }
00063 
00064       void setBeamPosition( double aPosX, double aPosY, double aPosZ )
00065       {
00066         theBeamPosition = GlobalPoint( aPosX, aPosY, aPosZ );
00067       }
00068 
00070       double getSizeX() const
00071       {
00072         return theSizeX;
00073       }
00074 
00075       double getSizeY() const
00076       {
00077         return theSizeY;
00078       }
00079 
00080       double getSizeZ() const
00081       {
00082         return theSizeZ;
00083       }
00084 
00085       void setBeamSize( double aSizeX, double aSizeY, double aSizeZ )
00086       {
00087         theSizeX = aSizeX;
00088         theSizeY = aSizeY;
00089         theSizeZ = aSizeZ;
00090       }
00091 
00092 
00093 
00095       unsigned int getBeamType() const
00096       {
00097         return theBeamType;
00098       }
00099 
00100       void setBeamType( unsigned int aBeamType )
00101       {
00102         theBeamType = aBeamType;
00103       }
00104 
00107 
00110 
00111   }; 
00112 
00113 
00120 
00121 
00122 
00123 
00124 
00125 
00126 } 
00127 
00128 #endif
00129 
00130 
00131 
00132