/home/cern/BDSIM_new/include/BDSGen5Shell.hh

00001 /* BDSIM code.    Version 1.0
00002    Author: Grahame A. Blair, Royal Holloway, Univ. of London.
00003    Last modified 24.7.2002
00004    Copyright (c) 2002 by G.A.Blair.  ALL RIGHTS RESERVED. 
00005 */
00006 #ifndef BDSGen5Shell_h
00007 #define BDSGen5Shell_h 
00008 #include "BDSGlobalConstants.hh" // must be first in include list
00009 #include "globals.hh"
00010 #include "Randomize.hh"
00011 #include <vector>
00012 
00013 //typedef vector<G4double> vDbl;
00014 
00015 class BDSGen5Shell
00016 {
00017 
00018 public:
00019   BDSGen5Shell(G4double InnerRad,G4double OuterRad);
00020   ~BDSGen5Shell();
00021 
00022 
00023   G4double* GenPoint();
00024 
00025 
00026 private:
00027 
00028   G4double GenSin2();
00029   G4double GenSin3();
00030   G4double GenRadius();
00031 
00032   G4double itsVec[5];
00033 
00034   G4double Theta0,Theta1,Theta2,Theta3;
00035 
00036   G4double area2,area3,areaR;
00037   G4double Gen2Lower,Gen2Upper,Gen3Lower,Gen3Upper;
00038   G4double GenRLower;
00039   G4double ShellInnerRadius,ShellOuterRadius;
00040 
00041 };
00042 
00043 
00044 #endif

Generated on Wed Mar 5 17:25:21 2008 for BDSIM by  doxygen 1.5.3