]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TGeant4/TG4PhysicsConstructorEM.h
Enable creation of fast rec points for ITS, when input argument for ITS = 2.
[u/mrichter/AliRoot.git] / TGeant4 / TG4PhysicsConstructorEM.h
index 541664e70c1e2daa898aa58ccb962454d2668f4a..1193632c697d9f0b4177feed4a823bb5d45678e0 100644 (file)
@@ -7,18 +7,28 @@
 // -----------------------------
 // Constructor of electromagnetic physics.
 // According to the corresponding part of:
-// ExN04PhysicsList.hh, GEANT4 tag Name: geant4-01-01
+// ExN04PhysicsList.hh, GEANT4 tag Name: geant4-03-02
 
 #ifndef TG4_PHYSICS_CONSTRUCTOR_EM_H
 #define TG4_PHYSICS_CONSTRUCTOR_EM_H
 
-#include <G4VPhysicsConstructor.hh>
+#include "TG4VPhysicsConstructor.h"
+
+#include <G4PhotoElectricEffect.hh>
+#include <G4ComptonScattering.hh>
+#include <G4GammaConversion.hh>
+#include <G4MultipleScattering.hh>
+#include <G4eIonisation.hh>
+#include <G4eBremsstrahlung.hh>
+#include <G4eplusAnnihilation.hh>
 #include <globals.hh>
 
-class TG4PhysicsConstructorEM: public G4VPhysicsConstructor
+class TG4PhysicsConstructorEM: public TG4VPhysicsConstructor
 {
   public:
-    TG4PhysicsConstructorEM(const G4String& name = "EM");
+    TG4PhysicsConstructorEM(const G4String& name = "EM"); 
+    TG4PhysicsConstructorEM(G4int verboseLevel, 
+                            const G4String& name = "EM");
     virtual ~TG4PhysicsConstructorEM();
 
   protected:
@@ -26,6 +36,29 @@ class TG4PhysicsConstructorEM: public G4VPhysicsConstructor
           // construct particle and physics
     virtual void ConstructParticle();
     virtual void ConstructProcess();
+
+    // data members
+            // Gamma physics
+    G4PhotoElectricEffect fPhotoEffect;               //gamma photoeffect
+    G4ComptonScattering   fComptonEffect;             //Compton scattering
+    G4GammaConversion     fPairProduction;            //gamma pair production
+     
+            // Electron physics
+    G4MultipleScattering  fElectronMultipleScattering;//e- multiple scattering
+    G4eIonisation         fElectronIonisation;        //e- ionization 
+    G4eBremsstrahlung     fElectronBremsStrahlung;    //e- Bremsstrahlung
+  
+            //Positron physics
+    G4MultipleScattering  fPositronMultipleScattering;//e+ multiple scattering
+    G4eIonisation         fPositronIonisation;        //e+ ionisation
+    G4eBremsstrahlung     fPositronBremsStrahlung;    //e+ Bremsstrahlung
+    G4eplusAnnihilation   fAnnihilation;              //e+ annihilation
+    
+  private:
+    // methods
+    void ConstructProcessForGamma();    
+    void ConstructProcessForElectron();    
+    void ConstructProcessForPositron();    
 };
 
 #endif //TG4_PHYSICS_CONSTRUCTOR_H