/[PAMELA software]/PamCut/doc/Doxygen/latex/classFluxHistoAction.tex
ViewVC logotype

Contents of /PamCut/doc/Doxygen/latex/classFluxHistoAction.tex

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (as text) (vendor branch)
Wed May 27 13:30:03 2009 UTC (15 years, 6 months ago) by pam-fi
Branch: DEV
CVS Tags: v0r00
Changes since 1.1: +0 -0 lines
File MIME type: application/x-tex
Error occurred while calculating annotation data.
First import

1 \hypertarget{classFluxHistoAction}{
2 \section{FluxHistoAction Class Reference}
3 \label{classFluxHistoAction}\index{FluxHistoAction@{FluxHistoAction}}
4 }
5 An action that fills a flux histogram.
6
7
8 {\tt \#include $<$FluxHistoAction.h$>$}
9
10 Inheritance diagram for FluxHistoAction::\begin{figure}[H]
11 \begin{center}
12 \leavevmode
13 \includegraphics[height=2cm]{classFluxHistoAction}
14 \end{center}
15 \end{figure}
16 \subsection*{Public Member Functions}
17 \begin{CompactItemize}
18 \item
19 \hyperlink{classFluxHistoAction_2f215089b4dc3b414b29a88e32df820d}{FluxHistoAction} (const char $\ast$actionName, TString outFileBase, TString rigBinsFile)
20 \begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item
21 \hyperlink{classFluxHistoAction_2a38b72b56859e2f6eef38d800ca5c10}{$\sim$FluxHistoAction} ()
22 \begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item
23 void \hyperlink{classFluxHistoAction_363f9657ac69e1051449ec1907c04809}{OnGood} (PamLevel2 $\ast$event)
24 \begin{CompactList}\small\item\em Fills histogram with the selected event. \item\end{CompactList}\item
25 void \hyperlink{classFluxHistoAction_4565d0ea3ca0f895af489455dfd5ff04}{Finalize} ()
26 \begin{CompactList}\small\item\em Writes the histogram to the output files (ASCII and ROOT). \item\end{CompactList}\end{CompactItemize}
27 \subsection*{Private Attributes}
28 \begin{CompactItemize}
29 \item
30 TString \hyperlink{classFluxHistoAction_aa222dff82e9c14a330f95a9fc51d142}{\_\-outFileBase}
31 \item
32 vector$<$ float $>$ \hyperlink{classFluxHistoAction_c739385ec91f9a66caa36af6da127aa1}{\_\-bins}
33 \item
34 TH1I \hyperlink{classFluxHistoAction_ece98abe4d37ec7b9e872143203bc613}{\_\-rootHisto}
35 \item
36 vector$<$ uint64\_\-t $>$ \hyperlink{classFluxHistoAction_39cb52b179b2d169f39d692ca3f077ce}{\_\-textHisto}
37 \end{CompactItemize}
38
39
40 \subsection{Detailed Description}
41 An action that fills a flux histogram.
42
43 This action reads a rigidity binning from a file and fills a flux histogram (text and ROOT format). Currently, it fills an event-count histogram: in future implementations, it could also read live time, efficiency and geometrical factor from external files and fill a true flux histogram.
44
45 Definition at line 24 of file FluxHistoAction.h.
46
47 \subsection{Constructor \& Destructor Documentation}
48 \hypertarget{classFluxHistoAction_2f215089b4dc3b414b29a88e32df820d}{
49 \index{FluxHistoAction@{FluxHistoAction}!FluxHistoAction@{FluxHistoAction}}
50 \index{FluxHistoAction@{FluxHistoAction}!FluxHistoAction@{FluxHistoAction}}
51 \subsubsection[{FluxHistoAction}]{\setlength{\rightskip}{0pt plus 5cm}FluxHistoAction::FluxHistoAction (const char $\ast$ {\em actionName}, \/ TString {\em outFileBase}, \/ TString {\em rigBinsFile})}}
52 \label{classFluxHistoAction_2f215089b4dc3b414b29a88e32df820d}
53
54
55 Constructor.
56
57 outFileBase is the base name for output file: \hyperlink{classFluxHistoAction_4565d0ea3ca0f895af489455dfd5ff04}{Finalize} will add .txt for ASCII output and .root for ROOT output. outFileBase has to contain the path (otherwise, files will be saved in the current directory). The file containing the rigidity bins must be a text file. It must contain both the lower and upper limits of the rigidity axis, so that if it contains N values it defines a set of N-1 bins.
58
59 \begin{Desc}
60 \item[Parameters:]
61 \begin{description}
62 \item[{\em actionName}]The action's name. \item[{\em outFileBase}]The output file base name. \item[{\em rigBinsFile}]The file containing the rigidity bins \end{description}
63 \end{Desc}
64
65
66 Definition at line 12 of file FluxHistoAction.cpp.
67
68 References \_\-bins, \_\-rootHisto, and \_\-textHisto.\hypertarget{classFluxHistoAction_2a38b72b56859e2f6eef38d800ca5c10}{
69 \index{FluxHistoAction@{FluxHistoAction}!$\sim$FluxHistoAction@{$\sim$FluxHistoAction}}
70 \index{$\sim$FluxHistoAction@{$\sim$FluxHistoAction}!FluxHistoAction@{FluxHistoAction}}
71 \subsubsection[{$\sim$FluxHistoAction}]{\setlength{\rightskip}{0pt plus 5cm}FluxHistoAction::$\sim$FluxHistoAction ()\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}}
72 \label{classFluxHistoAction_2a38b72b56859e2f6eef38d800ca5c10}
73
74
75 Destructor.
76
77
78
79 Definition at line 43 of file FluxHistoAction.h.
80
81 \subsection{Member Function Documentation}
82 \hypertarget{classFluxHistoAction_4565d0ea3ca0f895af489455dfd5ff04}{
83 \index{FluxHistoAction@{FluxHistoAction}!Finalize@{Finalize}}
84 \index{Finalize@{Finalize}!FluxHistoAction@{FluxHistoAction}}
85 \subsubsection[{Finalize}]{\setlength{\rightskip}{0pt plus 5cm}void FluxHistoAction::Finalize ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}}
86 \label{classFluxHistoAction_4565d0ea3ca0f895af489455dfd5ff04}
87
88
89 Writes the histogram to the output files (ASCII and ROOT).
90
91 The output consists of a text file and of a ROOT file where the 1-dimensional rigidity histogram (TH1F) is saved. The format of the text output is: (lower bin limit) (upper bin limit) (\# of events).
92
93 Implements \hyperlink{classCollectionAction_c32b42fc08bc1be7b003579b633de041}{CollectionAction}.
94
95 Definition at line 79 of file FluxHistoAction.cpp.
96
97 References \_\-bins, \_\-outFileBase, \_\-rootHisto, \_\-textHisto, and CollectionAction::GetName().\hypertarget{classFluxHistoAction_363f9657ac69e1051449ec1907c04809}{
98 \index{FluxHistoAction@{FluxHistoAction}!OnGood@{OnGood}}
99 \index{OnGood@{OnGood}!FluxHistoAction@{FluxHistoAction}}
100 \subsubsection[{OnGood}]{\setlength{\rightskip}{0pt plus 5cm}void FluxHistoAction::OnGood (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}}
101 \label{classFluxHistoAction_363f9657ac69e1051449ec1907c04809}
102
103
104 Fills histogram with the selected event.
105
106 \begin{Desc}
107 \item[Parameters:]
108 \begin{description}
109 \item[{\em event}]The selected event. \end{description}
110 \end{Desc}
111
112
113 Implements \hyperlink{classCollectionAction_801dd664020b71e8a3232e5a584d96a0}{CollectionAction}.
114
115 Definition at line 50 of file FluxHistoAction.cpp.
116
117 References \_\-bins, \_\-rootHisto, and \_\-textHisto.
118
119 \subsection{Member Data Documentation}
120 \hypertarget{classFluxHistoAction_c739385ec91f9a66caa36af6da127aa1}{
121 \index{FluxHistoAction@{FluxHistoAction}!\_\-bins@{\_\-bins}}
122 \index{\_\-bins@{\_\-bins}!FluxHistoAction@{FluxHistoAction}}
123 \subsubsection[{\_\-bins}]{\setlength{\rightskip}{0pt plus 5cm}vector$<$float$>$ {\bf FluxHistoAction::\_\-bins}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}}
124 \label{classFluxHistoAction_c739385ec91f9a66caa36af6da127aa1}
125
126
127
128
129 Definition at line 62 of file FluxHistoAction.h.
130
131 Referenced by Finalize(), FluxHistoAction(), and OnGood().\hypertarget{classFluxHistoAction_aa222dff82e9c14a330f95a9fc51d142}{
132 \index{FluxHistoAction@{FluxHistoAction}!\_\-outFileBase@{\_\-outFileBase}}
133 \index{\_\-outFileBase@{\_\-outFileBase}!FluxHistoAction@{FluxHistoAction}}
134 \subsubsection[{\_\-outFileBase}]{\setlength{\rightskip}{0pt plus 5cm}TString {\bf FluxHistoAction::\_\-outFileBase}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}}
135 \label{classFluxHistoAction_aa222dff82e9c14a330f95a9fc51d142}
136
137
138
139
140 Definition at line 61 of file FluxHistoAction.h.
141
142 Referenced by Finalize().\hypertarget{classFluxHistoAction_ece98abe4d37ec7b9e872143203bc613}{
143 \index{FluxHistoAction@{FluxHistoAction}!\_\-rootHisto@{\_\-rootHisto}}
144 \index{\_\-rootHisto@{\_\-rootHisto}!FluxHistoAction@{FluxHistoAction}}
145 \subsubsection[{\_\-rootHisto}]{\setlength{\rightskip}{0pt plus 5cm}TH1I {\bf FluxHistoAction::\_\-rootHisto}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}}
146 \label{classFluxHistoAction_ece98abe4d37ec7b9e872143203bc613}
147
148
149
150
151 Definition at line 63 of file FluxHistoAction.h.
152
153 Referenced by Finalize(), FluxHistoAction(), and OnGood().\hypertarget{classFluxHistoAction_39cb52b179b2d169f39d692ca3f077ce}{
154 \index{FluxHistoAction@{FluxHistoAction}!\_\-textHisto@{\_\-textHisto}}
155 \index{\_\-textHisto@{\_\-textHisto}!FluxHistoAction@{FluxHistoAction}}
156 \subsubsection[{\_\-textHisto}]{\setlength{\rightskip}{0pt plus 5cm}vector$<$uint64\_\-t$>$ {\bf FluxHistoAction::\_\-textHisto}\hspace{0.3cm}{\tt \mbox{[}private\mbox{]}}}}
157 \label{classFluxHistoAction_39cb52b179b2d169f39d692ca3f077ce}
158
159
160
161
162 Definition at line 64 of file FluxHistoAction.h.
163
164 Referenced by Finalize(), FluxHistoAction(), and OnGood().
165
166 The documentation for this class was generated from the following files:\begin{CompactItemize}
167 \item
168 CollectionActions/FluxHistoAction/\hyperlink{FluxHistoAction_8h}{FluxHistoAction.h}\item
169 CollectionActions/FluxHistoAction/\hyperlink{FluxHistoAction_8cpp}{FluxHistoAction.cpp}\end{CompactItemize}

  ViewVC Help
Powered by ViewVC 1.1.23