Belle II Software  release-08-01-10
G4LongLivedNeutral Class Reference

A class to hold long-lived neutral particle description. More...

#include <G4LongLivedNeutral.h>

Inheritance diagram for G4LongLivedNeutral:
Collaboration diagram for G4LongLivedNeutral:

Public Member Functions

 G4LongLivedNeutral (const G4String &name)
 Constructor. More...
 

Private Member Functions

virtual ~G4LongLivedNeutral ()
 Destructor.
 

Detailed Description

A class to hold long-lived neutral particle description.

Creates a GEANT4 particle via G4ParticleDefinition Intended use is to let Geant 4 propagate a neutral long lived particle with defined mass and pdg value without interaction and decay it to pre-assigned decay products at a time sampled from the lifetime of the generated MCParticle. Production and decay of long-lived neutral particles should be handled by the generator.

Definition at line 28 of file G4LongLivedNeutral.h.

Constructor & Destructor Documentation

◆ G4LongLivedNeutral()

G4LongLivedNeutral ( const G4String &  name)
explicit

Constructor.

Parameters
nameName of the neutral long-lived particle in GEANT4.

Definition at line 20 of file G4LongLivedNeutral.cc.

23  : G4ParticleDefinition(name, 0, 0.0 * MeV, 0,
24  0, 0, 0,
25  0, 0, 0,
26  "scalar", 0.0, 0, 0,
27  false, 0, 0)
28 //Arguments for constructor are as follows
29 // name mass width charge
30 // 2*spin parity C-conjugation
31 // 2*Isospin 2*Isospin3 G-parity
32 // type lepton_number baryon_number PDG_encoding
33 // stable lifetime decay_table
34 {
35 
36  B2DEBUG(0, "neutral long-lived particle created: m(MeV)= " << this->GetPDGMass());
37 
38 }

The documentation for this class was generated from the following files: