Geant4
9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4QPDGToG4Particle.hh
Go to the documentation of this file.
1
//
2
// ********************************************************************
3
// * License and Disclaimer *
4
// * *
5
// * The Geant4 software is copyright of the Copyright Holders of *
6
// * the Geant4 Collaboration. It is provided under the terms and *
7
// * conditions of the Geant4 Software License, included in the file *
8
// * LICENSE and available at http://cern.ch/geant4/license . These *
9
// * include a list of copyright holders. *
10
// * *
11
// * Neither the authors of this software system, nor their employing *
12
// * institutes,nor the agencies providing financial support for this *
13
// * work make any representation or warranty, express or implied, *
14
// * regarding this software system or assume any liability for its *
15
// * use. Please see the license in the file LICENSE and URL above *
16
// * for the full disclaimer and the limitation of liability. *
17
// * *
18
// * This code implementation is the result of the scientific and *
19
// * technical work of the GEANT4 collaboration. *
20
// * By using, copying, modifying or distributing the software (or *
21
// * any work based on the software) you agree to acknowledge its *
22
// * use in resulting scientific publications, and indicate your *
23
// * acceptance of all terms of the Geant4 Software license. *
24
// ********************************************************************
25
//
26
// $Id$
27
//
28
// ---------------- G4QPDGToG4Particle header ----------------
29
// by Mikhail Kossov, December 2003.
30
// Header of the singletone class of the CHIPS Simulation Branch in GEANT4
31
// ------------------------------------------------------------------------
32
// ****************************************************************************************
33
// ********* This HEADER is temporary moved from the photolepton_hadron directory *********
34
// ******* DO NOT MAKE ANY CHANGE! With time it'll move back to photolepton...(M.K.) ******
35
// ****************************************************************************************
36
// Short description: This is a helper class, which converts the PDG-defined
37
// G4QHadrons of the CHIPS model to the G4 particles, defined by the singetones.
38
// -----------------------------------------------------------------------------
39
40
#ifndef G4QPDGToG4Particle_hh
41
#define G4QPDGToG4Particle_hh
42
43
#include "
globals.hh
"
44
#include "
G4ios.hh
"
45
#include "
G4ParticleTypes.hh
"
46
#include "
G4ParticleDefinition.hh
"
47
48
class
G4QPDGToG4Particle
49
{
50
// Constructor/Destructor
51
protected
:
52
G4QPDGToG4Particle
();
// the Default Construction is protected - Singelton
53
public
:
54
~G4QPDGToG4Particle
();
// Destructor is public because of Windows compilation error
55
56
// Member Functions
57
58
public
:
59
// Pointers to Particles of the Singeltone of the CHIPS World
60
static
G4QPDGToG4Particle
*
Get
();
61
G4ParticleDefinition
*
GetParticleDefinition
(
G4int
PDGCode);
62
void
DefineAllParticles
();
63
64
// Body
65
private
:
66
};
67
#endif
G4ParticleDefinition.hh
G4ParticleTypes.hh
G4int
int G4int
Definition:
G4Types.hh:66
G4ios.hh
G4ParticleDefinition
Definition:
G4ParticleDefinition.hh:68
G4QPDGToG4Particle
Definition:
G4QPDGToG4Particle.hh:49
G4QPDGToG4Particle::DefineAllParticles
void DefineAllParticles()
Definition:
G4QPDGToG4Particle.cc:360
G4QPDGToG4Particle::G4QPDGToG4Particle
G4QPDGToG4Particle()
Definition:
G4QPDGToG4Particle.cc:47
G4QPDGToG4Particle::~G4QPDGToG4Particle
~G4QPDGToG4Particle()
Definition:
G4QPDGToG4Particle.cc:52
G4QPDGToG4Particle::GetParticleDefinition
G4ParticleDefinition * GetParticleDefinition(G4int PDGCode)
Definition:
G4QPDGToG4Particle.cc:63
G4QPDGToG4Particle::Get
static G4QPDGToG4Particle * Get()
Definition:
G4QPDGToG4Particle.cc:57
globals.hh
geant4-v9.6.0
source
processes
hadronic
models
chiral_inv_phase_space
processes
include
G4QPDGToG4Particle.hh
Generated by
1.9.6