Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
DeleteQParticle Struct Reference

#include <G4QParticleVector.hh>

Public Member Functions

void operator() (G4QParticle *aN)
 

Detailed Description

Definition at line 46 of file G4QParticleVector.hh.

Member Function Documentation

◆ operator()()

void DeleteQParticle::operator() ( G4QParticle aN)
inline

Definition at line 48 of file G4QParticleVector.hh.

49 {
50 if(aN)
51 {
52 //G4cout<<"G4QParticleVector::DeleteQParticle: aN="<<aN<<",PDG="<<aN->GetPDGCode()
53 // <<",Q="<<aN->GetQCode()<<G4endl; // TMP
54 delete aN;
55 }
56 //else G4cout<<"***G4QParticleVector::DeleteQParticle: aN="<<aN<<G4endl; // TMP
57 }

The documentation for this struct was generated from the following file: