CMS 3D CMS Logo

List of all members | Static Public Member Functions | Private Member Functions | Static Private Attributes
G4APrime Class Reference

#include <G4APrime.h>

Inheritance diagram for G4APrime:

Static Public Member Functions

static G4APrimeAPrime (double apmass=1000)
 

Private Member Functions

 G4APrime (const G4String &Name, 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)
 
 ~G4APrime () override
 

Static Private Attributes

static G4APrimetheAPrime = nullptr
 

Detailed Description

Definition at line 13 of file G4APrime.h.

Constructor & Destructor Documentation

G4APrime::G4APrime ( const G4String &  Name,
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 
)
private

Definition at line 6 of file G4APrime.cc.

Referenced by APrime().

23  : G4ParticleDefinition(aName,
24  mass,
25  width,
26  charge,
27  iSpin,
28  iParity,
29  iConjugation,
30  iIsospin,
31  iIsospin3,
32  gParity,
33  pType,
34  lepton,
35  baryon,
36  encoding,
37  stable,
38  lifetime,
39  decaytable) {}
static const int stable
Definition: TopGenEvent.h:11
G4APrime::~G4APrime ( )
overrideprivate

Definition at line 41 of file G4APrime.cc.

41 {}

Member Function Documentation

G4APrime * G4APrime::APrime ( double  apmass = 1000)
static

Definition at line 43 of file G4APrime.cc.

References ALCARECOTkAlJpsiMuMu_cff::charge, G4APrime(), ResonanceBuilder::mass, MeV, dataset::name, TopDecayID::stable, theAPrime, and ApeEstimator_cff::width.

Referenced by APrimePhysics::ConstructParticle(), G4muDarkBremsstrahlung::G4muDarkBremsstrahlung(), and G4muDarkBremsstrahlungModel::G4muDarkBremsstrahlungModel().

43  {
44  if (!theAPrime) {
45  const G4String& name = "A^1";
46  G4double mass = apmass * MeV;
47  G4double width = 0.;
48  G4double charge = 0;
49  G4int iSpin = 0;
50  G4int iParity = 0;
51  G4int iConjugation = 0;
52  G4int iIsospin = 0;
53  G4int iIsospin3 = 0;
54  G4int gParity = 0;
55  const G4String& pType = "APrime";
56  G4int lepton = 0;
57  G4int baryon = 0;
58  G4int encoding = 9994;
59  G4bool stable = true;
60  G4double lifetime = -1;
61  G4DecayTable* decaytable = nullptr;
62 
63  theAPrime = new G4APrime(name,
64  mass,
65  width,
66  charge,
67  iSpin,
68  iParity,
69  iConjugation,
70  iIsospin,
71  iIsospin3,
72  gParity,
73  pType,
74  lepton,
75  baryon,
76  encoding,
77  stable,
78  lifetime,
79  decaytable);
80  }
81  return theAPrime;
82 }
static const int stable
Definition: TopGenEvent.h:11
G4APrime(const G4String &Name, 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: G4APrime.cc:6
const double MeV
static G4APrime * theAPrime
Definition: G4APrime.h:15

Member Data Documentation

G4APrime * G4APrime::theAPrime = nullptr
staticprivate

Definition at line 15 of file G4APrime.h.

Referenced by APrime().