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 public:
19  DummyChargeFlipProcess(const G4String& processName = "Dummy");
20 
21  ~DummyChargeFlipProcess() override;
22 
23  G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep) override;
24 
25  G4bool IsApplicable(const G4ParticleDefinition& aParticleType) override;
26 
27  void BuildPhysicsTable(const G4ParticleDefinition& aParticleType) override;
28 
29  void DumpPhysicsTable(const G4ParticleDefinition& aParticleType);
30 
31 private:
32  G4double GetMicroscopicCrossSection(const G4DynamicParticle* aParticle, const G4Element* anElement, G4double aTemp);
33 };
34 #endif
DummyChargeFlipProcess::DummyChargeFlipProcess
DummyChargeFlipProcess(const G4String &processName="Dummy")
Definition: DummyChargeFlipProcess.cc:9
DummyChargeFlipProcess::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &aParticleType) override
Definition: DummyChargeFlipProcess.cc:28
DummyChargeFlipProcess::DumpPhysicsTable
void DumpPhysicsTable(const G4ParticleDefinition &aParticleType)
Definition: DummyChargeFlipProcess.cc:35
DummyChargeFlipProcess::~DummyChargeFlipProcess
~DummyChargeFlipProcess() override
Definition: DummyChargeFlipProcess.cc:13
SimL1EmulatorRepack_CalouGT_cff.processName
processName
Definition: SimL1EmulatorRepack_CalouGT_cff.py:17
DummyChargeFlipProcess::PostStepDoIt
G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep) override
Definition: DummyChargeFlipProcess.cc:37
DummyChargeFlipProcess
Definition: DummyChargeFlipProcess.h:17
DummyChargeFlipProcess::GetMicroscopicCrossSection
G4double GetMicroscopicCrossSection(const G4DynamicParticle *aParticle, const G4Element *anElement, G4double aTemp)
Definition: DummyChargeFlipProcess.cc:22
DummyChargeFlipProcess::BuildPhysicsTable
void BuildPhysicsTable(const G4ParticleDefinition &aParticleType) override
Definition: DummyChargeFlipProcess.cc:15