CMS 3D CMS Logo

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