<div dir="ltr">Hi Everyone<div><br></div><div>I was wondering if it is possible to use the TrackLengthActor to find the track length inside a specific volume, and not the track length in the entire simulation. I tried to attach the actor to the volume I want to measure the track length within (pixel), and then I add a particle filter for protons since I only want to know the track length of protons within the pixel volume. The script I have used below does not seem to give me the track length of protons inside the pixel volume, it seems to give the entire track lengths of protons in the simulation. Is it possible to do what I want?</div><div><br></div><div>/gate/actor/addActor  TrackLengthActor                                         protonTrackActor<br>/gate/actor/protonTrackActor/attachTo                                         pixel<br>/gate/actor/protonTrackActor/addFilter                         particleFilter<br>/gate/actor/protonTrackActor/particleFilter/addParticle        proton<br><br>/gate/actor/protonTrackActor/save                            protonTrack_{absorberThickness}.root<br>/gate/actor/protonTrackActor/setLmin                              0 mm<br>/gate/actor/protonTrackActor/setLmax                              1 mm<br>/gate/actor/protonTrackActor/setNumberOfBins                  100<br></div><div><br></div><div><br></div><div>Best Regards </div><div>Andreas</div></div>