Belle II Software  release-05-01-25
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 38 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 22 of file G4LongLivedNeutral.cc.

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

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