123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- \hypertarget{classfv_1_1ZipMapFour}{}\section{fv\+:\+:Zip\+Map\+Four$<$ R, T $>$ Class Template Reference}
- \label{classfv_1_1ZipMapFour}\index{fv\+::\+Zip\+Map\+Four$<$ R, T $>$@{fv\+::\+Zip\+Map\+Four$<$ R, T $>$}}
- Takes a set of four \hyperlink{classfv_1_1Value}{Value}$<$std\+::vector$<$\+T$>$ $>$ objects and a function of four Ts and returns a std\+::vector$<$\+R$>$.
- {\ttfamily \#include $<$value.\+hpp$>$}
- Inheritance diagram for fv\+:\+:Zip\+Map\+Four$<$ R, T $>$\+:
- \nopagebreak
- \begin{figure}[H]
- \begin{center}
- \leavevmode
- \includegraphics[width=210pt]{classfv_1_1ZipMapFour__inherit__graph}
- \end{center}
- \end{figure}
- Collaboration diagram for fv\+:\+:Zip\+Map\+Four$<$ R, T $>$\+:
- \nopagebreak
- \begin{figure}[H]
- \begin{center}
- \leavevmode
- \includegraphics[width=350pt]{classfv_1_1ZipMapFour__coll__graph}
- \end{center}
- \end{figure}
- \subsection*{Public Member Functions}
- \begin{DoxyCompactItemize}
- \item
- \hypertarget{classfv_1_1ZipMapFour_abe592d190561a6472f134c62ba124a0c}{}\label{classfv_1_1ZipMapFour_abe592d190561a6472f134c62ba124a0c}
- {\bfseries Zip\+Map\+Four} (\hyperlink{classfv_1_1Function}{Function}$<$ R(T, T, T, T)$>$ \&f, \hyperlink{classfv_1_1Value}{Value}$<$ std\+::vector$<$ T $>$ $>$ $\ast$v1, \hyperlink{classfv_1_1Value}{Value}$<$ std\+::vector$<$ T $>$ $>$ $\ast$v2, \hyperlink{classfv_1_1Value}{Value}$<$ std\+::vector$<$ T $>$ $>$ $\ast$v3, \hyperlink{classfv_1_1Value}{Value}$<$ std\+::vector$<$ T $>$ $>$ $\ast$v4, const std\+::string alias=\char`\"{}\char`\"{})
- \item
- \hypertarget{classfv_1_1ZipMapFour_a5509c463af07fadc89c5b9e3af50956c}{}\label{classfv_1_1ZipMapFour_a5509c463af07fadc89c5b9e3af50956c}
- {\bfseries Zip\+Map\+Four} (\hyperlink{classfv_1_1Function}{Function}$<$ R(T, T, T, T)$>$ \&f, const std\+::string \&label1, const std\+::string \&label2, const std\+::string \&label3, const std\+::string \&label4, const std\+::string alias=\char`\"{}\char`\"{})
- \end{DoxyCompactItemize}
- \subsection*{Private Member Functions}
- \begin{DoxyCompactItemize}
- \item
- void \hyperlink{classfv_1_1ZipMapFour_a812747fdc043c776951ceb93a1085915}{update\+\_\+value} ()
- \begin{DoxyCompactList}\small\item\em Updates the internal value. \end{DoxyCompactList}\end{DoxyCompactItemize}
- \subsection*{Private Attributes}
- \begin{DoxyCompactItemize}
- \item
- \hypertarget{classfv_1_1ZipMapFour_ad64b5654f8c745900a1b6d8aa6b9b681}{}\label{classfv_1_1ZipMapFour_ad64b5654f8c745900a1b6d8aa6b9b681}
- \hyperlink{classfv_1_1Function}{Function}$<$ R(T, T, T, T)$>$ \& {\bfseries f}
- \item
- \hypertarget{classfv_1_1ZipMapFour_ad1d5d707ed951de86236f4ccb7b4822a}{}\label{classfv_1_1ZipMapFour_ad1d5d707ed951de86236f4ccb7b4822a}
- \hyperlink{classfv_1_1Value}{Value}$<$ std\+::vector$<$ T $>$ $>$ $\ast$ {\bfseries v1}
- \item
- \hypertarget{classfv_1_1ZipMapFour_a7372a10312b93e50e8851244caa82e14}{}\label{classfv_1_1ZipMapFour_a7372a10312b93e50e8851244caa82e14}
- \hyperlink{classfv_1_1Value}{Value}$<$ std\+::vector$<$ T $>$ $>$ $\ast$ {\bfseries v2}
- \item
- \hypertarget{classfv_1_1ZipMapFour_aa403e20095880e9ae7f0853ca47a7166}{}\label{classfv_1_1ZipMapFour_aa403e20095880e9ae7f0853ca47a7166}
- \hyperlink{classfv_1_1Value}{Value}$<$ std\+::vector$<$ T $>$ $>$ $\ast$ {\bfseries v3}
- \item
- \hypertarget{classfv_1_1ZipMapFour_a0e2fa2764e5c0023336a5d294fe53c00}{}\label{classfv_1_1ZipMapFour_a0e2fa2764e5c0023336a5d294fe53c00}
- \hyperlink{classfv_1_1Value}{Value}$<$ std\+::vector$<$ T $>$ $>$ $\ast$ {\bfseries v4}
- \end{DoxyCompactItemize}
- \subsection*{Additional Inherited Members}
- \subsection{Detailed Description}
- \subsubsection*{template$<$typename R, typename T$>$\newline
- class fv\+::\+Zip\+Map\+Four$<$ R, T $>$}
- Takes a set of four \hyperlink{classfv_1_1Value}{Value}$<$std\+::vector$<$\+T$>$ $>$ objects and a function of four Ts and returns a std\+::vector$<$\+R$>$.
- This is used in, for instance, calculating the energy of a set of particles when one has separate arrays containing pt, eta, phi, and mass. These arrays are first wrapped up in Vector\+Wrappers and then passes along with a function to calculate the energy into a \hyperlink{classfv_1_1ZipMapFour}{Zip\+Map\+Four}. The result of this calculation is a new vector containing the energy for each particle. Note that if the input vectors are not all the same size, calculations are only performed up to the size of the shortest. \begin{DoxySeeAlso}{See also}
- Mini\+Tree\+Data\+Set
- \end{DoxySeeAlso}
- \begin{DoxyRefDesc}{Todo}
- \item[\hyperlink{todo__todo000001}{Todo}]find way to implement for arbitrary number(and possibly type) of vector inputs. \end{DoxyRefDesc}
- \subsection{Member Function Documentation}
- \hypertarget{classfv_1_1ZipMapFour_a812747fdc043c776951ceb93a1085915}{}\label{classfv_1_1ZipMapFour_a812747fdc043c776951ceb93a1085915}
- \index{fv\+::\+Zip\+Map\+Four@{fv\+::\+Zip\+Map\+Four}!update\+\_\+value@{update\+\_\+value}}
- \index{update\+\_\+value@{update\+\_\+value}!fv\+::\+Zip\+Map\+Four@{fv\+::\+Zip\+Map\+Four}}
- \subsubsection{\texorpdfstring{update\+\_\+value()}{update\_value()}}
- {\footnotesize\ttfamily template$<$typename R , typename T $>$ \\
- void \hyperlink{classfv_1_1ZipMapFour}{fv\+::\+Zip\+Map\+Four}$<$ R, T $>$\+::update\+\_\+value (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}
- Updates the internal value.
- This function should be overridden by any child class to do the actual work of updating value based on whatever rules the class chooses. Normally, this consists of geting the values from some associated \hyperlink{classfv_1_1Value}{Value} objects, doing some calculation on them, and storing the result in value.
- Implements \hyperlink{classfv_1_1DerivedValue_ae59e80a98eb74b95d8961bfe12ee5ec2}{fv\+::\+Derived\+Value$<$ std\+::vector$<$ R $>$ $>$}.
- Here is the call graph for this function\+:
- \nopagebreak
- \begin{figure}[H]
- \begin{center}
- \leavevmode
- \includegraphics[width=350pt]{classfv_1_1ZipMapFour_a812747fdc043c776951ceb93a1085915_cgraph}
- \end{center}
- \end{figure}
- The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
- \item
- /home/caleb/\+Sources/\+T\+T\+T\+T/filval/\hyperlink{value_8hpp}{value.\+hpp}\end{DoxyCompactItemize}
|