G4ChargedGeantino Class Reference

#include <G4ChargedGeantino.hh>

Inheritance diagram for G4ChargedGeantino:

G4ParticleDefinition

Public Member Functions

 ~G4ChargedGeantino ()

Static Public Member Functions

static G4ChargedGeantinoDefinition ()
static G4ChargedGeantinoChargedGeantinoDefinition ()
static G4ChargedGeantinoChargedGeantino ()

Detailed Description

Definition at line 50 of file G4ChargedGeantino.hh.


Constructor & Destructor Documentation

G4ChargedGeantino::~G4ChargedGeantino (  )  [inline]

Definition at line 59 of file G4ChargedGeantino.hh.

00059 {}


Member Function Documentation

G4ChargedGeantino * G4ChargedGeantino::ChargedGeantino (  )  [static]

Definition at line 87 of file G4ChargedGeantino.cc.

References Definition().

00088 {
00089   return Definition();
00090 }

G4ChargedGeantino * G4ChargedGeantino::ChargedGeantinoDefinition (  )  [static]

Definition at line 82 of file G4ChargedGeantino.cc.

References Definition().

Referenced by G4BosonConstructor::ConstructParticle().

00083 {
00084   return Definition();
00085 }

G4ChargedGeantino * G4ChargedGeantino::Definition (  )  [static]

Definition at line 49 of file G4ChargedGeantino.cc.

References G4ParticleTable::FindParticle(), G4ParticleDefinition::G4ParticleDefinition(), and G4ParticleTable::GetParticleTable().

Referenced by ChargedGeantino(), and ChargedGeantinoDefinition().

00050 {
00051   if (theInstance !=0) return theInstance;
00052 
00053   const G4String name = "chargedgeantino";
00054   // search in particle table
00055   G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
00056   G4ParticleDefinition* anInstance = pTable->FindParticle(name);
00057   if (anInstance ==0)
00058   {
00059   // create particle
00060   //      
00061   //    Arguments for constructor are as follows 
00062   //               name             mass          width         charge
00063   //             2*spin           parity  C-conjugation
00064   //          2*Isospin       2*Isospin3       G-parity
00065   //               type    lepton number  baryon number   PDG encoding
00066   //             stable         lifetime    decay table 
00067   //             shortlived      subType    anti_encoding
00068    anInstance = new G4ParticleDefinition(
00069                  name,         0.0*MeV,       0.0*MeV,   +1.*eplus, 
00070                     0,               0,             0,          
00071                     0,               0,             0,             
00072            "geantino",               0,             0,           0,
00073                  true,             0.0,          NULL,
00074                  false,     "geantino",             0
00075           );
00076   }
00077   theInstance = reinterpret_cast<G4ChargedGeantino*>(anInstance);
00078   return theInstance;
00079 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:37 2013 for Geant4 by  doxygen 1.4.7