Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4PhenixSteppingAction.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4PhenixSteppingAction.cc
2 #include "PHG4SteppingAction.h"
3 
5 {
6  while (actions_.begin() != actions_.end())
7  {
8  delete actions_.back();
9  actions_.pop_back();
10  }
11 }
12 
13 
14 //_________________________________________________________________
16 {
17  // loop over registered actions, and process
18  bool hit_was_used = false;
19  for( ActionList::const_iterator iter = actions_.begin(); iter != actions_.end(); ++iter )
20  {
21  if(*iter)
22  {
23  hit_was_used |= (*iter)->UserSteppingAction( aStep, hit_was_used );
24  }
25  }
26 
27 }