File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,10 @@ struct StepInfo {
183183 int nsecondaries = 0 ;
184184 int prodprocess = -1 ; // prod process of current track
185185 int nprocessesactive = 0 ; // number of active processes
186- bool stopped = false ; //
186+ bool stopped = false ; // if track was stopped during last step
187+ bool entered = false ; // if track entered volume during last step
188+ bool exited = false ; // if track exited volume during last step
189+ bool newtrack = false ; // if track is new
187190 bool insensitiveRegion = false ; // whether step done in sensitive region
188191
189192 const char * getProdProcessAsString () const ;
Original file line number Diff line number Diff line change @@ -126,6 +126,9 @@ StepInfo::StepInfo(TVirtualMC* mc)
126126
127127 // was track stopped due to energy limit ??
128128 stopped = mc->IsTrackStop ();
129+ exited = mc->IsTrackExiting ();
130+ entered = mc->IsTrackEntering ();
131+ newtrack = mc->IsNewTrack ();
129132}
130133
131134const char * StepInfo::getProdProcessAsString () const {
You can’t perform that action at this time.
0 commit comments