Thank you @anna I filled the 2 Ntuples also in the B1EventAction
//fill ntupla 0
analysisManager->FillNtupleDColumn(0,11, fEdep);
analysisManager->AddNtupleRow();
// fill ntupla 1
analysisManager->FillNtupleDColumn(1,11, fEdep2Tar);
analysisManager->AddNtupleRow(1);
so, I moved this code to the SteppingAction inside the and now I get 7 events (instead of 12) and I don’t get hits @z=0.
As I said in this topic 2 circular targets 7 events is according to the verbosity, but in this way I get 0 released energy in the 2 volumes for these 7 events
Instead, in the Ntupla for the events I get 5 events and a NO 0 released energy. So I don’t understand:
- Why do I get 7 events in the stepping action and 5 in the eventsaction?
- Do I get 0 energy in the stepping action because of some error?