00001 //---------------------------------------------------------------------------// 00002 // BOOST --- BESIII Object_Oriented Simulation Tool // 00003 //---------------------------------------------------------------------------// 00004 //Description: Includes G4Steplimiter as process for the different Particles. 00005 // However, particles will only be affected by this process, if 00006 // G4UserLimit is associated to a volume. This method is used in 00007 // BesTofConstruction::ConstructMRPC() 00008 //Author: Matthias Ullrich 00009 //Created: October, 2011 00010 //Modified: 00011 //Comment: 00012 //---------------------------------------------------------------------------// 00013 //$ID: StepLimiter.hh 00014 00015 00016 00017 00018 #ifndef StepLimiter_h 00019 #define StepLimiter_h 1 00020 00021 #include "G4VPhysicsConstructor.hh" 00022 #include "globals.hh" 00023 00024 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00025 00026 class StepLimiter : public G4VPhysicsConstructor 00027 { 00028 public: 00029 StepLimiter(G4int ver = 0, const G4String& name = "StepLimiter"); 00030 virtual ~StepLimiter(); 00031 00032 virtual void ConstructParticle(); 00033 virtual void ConstructProcess(); 00034 00035 private: 00036 00037 G4int verbose; 00038 00039 }; 00040 00041 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00042 00043 #endif