~ajdobbs/maus/rootfitter

« back to all changes in this revision

Viewing changes to doc/doc_src/api.tex

  • Committer: Adam Dobbs
  • Date: 2017-02-28 17:58:27 UTC
  • mfrom: (1149.2.21 maus-primarychain)
  • Revision ID: phuccj@gmail.com-20170228175827-vhunrks5hzqsayb5
Merge: global recon updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
\subsection{Global Object Initialisation}
93
93
Global objects are initialised before any modules in Go.py and deleted after all modules are deathed. Global object initialisation and destruction is handled at the Job level by \verb|src/common_cpp/Globals/GlobalManager.hh| and called in python via \verb|maus_cpp.globals| as above.
94
94
 
95
 
Run-by-run initialisation is handled by the RunActionManager, defined in \verb|src/common_cpp/Utils/RunActionManager.hh|. The RunActionManager holds a list of objects inheriting from \verb|RunActionBase| each of which defines functions to call at the start and end of each run.
 
95
Run-by-run initialisation is handled by the RunActionManager, defined in\linebreak\verb|src/common_cpp/Utils/RunActionManager.hh|. The RunActionManager holds a list of objects inheriting from \verb|RunActionBase| each of which defines functions to call at the start and end of each run.
96
96
 
97
97
\section{Internal Classes}
98
98
The following classes and namespaces are used to provide an interface between
137
137
      conversion from one type to another
138
138
\item \verb|src/common_cpp/Converter/DataConverters| provides implementations
139
139
      of the data conversions
140
 
\item \verb|src/common_cpp/Converter/ConverterFactory| provides a function like
 
140
\item \verb|src/common_cpp/Converter/ConverterFactory| provides a function like\linebreak
141
141
      \verb|TYPE2* convert<TYPE1, TYPE2>(TYPE1* data)| with implementations for
142
142
      each of the types. This then provides explicit conversion (i.e. where both
143
143
      input and output types are known.
148
148
\item \verb|src/common_cpp/API/PyWrapMapBase| calls unwrap based on the type
149
149
      stored in the \verb|PyObject*|.
150
150
\end{itemize}
151
 
 
152