Yes…I checked the stepping action, there is the “c”
but for other run, I read alll the current runs and the log ends with the root file closing!
Yest it is the crossing geometry CoupledTransportation
Now I tried to write
auto proc_man = step->GetTrack()->GetParticleDefinition()->GetProcessManager();
G4String proc_name = step->GetPreStepPoint()->GetProcessDefinedStep()->GetProcessName();
// G4cout << "Process " << proc_name << G4endl;
G4int n_scint = 0;
if(proc_name == "Scintillation"){
G4Scintillation* scint = new G4Scintillation("Scintillation");
n_scint = scint->GetNumPhotons();
analysisManager->FillNtupleDColumn(8,0, n_scint);
analysisManager->AddNtupleRow(8);
}
out of the “if”… and to save the scintillation photons in a new root ttree…I simulated 3*10^6 electrons, but I don’t get scintillation photons…
I really don’t understand…