SFrame 3.6
|
Base class for classes holding output variables. More...
#include <plug-ins/include/SOutputVariables.h>
Public Member Functions | |
SOutputVariables (ParentType *parent) | |
Constructor that specifies the parent cycle. | |
Protected Member Functions | |
template<typename T > | |
TBranch * | DeclareVariable (T &obj, const char *name, const char *treeName=0) throw ( SError ) |
Declare an output variable. |
Base class for classes holding output variables.
This class can be used to serve as a base class for classes whose only purpose is to collect output variables. This can make it simpler to fill the variables of an output ntuple with multiple separate code pieces.
I should note however that when using SToolBase as the basis of the code pieces calculating the output variables, one can just fill the variables in the tools directly.
Definition at line 38 of file SOutputVariables.h.
SOutputVariables< ParentType >::SOutputVariables | ( | ParentType * | parent | ) |
Constructor that specifies the parent cycle.
Definition at line 18 of file SOutputVariables.icc.
TBranch * SOutputVariables< ParentType >::DeclareVariable | ( | T & | obj, |
const char * | name, | ||
const char * | treeName = 0 |
||
) | throw ( SError ) [protected] |
Declare an output variable.
Definition at line 26 of file SOutputVariables.icc.