CMS 3D CMS Logo

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

#include <CustomParticle.h>

Inheritance diagram for CustomParticle:

Public Member Functions

 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)
 
G4ParticleDefinition * GetCloud ()
 
G4ParticleDefinition * GetSpectator ()
 
void SetCloud (G4ParticleDefinition *theCloud)
 
void SetSpectator (G4ParticleDefinition *theSpectator)
 
 ~CustomParticle () override
 

Private Attributes

G4ParticleDefinition * m_cloud
 
G4ParticleDefinition * m_spec
 

Detailed Description

Definition at line 11 of file CustomParticle.h.

Constructor & Destructor Documentation

◆ 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 at line 7 of file CustomParticle.cc.

24  : G4ParticleDefinition(aName,
25  mass,
26  width,
27  charge,
28  iSpin,
29  iParity,
30  iConjugation,
31  iIsospin,
32  iIsospin3,
33  gParity,
34  pType,
35  lepton,
36  baryon,
37  encoding,
38  stable,
39  lifetime,
40  decaytable) {}

◆ ~CustomParticle()

CustomParticle::~CustomParticle ( )
inlineoverride

Definition at line 40 of file CustomParticle.h.

40 {}

Member Function Documentation

◆ GetCloud()

G4ParticleDefinition * CustomParticle::GetCloud ( )
inline

Definition at line 44 of file CustomParticle.h.

44 { return m_cloud; }

References m_cloud.

Referenced by FullModelHadronicProcess::PostStepDoIt().

◆ GetSpectator()

G4ParticleDefinition * CustomParticle::GetSpectator ( )
inline

Definition at line 46 of file CustomParticle.h.

46 { return m_spec; }

References m_spec.

Referenced by FullModelHadronicProcess::PostStepDoIt().

◆ SetCloud()

void CustomParticle::SetCloud ( G4ParticleDefinition *  theCloud)
inline

Definition at line 43 of file CustomParticle.h.

43 { m_cloud = theCloud; }

References m_cloud.

Referenced by CustomParticleFactory::addCustomParticle().

◆ SetSpectator()

void CustomParticle::SetSpectator ( G4ParticleDefinition *  theSpectator)
inline

Definition at line 45 of file CustomParticle.h.

45 { m_spec = theSpectator; }

References m_spec.

Referenced by CustomParticleFactory::addCustomParticle().

Member Data Documentation

◆ m_cloud

G4ParticleDefinition* CustomParticle::m_cloud
private

Definition at line 32 of file CustomParticle.h.

Referenced by GetCloud(), and SetCloud().

◆ m_spec

G4ParticleDefinition* CustomParticle::m_spec
private

Definition at line 33 of file CustomParticle.h.

Referenced by GetSpectator(), and SetSpectator().

ApeEstimator_cff.width
width
Definition: ApeEstimator_cff.py:24
CustomParticle::m_spec
G4ParticleDefinition * m_spec
Definition: CustomParticle.h:33
CustomParticle::m_cloud
G4ParticleDefinition * m_cloud
Definition: CustomParticle.h:32
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
TopDecayID::stable
static const int stable
Definition: TopGenEvent.h:10