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[ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /processes/parameterisation/include/G4FastStep.icc (Version 11.3.0) and /processes/parameterisation/include/G4FastStep.icc (Version 3.0)


                                                   >>   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 //
                                                   >>   8 // $Id: G4FastStep.icc,v 1.2 1999/12/15 14:53:45 gunter Exp $
                                                   >>   9 // GEANT4 tag $Name: geant4-03-00 $
 27 //                                                 10 //
 28 // $id: G4ParticleChange.icc,v 1.6 1998/04/14      11 // $id: G4ParticleChange.icc,v 1.6 1998/04/14 02:25:54 kurasige Exp $
 29                                                    12 
 30 inline void G4FastStep::ProposePrimaryTrackFin <<  13 inline void 
                                                   >>  14 G4FastStep::SetPrimaryTrackFinalTime(G4double time)
 31 {                                                  15 {
 32   theTimeChange = time;                            16   theTimeChange = time;
 33 }                                                  17 }
 34 inline void G4FastStep::SetPrimaryTrackFinalTi << 
 35 {                                              << 
 36   ProposePrimaryTrackFinalTime(time);          << 
 37 }                                              << 
 38                                                    18 
 39 inline void G4FastStep::ProposePrimaryTrackFin <<  19 inline void 
                                                   >>  20 G4FastStep::SetPrimaryTrackFinalProperTime(G4double properTime)
 40 {                                                  21 {
 41   theProperTimeChange = properTime;                22   theProperTimeChange = properTime;
 42 }                                                  23 }
 43 inline void G4FastStep::SetPrimaryTrackFinalPr << 
 44 {                                              << 
 45   ProposePrimaryTrackFinalProperTime(properTim << 
 46 }                                              << 
 47                                                    24 
 48 inline void G4FastStep::ProposePrimaryTrackFin <<  25 inline void 
                                                   >>  26 G4FastStep::
                                                   >>  27 SetPrimaryTrackFinalKineticEnergy(G4double kineticEnergy)
 49 {                                                  28 {
 50   theEnergyChange = kineticEnergy;                 29   theEnergyChange = kineticEnergy;
 51 }                                                  30 }
 52 inline void G4FastStep::SetPrimaryTrackFinalKi << 
 53 {                                              << 
 54   ProposePrimaryTrackFinalKineticEnergy(kineti << 
 55 }                                              << 
 56                                                    31 
 57 inline void G4FastStep::ProposePrimaryTrackPat <<  32 inline void 
 58 {                                              <<  33 G4FastStep::SetPrimaryTrackPathLength(G4double pathLength)
 59   ProposeTrueStepLength(pathLength);           << 
 60 }                                              << 
 61 inline void G4FastStep::SetPrimaryTrackPathLen << 
 62 {                                                  34 {
 63   ProposePrimaryTrackPathLength(pathLength);   <<  35   SetTrueStepLength(pathLength);
 64 }                                                  36 }
 65                                                << 
 66 //-----------------------------------------        37 //-----------------------------------------
 67 //                                                 38 //
 68 // Creation of eventual secondaries:           <<  39 // Creation of eventual secondaries: 
 69 //                                                 40 //
 70 //-----------------------------------------        41 //-----------------------------------------
 71                                                    42 
 72 inline void G4FastStep::SetNumberOfSecondaryTr <<  43 inline void 
                                                   >>  44 G4FastStep::SetNumberOfSecondaryTracks(G4int nSecondaries)
 73 {                                                  45 {
 74   SetNumberOfSecondaries(nSecondaries);            46   SetNumberOfSecondaries(nSecondaries);
 75 }                                                  47 }
 76                                                    48 
 77 inline G4int G4FastStep::GetNumberOfSecondaryT <<  49 inline G4int 
                                                   >>  50 G4FastStep::GetNumberOfSecondaryTracks()
 78 {                                                  51 {
 79   return GetNumberOfSecondaries();                 52   return GetNumberOfSecondaries();
 80 }                                                  53 }
 81                                                    54 
 82 inline G4Track* G4FastStep::GetSecondaryTrack(     55 inline G4Track* G4FastStep::GetSecondaryTrack(G4int i)
 83 {                                                  56 {
 84   return GetSecondary(i);                          57   return GetSecondary(i);
 85 }                                                  58 }
 86                                                    59 
                                                   >>  60 
 87 //---------------------------------------          61 //---------------------------------------
 88 //                                                 62 //
 89 //---------------------------------------          63 //---------------------------------------
 90 inline void G4FastStep::ProposeTotalEnergyDepo << 
 91 {                                              << 
 92   ProposeLocalEnergyDeposit(anEnergyPart);     << 
 93 }                                              << 
 94 inline void G4FastStep::SetTotalEnergyDeposite     64 inline void G4FastStep::SetTotalEnergyDeposited(G4double anEnergyPart)
 95 {                                                  65 {
 96   ProposeTotalEnergyDeposited(anEnergyPart);   <<  66   SetLocalEnergyDeposit(anEnergyPart);
 97 }                                                  67 }
 98                                                    68 
                                                   >>  69 
 99 inline G4double G4FastStep::GetTotalEnergyDepo     70 inline G4double G4FastStep::GetTotalEnergyDeposited() const
100 {                                                  71 {
101   return GetLocalEnergyDeposit();                  72   return GetLocalEnergyDeposit();
102 }                                                  73 }
103                                                    74 
                                                   >>  75 
104 inline void G4FastStep::ForceSteppingHitInvoca     76 inline void G4FastStep::ForceSteppingHitInvocation()
105 {                                                  77 {
106   ProposeSteppingControl(NormalCondition);     <<  78   SetSteppingControl(NormalCondition);
107 }                                                  79 }
108                                                    80 
109 inline void G4FastStep::SetMomentumChange(G4do <<  81 inline 
                                                   >>  82 void G4FastStep::SetMomentumChange(
                                                   >>  83            G4double Px, 
                                                   >>  84            G4double Py, 
                                                   >>  85            G4double Pz  )
110 {                                                  86 {
111   theMomentumChange.setX(Px);                      87   theMomentumChange.setX(Px);
112   theMomentumChange.setY(Py);                      88   theMomentumChange.setY(Py);
113   theMomentumChange.setZ(Pz);                      89   theMomentumChange.setZ(Pz);
114 }                                                  90 }
115                                                    91 
116 inline void G4FastStep::SetMomentumChange(cons <<  92 inline 
                                                   >>  93 void G4FastStep::SetMomentumChange(const G4ThreeVector& P)
117 {                                                  94 {
118   theMomentumChange = P;                           95   theMomentumChange = P;
119 }                                                  96 }
120                                                    97 
121 inline void G4FastStep::ProposePrimaryTrackFin <<  98 inline
                                                   >>  99 void G4FastStep::SetPrimaryTrackFinalEventBiasingWeight (G4double w)
122 {                                                 100 {
123   theWeightChange = w;                            101   theWeightChange = w;
124 }                                              << 
125 inline void G4FastStep::SetPrimaryTrackFinalEv << 
126 {                                              << 
127   ProposePrimaryTrackFinalEventBiasingWeight(w << 
128 }                                                 102 }
129                                                   103