Geant4.10
 All Data Structures 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 74551 2013-10-14 12:59:14Z 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 
46 /* \brief { The transportation method implemented is the one from
47  * Ermak-McCammon : J. Chem. Phys. 69, 1352 (1978)}
48  */
49 
51 {
52 public:
53  G4DNABrownianTransportation(const G4String& aName = "DNABrownianTransportation", G4int verbosityLevel= 1);
58 
59  virtual void BuildPhysicsTable(const G4ParticleDefinition&);
60 
61  virtual void StartTracking(G4Track* aTrack);
62 
63  virtual void ComputeStep(const G4Track&,
64  const G4Step&,
65  const double,
66  double&) ;
67 
68  virtual G4double AlongStepGetPhysicalInteractionLength( const G4Track& /*track*/,
69  G4double /*previousStepSize*/,
70  G4double /*currentMinimumStep*/,
71  G4double& /*currentSafety*/,
72  G4GPILSelection* /*selection*/);
73  virtual G4VParticleChange* PostStepDoIt( const G4Track& track, const G4Step& ) ;
74 
75  virtual G4VParticleChange* AlongStepDoIt(const G4Track& track, const G4Step&);
76 
77 protected:
78  void Diffusion(const G4Track& track);
79 
80  //________________________________________________________________
81  // Process information
83  {
84  public :
86  virtual ~G4ITBrownianState(){;}
88  };
89 
91 
94 
95  // Water density table
96  const std::vector<G4double>* fpWaterDensity;
97 };
98 
99 #endif // G4ITBROWNIANTRANSPORTATION_H
#define G4IT_ADD_CLONE(parent_class, kid_class)
Definition: AddClone_def.hh:45
G4DNABrownianTransportation & operator=(const G4DNABrownianTransportation &other)
virtual G4VParticleChange * AlongStepDoIt(const G4Track &track, const G4Step &)
virtual void StartTracking(G4Track *aTrack)
int G4int
Definition: G4Types.hh:78
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
bool G4bool
Definition: G4Types.hh:79
Definition: G4Step.hh:76
virtual void ComputeStep(const G4Track &, const G4Step &, const double, double &)
void Diffusion(const G4Track &track)
G4ITBrownianState *const & fpBrownianState
G4DNABrownianTransportation(const G4String &aName="DNABrownianTransportation", G4int verbosityLevel=1)
virtual G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &)
double G4double
Definition: G4Types.hh:76
const std::vector< G4double > * fpWaterDensity
virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
G4GPILSelection