Hello there,
Im getting energy from each stepping action and Sensitive detecotr, but data is different from ech other (i know that in stepping action is correct data).
Processing: Example.zip…
DetectorSD.cc (1.0 KB)
B1DetectorConstruction.cc (9.2 KB)
DetectorSD.hh (487 Bytes)
B1DetectorConstruction.hh (740 Bytes)
Here my Sensetive class and detector construction class there Edep_Z and Edep_Z_SD is for stepping and SD.
I dont what problem is, geometry is simple, sd class is just one quantity.