CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
LaserBeamsBarrel Class Reference

#include <LaserBeamsBarrel.h>

Inheritance diagram for LaserBeamsBarrel:

Public Member Functions

void GeneratePrimaries (G4Event *myEvent)
 shoot optical photons into the detector at the beginning of an event More...
 
 LaserBeamsBarrel ()
 default constructor More...
 
 LaserBeamsBarrel (G4int nPhotonsInGun, G4int nPhotonsInBeam, G4double PhotonEnergy)
 constructor More...
 
void setOptPhotonPolar (G4double Angle)
 set the polarisation of the photons More...
 
 ~LaserBeamsBarrel ()
 destructor More...
 

Private Attributes

CLHEP::DRand48Engine * theDRand48Engine
 
G4int thenParticle
 
G4int thenParticleInGun
 
G4ParticleGun * theParticleGun
 
G4double thePhotonEnergy
 

Detailed Description

Define the LaserBeams which connect both TECs and TIB and TOB with eachother

Date:
2007/06/11 14:44:28
Revision:
1.3
Author
Maarten Thomas

Definition at line 21 of file LaserBeamsBarrel.h.

Constructor & Destructor Documentation

LaserBeamsBarrel::LaserBeamsBarrel ( )

default constructor

Definition at line 21 of file LaserBeamsBarrel.cc.

LaserBeamsBarrel::LaserBeamsBarrel ( G4int  nPhotonsInGun,
G4int  nPhotonsInBeam,
G4double  PhotonEnergy 
)

constructor

Definition at line 32 of file LaserBeamsBarrel.cc.

LaserBeamsBarrel::~LaserBeamsBarrel ( )

destructor

Definition at line 72 of file LaserBeamsBarrel.cc.

Member Function Documentation

void LaserBeamsBarrel::GeneratePrimaries ( G4Event *  myEvent)

shoot optical photons into the detector at the beginning of an event

Definition at line 78 of file LaserBeamsBarrel.cc.

Referenced by LaserPrimaryGeneratorAction::GeneratePrimaries().

void LaserBeamsBarrel::setOptPhotonPolar ( G4double  Angle)

set the polarisation of the photons

Definition at line 166 of file LaserBeamsBarrel.cc.

Member Data Documentation

CLHEP::DRand48Engine* LaserBeamsBarrel::theDRand48Engine
private

Definition at line 46 of file LaserBeamsBarrel.h.

G4int LaserBeamsBarrel::thenParticle
private

Definition at line 39 of file LaserBeamsBarrel.h.

G4int LaserBeamsBarrel::thenParticleInGun
private

Definition at line 38 of file LaserBeamsBarrel.h.

G4ParticleGun* LaserBeamsBarrel::theParticleGun
private

Definition at line 43 of file LaserBeamsBarrel.h.

G4double LaserBeamsBarrel::thePhotonEnergy
private

Definition at line 40 of file LaserBeamsBarrel.h.