Import Geant4 11.2.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2023-06-30 09:09:57 +02:00
parent aef78ca386
commit dd1f179cda
3780 changed files with 212808 additions and 142780 deletions
+1 -1
View File
@@ -149,8 +149,8 @@ void EventAction::EndOfEventAction(const G4Event* event)
auto eventID = event->GetEventID();
auto printModulo = G4RunManager::GetRunManager()->GetPrintProgress();
if ( ( printModulo > 0 ) && ( eventID % printModulo == 0 ) ) {
G4cout << "---> End of event: " << eventID << G4endl;
PrintEventStatistics(absoEdep, absoTrackLength, gapEdep, gapTrackLength);
G4cout << "--> End of event: " << eventID << "\n" << G4endl;
}
}
@@ -56,7 +56,7 @@ PrimaryGeneratorAction::PrimaryGeneratorAction()
= G4ParticleTable::GetParticleTable()->FindParticle("e-");
fParticleGun->SetParticleDefinition(particleDefinition);
fParticleGun->SetParticleMomentumDirection(G4ThreeVector(0.,0.,1.));
fParticleGun->SetParticleEnergy(50.*MeV);
fParticleGun->SetParticleEnergy(300.*MeV);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
+3 -3
View File
@@ -61,9 +61,9 @@ RunAction::RunAction()
//
// Creating histograms
analysisManager->CreateH1("Eabs","Edep in absorber", 100, 0., 800*MeV);
analysisManager->CreateH1("Egap","Edep in gap", 100, 0., 100*MeV);
analysisManager->CreateH1("Labs","trackL in absorber", 100, 0., 1*m);
analysisManager->CreateH1("Eabs","Edep in absorber", 110, 0., 330*MeV);
analysisManager->CreateH1("Egap","Edep in gap", 100, 0., 30*MeV);
analysisManager->CreateH1("Labs","trackL in absorber", 100, 0., 50*cm);
analysisManager->CreateH1("Lgap","trackL in gap", 100, 0., 50*cm);
// Creating ntuple