DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Geant4ExtraParticles.h
Go to the documentation of this file.
1 //
2 // Authors: Tomohiko Tanabe <tomohiko@icepp.s.u-tokyo.ac.jp>
3 // Taikan Suehara <suehara@icepp.s.u-tokyo.ac.jp>
4 // Proted from Mokka by A.Sailer (CERN )
5 //
6 // $Id$
7 // $Name: $
8 
9 #ifndef ExtraParticles_hh
10 #define ExtraParticles_hh 1
11 
13 
14 // geant4
15 #include "G4ProcessManager.hh"
16 #include "G4Decay.hh"
17 #include "G4hIonisation.hh"
18 #include "G4hMultipleScattering.hh"
19 #include "G4ParticleTable.hh"
20 
22 namespace DD4hep {
23 
25  namespace Simulation {
26 
28  public:
30  Geant4ExtraParticles(Geant4Context* ctxt, const std::string& nam);
32  virtual ~Geant4ExtraParticles();
34  virtual void constructProcess(Constructor& ctor);
36  virtual void constructParticle(Constructor& ctor);
37 
38  private:
39  std::string m_pdgfile;
40  G4Decay* m_decay;
41  G4hIonisation* m_ionise;
42  G4hMultipleScattering* m_scatter;
43  };
44  }
45 }
46 #endif
47 
Implementation base of a Geant4 physics constructor.
Geant4ExtraParticles(Geant4Context *ctxt, const std::string &nam)
Standard constructor with initailization parameters.
virtual void constructProcess(Constructor &ctor)
Callback to construct processes (uses the G4 particle table)
Generic context to extend user, run and event information.
Helper class to be used by cleints, by NOT overloaded!
virtual void constructParticle(Constructor &ctor)
Callback to construct particles.
virtual ~Geant4ExtraParticles()
Default destructor.