Geant4 Cross Reference |
>> 1 // This code implementation is the intellectual property of >> 2 // the GEANT4 collaboration. 1 // 3 // 2 // ******************************************* << 4 // By copying, distributing or modifying the Program (or any work 3 // * License and Disclaimer << 5 // based on the Program) you indicate your acceptance of this statement, 4 // * << 6 // and all its terms. 5 // * The Geant4 software is copyright of th << 6 // * the Geant4 Collaboration. It is provided << 7 // * conditions of the Geant4 Software License << 8 // * LICENSE and available at http://cern.ch/ << 9 // * include a list of copyright holders. << 10 // * << 11 // * Neither the authors of this software syst << 12 // * institutes,nor the agencies providing fin << 13 // * work make any representation or warran << 14 // * regarding this software system or assum << 15 // * use. Please see the license in the file << 16 // * for the full disclaimer and the limitatio << 17 // * << 18 // * This code implementation is the result << 19 // * technical work of the GEANT4 collaboratio << 20 // * By using, copying, modifying or distri << 21 // * any work based on the software) you ag << 22 // * use in resulting scientific publicati << 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* << 25 // << 26 // 7 // 27 // ------------------------------------------- 8 // ------------------------------------------------------------------- 28 // 9 // 29 // GEANT4 Class file 10 // GEANT4 Class file 30 // 11 // >> 12 // For information related to this code contact: >> 13 // Geant4 Collaboration 31 // 14 // 32 // File name: G4VhNuclearStoppingPower 15 // File name: G4VhNuclearStoppingPower 33 // 16 // 34 // Author: V.Ivanchenko (Vladimir.Ivanc 17 // Author: V.Ivanchenko (Vladimir.Ivanchenko@cern.ch) 35 // 18 // 36 // Creation date: 20 July 2000 19 // Creation date: 20 July 2000 37 // 20 // 38 // Modifications: 21 // Modifications: 39 // 20/07/2000 V.Ivanchenko First implementati 22 // 20/07/2000 V.Ivanchenko First implementation 40 // 23 // 41 // Class Description: 24 // Class Description: 42 // 25 // 43 // Hadrons/ions nuclear stopping power paramet 26 // Hadrons/ions nuclear stopping power parameterisation 44 // Virtual class to provide an interface befor << 45 // power model and G4hLowEnergyIonisation. << 46 // Further documentation available from http:/ 27 // Further documentation available from http://www.ge.infn.it/geant4/lowE 47 28 48 // ------------------------------------------- 29 // ------------------------------------------------------------------- 49 // 30 // 50 31 51 #ifndef G4VhNuclearStoppingPower_h 32 #ifndef G4VhNuclearStoppingPower_h 52 #define G4VhNuclearStoppingPower_h 1 33 #define G4VhNuclearStoppingPower_h 1 53 34 54 #include "globals.hh" 35 #include "globals.hh" 55 36 56 class G4VhNuclearStoppingPower 37 class G4VhNuclearStoppingPower 57 { 38 { >> 39 58 public: 40 public: 59 explicit G4VhNuclearStoppingPower(); << 41 >> 42 G4VhNuclearStoppingPower(); >> 43 60 virtual ~G4VhNuclearStoppingPower(); 44 virtual ~G4VhNuclearStoppingPower(); 61 45 62 void SetNuclearStoppingFluctuationsOn() {los 46 void SetNuclearStoppingFluctuationsOn() {lossFlucFlag = true;}; >> 47 63 void SetNuclearStoppingFluctuationsOff() {lo 48 void SetNuclearStoppingFluctuationsOff() {lossFlucFlag = false;}; 64 49 65 virtual G4double NuclearStoppingPower(G4doub 50 virtual G4double NuclearStoppingPower(G4double kineticEnergy, 66 G4doub 51 G4double z1, G4double z2, 67 G4doub 52 G4double m1, G4double m2) const=0; 68 << 69 G4VhNuclearStoppingPower & operator=(const G << 70 G4VhNuclearStoppingPower(const G4VhNuclearSt << 71 << 72 protected: 53 protected: >> 54 73 G4bool lossFlucFlag; 55 G4bool lossFlucFlag; 74 56 >> 57 private: >> 58 >> 59 // hide assignment operator >> 60 G4VhNuclearStoppingPower & operator=(const G4VhNuclearStoppingPower &right); >> 61 G4VhNuclearStoppingPower(const G4VhNuclearStoppingPower&); >> 62 75 }; 63 }; 76 64 77 #endif 65 #endif 78 66 79 67 80 68