Geant4
10.03
|
#include <ML2SDWithParticle.hh>
Private Member Functions | |
void | saveDataParticles (G4int nParticle) |
void | saveHeaderParticles () |
Additional Inherited Members | |
Protected Member Functions inherited from G4VSensitiveDetector | |
virtual G4int | GetCollectionID (G4int i) |
Protected Attributes inherited from G4VSensitiveDetector | |
G4CollectionNameVector | collectionName |
G4String | SensitiveDetectorName |
G4String | thePathName |
G4String | fullPathName |
G4int | verboseLevel |
G4bool | active |
G4VReadOutGeometry * | ROgeometry |
G4VSDFilter * | filter |
Definition at line 55 of file ML2SDWithParticle.hh.
CML2SDWithParticle::CML2SDWithParticle | ( | ) |
Definition at line 48 of file ML2SDWithParticle.cc.
References bActive, bStopAtPhaseSpace, idSD_KillerPlane, idType, and nTotalParticles.
CML2SDWithParticle::CML2SDWithParticle | ( | G4int | idType, |
G4int | max_N_particles_in_PhSp_File, | ||
G4int | seed, | ||
G4int | nMaxParticlesInRamPhaseSpace, | ||
G4String | name, | ||
G4String | PhaseSpaceOutFile, | ||
G4bool | bSavePhaseSpace, | ||
G4bool | bStopAtVolatilePhaseSpace, | ||
SPrimaryParticle * | primaryParticleData, | ||
G4double | accTargetZPosition | ||
) |
Definition at line 57 of file ML2SDWithParticle.cc.
References a, accTargetZPosition, bActive, bSavePhaseSpace, bStopAtPhaseSpace, fullOutFileData, idType, max_N_particles_in_PhSp_File, nMaxParticlesInRamPhaseSpace, nParticle, nTotalParticles, particles, and primaryParticleData.
CML2SDWithParticle::~CML2SDWithParticle | ( | void | ) |
Definition at line 83 of file ML2SDWithParticle.cc.
References particles.
|
inline |
Definition at line 63 of file ML2SDWithParticle.hh.
Referenced by CML2PhaseSpaces::getCML2SensitiveDetectorParticle().
|
inline |
Definition at line 64 of file ML2SDWithParticle.hh.
References particles.
|
inline |
Definition at line 62 of file ML2SDWithParticle.hh.
References nTotalParticles.
Referenced by CML2PhaseSpaces::getCML2SensDetNParticle().
|
virtual |
Implements G4VSensitiveDetector.
Definition at line 121 of file ML2SDWithParticle.cc.
References bActive, bStopAtPhaseSpace, Sparticle::dir, fStopAndKill, G4Track::GetDefinition(), CML2AcceleratorConstruction::GetInstance(), G4Track::GetKineticEnergy(), G4StepPoint::GetMomentumDirection(), G4ParticleDefinition::GetPDGEncoding(), G4StepPoint::GetPosition(), G4Step::GetPreStepPoint(), pyG4VTouchable::GetRotation, G4Step::GetTrack(), idSD_KillerPlane, idType, Sparticle::kinEnergy, max_N_particles_in_PhSp_File, nMaxParticlesInRamPhaseSpace, nParticle, Sparticle::nPrimaryPart, SPrimaryParticle::nPrimaryParticle, nTotalParticles, particles, Sparticle::partPDGE, SPrimaryParticle::partPDGE, Sparticle::pos, primaryParticleData, Sparticle::primaryParticlePDGE, saveDataParticles(), saveHeaderParticles(), G4Track::SetTrackStatus(), Sparticle::volumeId, and Sparticle::volumeName.
void CML2SDWithParticle::save | ( | ) |
Definition at line 190 of file ML2SDWithParticle.cc.
References bActive, CML2AcceleratorConstruction::GetInstance(), pyG4VTouchable::GetRotation, nParticle, and saveDataParticles().
Referenced by CML2PhaseSpaces::save().
|
private |
Definition at line 98 of file ML2SDWithParticle.cc.
References accTargetZPosition, Sparticle::dir, fullOutFileData, G4endl, Sparticle::kinEnergy, MeV, mm, Sparticle::nPrimaryPart, particles, Sparticle::partPDGE, Sparticle::pos, and Sparticle::primaryParticlePDGE.
Referenced by ProcessHits(), and save().
|
private |
Definition at line 90 of file ML2SDWithParticle.cc.
References fullOutFileData, and G4endl.
Referenced by ProcessHits().
|
inline |
Definition at line 65 of file ML2SDWithParticle.hh.
References bActive.
|
private |
Definition at line 80 of file ML2SDWithParticle.hh.
Referenced by CML2SDWithParticle(), and saveDataParticles().
|
private |
Definition at line 78 of file ML2SDWithParticle.hh.
Referenced by CML2SDWithParticle(), ProcessHits(), save(), and setActive().
|
private |
Definition at line 78 of file ML2SDWithParticle.hh.
Referenced by CML2SDWithParticle().
|
private |
Definition at line 78 of file ML2SDWithParticle.hh.
Referenced by CML2SDWithParticle(), and ProcessHits().
|
private |
Definition at line 75 of file ML2SDWithParticle.hh.
Referenced by CML2SDWithParticle(), saveDataParticles(), and saveHeaderParticles().
|
private |
Definition at line 71 of file ML2SDWithParticle.hh.
|
private |
Definition at line 77 of file ML2SDWithParticle.hh.
Referenced by CML2SDWithParticle(), and ProcessHits().
|
private |
Definition at line 77 of file ML2SDWithParticle.hh.
Referenced by CML2SDWithParticle(), and ProcessHits().
|
private |
Definition at line 77 of file ML2SDWithParticle.hh.
Referenced by CML2SDWithParticle(), and ProcessHits().
|
private |
Definition at line 76 of file ML2SDWithParticle.hh.
Referenced by CML2SDWithParticle(), ProcessHits(), and save().
|
private |
Definition at line 76 of file ML2SDWithParticle.hh.
Referenced by CML2SDWithParticle(), getTotalNumberOfParticles(), and ProcessHits().
|
private |
Definition at line 74 of file ML2SDWithParticle.hh.
Referenced by CML2SDWithParticle(), getParticle(), ProcessHits(), saveDataParticles(), and ~CML2SDWithParticle().
|
private |
Definition at line 72 of file ML2SDWithParticle.hh.
|
private |
Definition at line 73 of file ML2SDWithParticle.hh.
Referenced by CML2SDWithParticle(), and ProcessHits().