The Sparta Modeling Framework
|
Simple class for recursively adding taps to pevents. There is probably a more efficient way than each collector having it's own tap... But I don't think there will be many taps at all, at max 10 for any run I imagine.. More...
#include <PeventController.hpp>
Public Member Functions | |
void | cacheTap (const std::string &file, const std::string &type, const bool verbose, const std::string &node="ROOT") |
Add knowledge of a tap that will need to be created later, right now we are only parsing the command line likely. | |
void | finalize (RootTreeNode *root) |
we are done parsing the command line, and simulation is setup, propagate the tap information throug the tree. | |
void | printEventNames (std::ostream &o, TreeNode *root) |
Print out a nice listing of the pevents that we have in the model. | |
Simple class for recursively adding taps to pevents. There is probably a more efficient way than each collector having it's own tap... But I don't think there will be many taps at all, at max 10 for any run I imagine..
This controller provides support for storing tap information during command line parsing that cannot be created until later when the sparta tree has been setup.
Definition at line 17 of file PeventController.hpp.
|
inline |
Add knowledge of a tap that will need to be created later, right now we are only parsing the command line likely.
Definition at line 46 of file PeventController.hpp.
|
inline |
we are done parsing the command line, and simulation is setup, propagate the tap information throug the tree.
Definition at line 56 of file PeventController.hpp.
|
inline |
Print out a nice listing of the pevents that we have in the model.
Definition at line 87 of file PeventController.hpp.