Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4DNABrownianTransportation.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 // $Id: G4DNABrownianTransportation.hh 64374 2012-10-31 16:37:23Z gcosmo $
27 //
28 // Author: Mathieu Karamitros (kara (AT) cenbg . in2p3 . fr)
29 //
30 // WARNING : This class is released as a prototype.
31 // It might strongly evolve or even disapear in the next releases.
32 //
33 // History:
34 // -----------
35 // 10 Oct 2011 M.Karamitros created
36 //
37 // -------------------------------------------------------------------
38 
39 #ifndef G4ITBROWNIANTRANSPORTATION_H
40 #define G4ITBROWNIANTRANSPORTATION_H
41 
42 #include "G4ITTransportation.hh"
43 
44 class G4SafetyHelper;
45 
48 
50 {
51 public:
52  G4DNABrownianTransportation(const G4String& aName = "DNABrownianTransportation", G4int verbosityLevel= 1);
57 
58  virtual void BuildPhysicsTable(const G4ParticleDefinition&);
59 
60  virtual void StartTracking(G4Track* aTrack);
61 
62  virtual void ComputeStep(const G4Track&,
63  const G4Step&,
64  const double,
65  double&) ;
66 
67  virtual G4double AlongStepGetPhysicalInteractionLength( const G4Track& /*track*/,
68  G4double /*previousStepSize*/,
69  G4double /*currentMinimumStep*/,
70  G4double& /*currentSafety*/,
71  G4GPILSelection* /*selection*/);
72  virtual G4VParticleChange* PostStepDoIt( const G4Track& track, const G4Step& ) ;
73 
74  virtual G4VParticleChange* AlongStepDoIt(const G4Track& track, const G4Step&);
75 
76 protected:
77  void Diffusion(const G4Track& track);
78 
79  //________________________________________________________________
80  // Process information
82  {
83  public :
85  virtual ~G4ITBrownianState(){;}
87  };
88 
90 
93 
94  // Water density table
95  const std::vector<G4double>* fpWaterDensity;
96 };
97 
98 #endif // G4ITBROWNIANTRANSPORTATION_H