Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/Geant4/G4NeutronTrackingCut.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //---------------------------------------------------------------------------
0028 //
0029 // ClassName:   G4NeutronTrackingCut
0030 //
0031 // Author: Nov 2006 G.Folger
0032 //
0033 //
0034 //----------------------------------------------------------------------------
0035 //
0036 
0037 #ifndef G4NeutronTrackingCut_h
0038 #define G4NeutronTrackingCut_h 1
0039 
0040 #include "globals.hh"
0041 #include "G4VPhysicsConstructor.hh"
0042 
0043 class G4NeutronKiller;
0044 
0045 class G4NeutronTrackingCut : public G4VPhysicsConstructor
0046 {
0047 public: 
0048   G4NeutronTrackingCut(G4int ver=0);
0049   G4NeutronTrackingCut(const G4String& name,G4int ver=0);
0050   virtual ~G4NeutronTrackingCut();
0051 
0052     // This method will be invoked in the Construct() method. 
0053     // each particle type will be instantiated
0054   virtual void ConstructParticle();
0055  
0056     // This method will be invoked in the Construct() method.
0057     // each physics process will be instantiated and
0058     // registered to the process manager of each particle type 
0059   virtual void ConstructProcess();
0060 
0061   inline void SetTimeLimit(G4double);
0062   inline void SetKineticEnergyLimit(G4double);
0063 
0064 private:
0065 
0066   G4double timeLimit;
0067   G4double kineticEnergyLimit;
0068   
0069   G4int    verbose;
0070 };
0071 
0072 inline void G4NeutronTrackingCut::SetTimeLimit(G4double val)
0073 {
0074   timeLimit = val;
0075 }
0076 
0077 inline void G4NeutronTrackingCut::SetKineticEnergyLimit(G4double val)
0078 {
0079   kineticEnergyLimit = val;
0080 }
0081 
0082 #endif
0083 
0084 
0085 
0086 
0087 
0088 
0089 
0090