CMS 3D CMS Logo

DummyChargeFlipProcess.h
Go to the documentation of this file.
1 
2 #ifndef DummyChargeFlipProcess_h
3 #define DummyChargeFlipProcess_h 1
4 
5 #include "globals.hh"
6 #include "G4HadronicProcess.hh"
7 #include "G4CrossSectionDataStore.hh"
8 #include "G4HadronElasticDataSet.hh"
9 #include "G4Element.hh"
10 #include "G4ElementVector.hh"
11 #include "G4VDiscreteProcess.hh"
12 #include "G4LightMedia.hh"
13 #include "G4Step.hh"
14 #include "G4TrackStatus.hh"
15 
16 #include <iostream>
17 
18 class DummyChargeFlipProcess : public G4HadronicProcess
19 {
20 public:
21 
22  DummyChargeFlipProcess(const G4String& processName = "Dummy");
23 
25 
26  G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep);
27 
28 
29  G4bool IsApplicable(const G4ParticleDefinition& aParticleType);
30 
31  void BuildPhysicsTable(const G4ParticleDefinition& aParticleType);
32 
33  void DumpPhysicsTable(const G4ParticleDefinition& aParticleType);
34 
35 private:
36 
37  G4double GetMicroscopicCrossSection(const G4DynamicParticle* aParticle,
38  const G4Element* anElement,
39  G4double aTemp);
40 
41 };
42 #endif
void DumpPhysicsTable(const G4ParticleDefinition &aParticleType)
G4double GetMicroscopicCrossSection(const G4DynamicParticle *aParticle, const G4Element *anElement, G4double aTemp)
DummyChargeFlipProcess(const G4String &processName="Dummy")
void BuildPhysicsTable(const G4ParticleDefinition &aParticleType)
G4bool IsApplicable(const G4ParticleDefinition &aParticleType)
G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep)