DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
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 #ifndef DDG4_PLUGINS_GEANT4EXTRAPARTICLES_H
7 #define DDG4_PLUGINS_GEANT4EXTRAPARTICLES_H 1
8 
10 
11 // geant4
12 #include <G4ProcessManager.hh>
13 #include <G4Decay.hh>
14 #include <G4hIonisation.hh>
15 #include <G4hMultipleScattering.hh>
16 #include <G4ParticleTable.hh>
17 
19 namespace dd4hep {
20 
22  namespace sim {
23 
25 
31  public:
33  Geant4ExtraParticles(Geant4Context* ctxt, const std::string& nam);
37  virtual void constructProcess(Constructor& ctor);
39  virtual void constructParticle(Constructor& ctor);
40 
41  private:
42  std::string m_pdgfile;
43  };
44  }
45 }
46 #endif
47 
dd4hep::sim::Geant4PhysicsConstructor::Constructor
Helper class to be used by cleints, by NOT overloaded!
Definition: Geant4PhysicsConstructor.h:61
Geant4PhysicsConstructor.h
Geant4ExtraParticles
PhysicsConstructor to add additional particles to geant.
dd4hep::sim::Geant4ExtraParticles::Geant4ExtraParticles
Geant4ExtraParticles(Geant4Context *ctxt, const std::string &nam)
Standard constructor with initailization parameters.
dd4hep::sim::Geant4ExtraParticles::constructProcess
virtual void constructProcess(Constructor &ctor)
Callback to construct processes (uses the G4 particle table)
dd4hep::sim::Geant4ExtraParticles::constructParticle
virtual void constructParticle(Constructor &ctor)
Callback to construct particles.
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
dd4hep::sim::Geant4ExtraParticles::~Geant4ExtraParticles
virtual ~Geant4ExtraParticles()
Default destructor.
dd4hep::sim::Geant4ExtraParticles::m_pdgfile
std::string m_pdgfile
Definition: Geant4ExtraParticles.h:42
dd4hep::sim::Geant4PhysicsConstructor
Implementation base of a Geant4 physics constructor.
Definition: Geant4PhysicsConstructor.h:49
dd4hep::sim::Geant4Context
Generic context to extend user, run and event information.
Definition: Geant4Context.h:201