Ignore:
Timestamp:
Apr 6, 2009, 12:21:12 PM (15 years ago)
Author:
garnier
Message:

update processes

Location:
trunk/source/processes/electromagnetic/xrays/include
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/xrays/include/G4Cerenkov.hh

    r819 r961  
    2525//
    2626//
    27 // $Id: G4Cerenkov.hh,v 1.9 2007/09/30 22:17:04 gum Exp $
    28 // GEANT4 tag $Name: $
     27// $Id: G4Cerenkov.hh,v 1.10 2008/10/22 01:17:36 gum Exp $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030//
     
    6060#include "G4ParticleMomentum.hh"
    6161#include "G4Step.hh"
    62 #include "G4VDiscreteProcess.hh"
     62#include "G4VProcess.hh"
    6363#include "G4OpticalPhoton.hh"
    6464#include "G4DynamicParticle.hh"
     
    7777/////////////////////
    7878
    79 class G4Cerenkov : public G4VDiscreteProcess 
     79class G4Cerenkov : public G4VProcess
    8080{
    8181
     
    116116        // condition for the DoIt to be invoked at every step.
    117117
     118        G4double PostStepGetPhysicalInteractionLength(const G4Track& aTrack,
     119                                                      G4double ,
     120                                                      G4ForceCondition* );
     121        // Returns the discrete step limit and sets the 'StronglyForced'
     122        // condition for the DoIt to be invoked at every step.
     123
    118124        G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
    119125                                        const G4Step&  aStep);
    120126        // This is the method implementing the Cerenkov process.
     127
     128        //  no operation in  AtRestDoIt and  AlongStepDoIt
     129        virtual G4double AlongStepGetPhysicalInteractionLength(
     130                               const G4Track&,
     131                               G4double  ,
     132                               G4double  ,
     133                               G4double& ,
     134                               G4GPILSelection*
     135                              ) { return -1.0; };
     136
     137        virtual G4double AtRestGetPhysicalInteractionLength(
     138                               const G4Track& ,
     139                               G4ForceCondition*
     140                              ) { return -1.0; };
     141
     142        //  no operation in  AtRestDoIt and  AlongStepDoIt
     143        virtual G4VParticleChange* AtRestDoIt(
     144                               const G4Track& ,
     145                               const G4Step&
     146                              ) {return 0;};
     147
     148        virtual G4VParticleChange* AlongStepDoIt(
     149                               const G4Track& ,
     150                               const G4Step&
     151                              ) {return 0;};
    121152
    122153        void SetTrackSecondariesFirst(const G4bool state);
     
    125156        // been tracked, the tracking of the primary resumes.
    126157       
     158        void SetMaxBetaChangePerStep(const G4double d);
     159        // Set the maximum allowed change in beta = v/c in % (perCent)
     160        // per step.
     161
    127162        void SetMaxNumPhotonsPerStep(const G4int NumPhotons);
    128163        // Set the maximum number of Cerenkov photons allowed to be
     
    166201
    167202        G4bool fTrackSecondariesFirst;
    168         G4int  fMaxPhotons;
     203        G4double fMaxBetaChange;
     204        G4int  fMaxPhotons;
    169205};
    170206
     
    190226
    191227inline
     228void G4Cerenkov::SetMaxBetaChangePerStep(const G4double value)
     229{
     230        fMaxBetaChange = value*perCent;
     231}
     232
     233inline
    192234void G4Cerenkov::SetMaxNumPhotonsPerStep(const G4int NumPhotons)
    193235{
     
    208250}
    209251
    210 inline G4PhysicsTable* G4Cerenkov::GetPhysicsTable() const
     252inline
     253G4PhysicsTable* G4Cerenkov::GetPhysicsTable() const
    211254{
    212255  return thePhysicsTable;
  • trunk/source/processes/electromagnetic/xrays/include/G4ForwardXrayTR.hh

    r819 r961  
    2626//
    2727// $Id: G4ForwardXrayTR.hh,v 1.14 2006/06/29 19:55:33 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030// G4ForwardXrayTR -- header file
  • trunk/source/processes/electromagnetic/xrays/include/G4GammaXTRadiator.hh

    r819 r961  
    2626//
    2727// $Id: G4GammaXTRadiator.hh,v 1.4 2006/06/29 19:55:35 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030//
  • trunk/source/processes/electromagnetic/xrays/include/G4RegularXTRadiator.hh

    r819 r961  
    2626//
    2727// $Id: G4RegularXTRadiator.hh,v 1.3 2006/06/29 19:55:37 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030//
  • trunk/source/processes/electromagnetic/xrays/include/G4Scintillation.hh

    r819 r961  
    2525//
    2626//
    27 // $Id: G4Scintillation.hh,v 1.13 2006/06/29 19:55:39 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: G4Scintillation.hh,v 1.15 2008/06/13 01:04:49 gum Exp $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030//
     
    7272#include "G4PhysicsOrderedFreeVector.hh"
    7373
     74#include "G4EmSaturation.hh"
     75
    7476// Class Description:
    7577// RestDiscrete Process - Generation of Scintillation Photons.
     
    170172        // Returns the address of the slow scintillation integral table.
    171173
     174        void AddSaturation(G4EmSaturation* sat) { emSaturation = sat; }
     175        // Adds Birks Saturation to the process.
     176
     177        G4EmSaturation* GetSaturation() const { return emSaturation; }
     178        // Returns the Birks Saturation.
     179
    172180        void DumpPhysicsTable() const;
    173181        // Prints the fast and slow scintillation integral tables.
    174182
    175 private:
     183protected:
    176184
    177185        void BuildThePhysicsTable();
     
    183191        ///////////////////////
    184192
    185 protected:
    186193
    187194        G4PhysicsTable* theSlowIntegralTable;
    188195        G4PhysicsTable* theFastIntegralTable;
    189196
     197
     198
     199        G4bool fTrackSecondariesFirst;
     200
     201        G4double YieldFactor;
     202
     203        G4double ExcitationRatio;
     204
    190205private:
    191206
    192         G4bool fTrackSecondariesFirst;
    193 
    194         G4double YieldFactor;
    195 
    196         G4double ExcitationRatio;
     207        G4EmSaturation* emSaturation;
    197208
    198209};
  • trunk/source/processes/electromagnetic/xrays/include/G4StrawTubeXTRadiator.hh

    r819 r961  
    2626//
    2727// $Id: G4StrawTubeXTRadiator.hh,v 1.4 2007/09/29 17:49:34 vnivanch Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030//
  • trunk/source/processes/electromagnetic/xrays/include/G4SynchrotronRadiation.hh

    r819 r961  
    2626//
    2727// $Id: G4SynchrotronRadiation.hh,v 1.4 2006/06/29 19:55:43 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030// ------------------------------------------------------------
  • trunk/source/processes/electromagnetic/xrays/include/G4SynchrotronRadiationInMat.hh

    r819 r961  
    2626//
    2727// $Id: G4SynchrotronRadiationInMat.hh,v 1.2 2006/06/29 19:55:45 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030// ------------------------------------------------------------
  • trunk/source/processes/electromagnetic/xrays/include/G4TransitionRadiation.hh

    r819 r961  
    2626//
    2727// $Id: G4TransitionRadiation.hh,v 1.9 2006/06/29 19:55:47 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030// G4TransitionRadiation  -- header file
  • trunk/source/processes/electromagnetic/xrays/include/G4TransparentRegXTRadiator.hh

    r819 r961  
    2626//
    2727// $Id: G4TransparentRegXTRadiator.hh,v 1.2 2006/06/29 19:55:49 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030//
  • trunk/source/processes/electromagnetic/xrays/include/G4VTRModel.hh

    r819 r961  
    2626//
    2727// $Id: G4VTRModel.hh,v 1.3 2006/06/29 19:55:51 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030// G4VTRModel  -- header file
  • trunk/source/processes/electromagnetic/xrays/include/G4VTransitionRadiation.hh

    r819 r961  
    2626//
    2727// $Id: G4VTransitionRadiation.hh,v 1.3 2006/06/29 19:55:53 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030// G4VTransitionRadiation  -- header file
  • trunk/source/processes/electromagnetic/xrays/include/G4VXTRenergyLoss.hh

    r819 r961  
    2626//
    2727// $Id: G4VXTRenergyLoss.hh,v 1.24 2007/09/29 17:49:34 vnivanch Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030//
Note: See TracChangeset for help on using the changeset viewer.