CMS 3D CMS Logo

Public Member Functions | Private Attributes

cmsUpgrades::L1TkBeam Class Reference

#include <L1TkBeam.h>

List of all members.

Public Member Functions

GlobalPoint getBeamPosition () const
unsigned int getBeamType () const
 Beam type.
double getSizeX () const
 Beam size.
double getSizeY () const
double getSizeZ () const
 L1TkBeam ()
 Constructors.
void setBeamPosition (double aPosX, double aPosY, double aPosZ)
void setBeamSize (double aSizeX, double aSizeY, double aSizeZ)
void setBeamType (unsigned int aBeamType)
 ~L1TkBeam ()
 Destructor.

Private Attributes

GlobalPoint theBeamPosition
 0 = Beta, 1 = Gauss, 2 = Flat
unsigned int theBeamType
 Data members.
double theSizeX
double theSizeY
double theSizeZ

Detailed Description

************************ DECLARATION OF CLASS ************************

Definition at line 26 of file L1TkBeam.h.


Constructor & Destructor Documentation

cmsUpgrades::L1TkBeam::L1TkBeam ( ) [inline]

Constructors.

Set default data members

Definition at line 40 of file L1TkBeam.h.

References theBeamPosition, theBeamType, theSizeX, theSizeY, and theSizeZ.

      {
        theBeamType = 99;
        theBeamPosition = GlobalPoint(0.0, 0.0, 0.0);
        theSizeX = 0.0;
        theSizeY = 0.0;
        theSizeZ = 0.0;
      }
cmsUpgrades::L1TkBeam::~L1TkBeam ( ) [inline]

Destructor.

Nothing to be done

Definition at line 51 of file L1TkBeam.h.

      {
      }

Member Function Documentation

GlobalPoint cmsUpgrades::L1TkBeam::getBeamPosition ( ) const [inline]

//////////////////////// /// METHODS FOR DATA MEMBERS /// Beam position

Definition at line 59 of file L1TkBeam.h.

References theBeamPosition.

      {
        return theBeamPosition;    
      }
unsigned int cmsUpgrades::L1TkBeam::getBeamType ( ) const [inline]

Beam type.

Definition at line 95 of file L1TkBeam.h.

References theBeamType.

      {
        return theBeamType;
      }
double cmsUpgrades::L1TkBeam::getSizeX ( ) const [inline]

Beam size.

Definition at line 70 of file L1TkBeam.h.

References theSizeX.

      {
        return theSizeX;
      }
double cmsUpgrades::L1TkBeam::getSizeY ( ) const [inline]

Definition at line 75 of file L1TkBeam.h.

References theSizeY.

      {
        return theSizeY;
      }
double cmsUpgrades::L1TkBeam::getSizeZ ( ) const [inline]

Definition at line 80 of file L1TkBeam.h.

References theSizeZ.

      {
        return theSizeZ;
      }
void cmsUpgrades::L1TkBeam::setBeamPosition ( double  aPosX,
double  aPosY,
double  aPosZ 
) [inline]

Definition at line 64 of file L1TkBeam.h.

References theBeamPosition.

      {
        theBeamPosition = GlobalPoint( aPosX, aPosY, aPosZ );
      }
void cmsUpgrades::L1TkBeam::setBeamSize ( double  aSizeX,
double  aSizeY,
double  aSizeZ 
) [inline]

Definition at line 85 of file L1TkBeam.h.

References theSizeX, theSizeY, and theSizeZ.

      {
        theSizeX = aSizeX;
        theSizeY = aSizeY;
        theSizeZ = aSizeZ;
      }
void cmsUpgrades::L1TkBeam::setBeamType ( unsigned int  aBeamType) [inline]

Definition at line 100 of file L1TkBeam.h.

References theBeamType.

      {
        theBeamType = aBeamType;
      }

Member Data Documentation

0 = Beta, 1 = Gauss, 2 = Flat

Definition at line 33 of file L1TkBeam.h.

Referenced by getBeamPosition(), L1TkBeam(), and setBeamPosition().

unsigned int cmsUpgrades::L1TkBeam::theBeamType [private]

Data members.

Definition at line 32 of file L1TkBeam.h.

Referenced by getBeamType(), L1TkBeam(), and setBeamType().

Definition at line 34 of file L1TkBeam.h.

Referenced by getSizeX(), L1TkBeam(), and setBeamSize().

Definition at line 35 of file L1TkBeam.h.

Referenced by getSizeY(), L1TkBeam(), and setBeamSize().

Definition at line 36 of file L1TkBeam.h.

Referenced by getSizeZ(), L1TkBeam(), and setBeamSize().