ATLAS Offline Software
Public Member Functions | Private Attributes | Friends | List of all members
ParticleShallowClone_p1 Class Reference

#include <ParticleShallowClone_p1.h>

Collaboration diagram for ParticleShallowClone_p1:

Public Member Functions

 ParticleShallowClone_p1 ()
 Default constructor: More...
 
 ~ParticleShallowClone_p1 ()=default
 Destructor: More...
 

Private Attributes

P4PxPyPzE_p1 m_momentum
 the 4-mom part More...
 
ElementLinkInt_p3 m_masterLink
 The persistent pointer (ElementLink) to the original "master" particle. More...
 
ElementLinkInt_p3 m_originLink
 Persistent pointer (ElementLink) to the origin of this particle. More...
 
bool m_hasCharge
 Switch to tell if this particle has a charge. More...
 
float m_charge
 Value of the charge of the particle (this has real meaning, only if hasCharge() returns true) More...
 

Friends

class ParticleShallowCloneCnv_p1
 

Detailed Description

Definition at line 27 of file ParticleShallowClone_p1.h.

Constructor & Destructor Documentation

◆ ParticleShallowClone_p1()

ParticleShallowClone_p1::ParticleShallowClone_p1 ( )
inline

Default constructor:

Definition at line 79 of file ParticleShallowClone_p1.h.

80  : m_hasCharge(false),
81  m_charge(0)
82 {}

◆ ~ParticleShallowClone_p1()

ParticleShallowClone_p1::~ParticleShallowClone_p1 ( )
default

Destructor:

Friends And Related Function Documentation

◆ ParticleShallowCloneCnv_p1

friend class ParticleShallowCloneCnv_p1
friend

Definition at line 34 of file ParticleShallowClone_p1.h.

Member Data Documentation

◆ m_charge

float ParticleShallowClone_p1::m_charge
private

Value of the charge of the particle (this has real meaning, only if hasCharge() returns true)

Definition at line 69 of file ParticleShallowClone_p1.h.

◆ m_hasCharge

bool ParticleShallowClone_p1::m_hasCharge
private

Switch to tell if this particle has a charge.

Definition at line 64 of file ParticleShallowClone_p1.h.

◆ m_masterLink

ElementLinkInt_p3 ParticleShallowClone_p1::m_masterLink
private

The persistent pointer (ElementLink) to the original "master" particle.

Definition at line 58 of file ParticleShallowClone_p1.h.

◆ m_momentum

P4PxPyPzE_p1 ParticleShallowClone_p1::m_momentum
private

the 4-mom part

Definition at line 55 of file ParticleShallowClone_p1.h.

◆ m_originLink

ElementLinkInt_p3 ParticleShallowClone_p1::m_originLink
private

Persistent pointer (ElementLink) to the origin of this particle.

Definition at line 61 of file ParticleShallowClone_p1.h.


The documentation for this class was generated from the following file:
ParticleShallowClone_p1::m_hasCharge
bool m_hasCharge
Switch to tell if this particle has a charge.
Definition: ParticleShallowClone_p1.h:64
ParticleShallowClone_p1::m_charge
float m_charge
Value of the charge of the particle (this has real meaning, only if hasCharge() returns true)
Definition: ParticleShallowClone_p1.h:69