Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4UserParticle.cxx
Go to the documentation of this file.
1//------------------------------------------------
2// The Geant4 Virtual Monte Carlo package
3// Copyright (C) 2007 - 2014 Ivana Hrivnacova
4// All rights reserved.
5//
6// For the licensing terms see geant4_vmc/LICENSE.
7// Contact: root-vmc@cern.ch
8//-------------------------------------------------
9
14
15#include "TG4UserParticle.h"
16
17//_____________________________________________________________________________
18TG4UserParticle::TG4UserParticle(const G4String& name, TMCParticleType mcType,
19 G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity,
20 G4int iConjugation, G4int iIsospin, G4int iIsospin3, G4int gParity,
21 const G4String& pType, G4int lepton, G4int baryon, G4int encoding,
22 G4bool stable, G4double lifetime, G4DecayTable* decaytable, G4bool shortlived,
23 const G4String& subType, G4int anti_encoding, G4double magneticMoment,
24 G4double excitation)
25 : G4ParticleDefinition(name, mass, width, charge, iSpin, iParity,
26 iConjugation, iIsospin, iIsospin3, gParity, pType, lepton, baryon,
27 encoding, stable, lifetime, decaytable, shortlived, subType,
28 anti_encoding, magneticMoment),
29 fMCType(mcType),
30 fExcitationEnergy(excitation)
31{
33}
34
Definition of the TG4UserParticle class.
TG4UserParticle()
Not implemented.
virtual ~TG4UserParticle()