/home/cern/BDSIM_new/include/BDSSampler.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 
00007 #ifndef BDSSampler_h
00008 #define BDSSampler_h 
00009 
00010 #include "globals.hh"
00011 #include "BDSAcceleratorComponent.hh"
00012 #include "BDSMaterials.hh"
00013 #include "G4LogicalVolume.hh"
00014 
00015 #include "G4FieldManager.hh"
00016 #include "G4ChordFinder.hh"
00017 #include "G4Mag_UsualEqRhs.hh"
00018 #include "G4UserLimits.hh"
00019 #include "G4VisAttributes.hh"
00020 
00021 
00022 class BDSSampler : public BDSAcceleratorComponent
00023 {
00024 public:
00025   BDSSampler(G4String aName,G4double aLength);
00026   ~BDSSampler();
00027 
00028   static const int GetNSamplers();
00029   static void AddExternalSampler();
00030 
00031 protected:
00032 
00033 private:
00034   void SamplerLogicalVolume();
00035   G4VisAttributes* SetVisAttributes();
00036 
00037   // field related objects:
00038   G4UserLimits* itsUserLimits;
00039   G4VisAttributes* itsVisAttributes;
00040 
00041   int nThisSampler;
00042   static int nSamplers;
00043 };
00044 
00045 #endif

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