#ifndef _tls_DummyProcessAtRest_h #define _tls_DummyProcessAtRest_h #include #include #include #include namespace tls { class DummyProcessAtRest: public G4VRestProcess { /** \class DummyProcessAtRest \brief class that is used to suppress Error output from Geant4 when deactivating all AtRestDoIt processes. This class does not work in Geant4.9.1 but it works already in Geant4.9.4. \author Martin Maur \date 01 June 2012 \ingroup geant4 */ private: // hide assignment operator as private DummyProcessAtRest& operator=(const DummyProcessAtRest &right); DummyProcessAtRest(const DummyProcessAtRest& ); public: DummyProcessAtRest(const G4String& processName = "DummyProcessAtRest", G4ProcessType aType = fElectromagnetic); ~DummyProcessAtRest(); G4bool IsApplicable(const G4ParticleDefinition&); void BuildPhysicsTable(const G4ParticleDefinition&); G4double AtRestGetPhysicalInteractionLength(const G4Track&, G4ForceCondition*); G4double GetMeanLifeTime(const G4Track&, G4ForceCondition*); G4VParticleChange* AtRestDoIt(const G4Track&, const G4Step&); }; } #endif