ATLAS Offline Software
ExtraParticles/src/CustomParticle.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "CustomParticle.hh"
6 
7 // ######################################################################
8 // ### CustomParticle ###
9 // ######################################################################
10 
11 using namespace ExtraParticles;
12 
13 CustomParticle::CustomParticle(const G4String &name, G4double mass,
14  G4double width, G4int charge, G4int pdg,
15  G4bool stable, G4double lifetime)
16 
17  // Arguments for constructor are as follows
18  // name mass width charge
19  // 2*spin parity C-conjugation
20  // 2*Isospin 2*Isospin3 G-parity
21  // type lepton number baryon number PDG encoding
22  // stable lifetime decay table
23  // shortlived subType anti_encoding
24 
25  : G4ParticleDefinition(name, mass, width, charge,
26  0, 0, 0,
27  0, 0, 0,
28  "extra", 0, 0, pdg,
29  stable, lifetime, NULL,
30  false) {}
CustomParticle::CustomParticle
CustomParticle(const G4String &aName, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospin3, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable)
Definition: ExtraParticles/src/CustomParticle.cxx:13
dqt_zlumi_pandas.mass
mass
Definition: dqt_zlumi_pandas.py:170
MCTruthPartClassifier::stable
@ stable
Definition: TruthClassifiers.h:148
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
charge
double charge(const T &p)
Definition: AtlasPID.h:494
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59