#include <rootAngleHist.h>
Public Methods | |
| rootAngleHist (int bins) | |
| Constructor takes number of bins for histogram. More... | |
| ~rootAngleHist (void) | |
| rootAngleHist (const rootAngleHist& oldHist) | |
| void | setTitle (std::string title) |
| Sets the title for the graphs. More... | |
| void | setPhiXLabel (std::string label) |
| Sets the x-axis label on the flux vs. azimuth angle graph. More... | |
| void | setPhiYLabel (std::string label) |
| Sets the y-axis label on the flux vs. azimuth angle graph. More... | |
| void | setThetaXLabel (std::string label) |
| Sets the x-axis label on the flux vs. zenith angle graph. More... | |
| void | setThetaYLabel (std::string label) |
| Sets the y-axis label on the flux vs. zenith angle graph. More... | |
| void | setGraphType (const char *graph_type) |
| Sets the y-axis scaling for the graphs Valid values are "linear" and "log". More... | |
| void | storeTheta (double theta_value) |
| Increments the temporary bin corresponding to parameter theta. More... | |
| void | storePhi (double phi_value) |
| Increments the temporary bin corresponding to parameter phi. More... | |
| double | retrievePhiCount (int binNumber) |
| Retrieves the phi angle raw count from the specified bin. More... | |
| double | retrievePhiFlux (int binNumber) |
| Retrieves the phi angle flux from the specified bin. More... | |
| double | retrievePhiFluxUncertainty (int binNumber) |
| Retrieves the phi angle flux uncertainty from the specified bin. More... | |
| double | retrieveThetaCount (int binNumber) |
| Retrieves the theta angle raw count from the specified bin. More... | |
| double | retrieveThetaFlux (int binNumber) |
| Retrieves the theta angle flux from the specified bin. More... | |
| double | retrieveThetaFluxUncertainty (int binNumber) |
| Retrieves the theta angle flux uncertainty from the specified bin. More... | |
| double | retrievePhiAngle (int binNumber) |
| Retrieves the angle in degrees associated with the bin number. More... | |
| double | retrieveThetaAngle (int binNumber) |
| Retrives the value of cos(theta) associated with the bin number. More... | |
| void | apply (double scale_factor) |
| Applies the scaling factor to the raw counts to obtain the fluxes. More... | |
| void | reset (void) |
| This function clears everything in the object except for the number of bins. More... | |
| void | draw (double scale_factor, std::string mode, int current_plot, int total_plots) |
| Writes the contents of the flux and flux uncertainty histograms to a script file. More... | |
| void | writeFile (double scale_factor, std::ostream& out_file) |
| Not yet implemented. More... | |
Private Types | |
| enum | graphType { linear, log } |
Private Attributes | |
| rootHist* | theta_hist |
| histogram for zenith angle fluxes. More... | |
| rootHist* | theta_sigma_hist |
| histogram to store zenith angle uncertainties. More... | |
| rootHist* | theta_raw_hist |
| histogram to store zenith agnle raw counts. More... | |
| rootHist* | phi_hist |
| histogram for azimuthal angle fluxes. More... | |
| rootHist* | phi_sigma_hist |
| histogram to store azimuthal angle uncertainties. More... | |
| rootHist* | phi_raw_hist |
| histogram to store azimuthal angle raw counts. More... | |
| const int | num_bins |
| number of bins for the histogram. More... | |
| std::string | graphTitle |
| title of graph. More... | |
| std::string | PhiXLabel |
| phi graph x axis title. More... | |
| std::string | PhiYLabel |
| phi graph y axis title. More... | |
| std::string | ThetaXLabel |
| theta graph x axis title. More... | |
| std::string | ThetaYLabel |
| theta graph y axis title. More... | |
| enum rootAngleHist::graphType | currentType |
| Determines whether the y-axis will be linear or logarithmic. | |
Normal usage typically entails 1. calling the constructor 2. calling setTitle, setXLabel, setYLabel, etc. 3. storing energies in the object using store 4. calling apply to normalize the histogram 5. calling draw or writeFile to output the results
Definition at line 25 of file rootAngleHist.h.
|
|
Definition at line 125 of file rootAngleHist.h. |
|
|
Constructor takes number of bins for histogram.
Definition at line 16 of file rootAngleHist.cxx. |
|
|
Definition at line 32 of file rootAngleHist.cxx. |
|
|
Definition at line 42 of file rootAngleHist.cxx. |
|
|
Applies the scaling factor to the raw counts to obtain the fluxes. This function clears the raw count histograms, stores the flux values in the flux histograms, and calculates the uncertainties. If there was a previous value in the flux and flux uncertainty histograms, this function does not overwrite the values, but adds them together. This function must be used before the draw member function. Definition at line 172 of file rootAngleHist.cxx. |
|
|
Writes the contents of the flux and flux uncertainty histograms to a script file. This file is then interpreted by root.
Definition at line 221 of file rootAngleHist.cxx. |
|
|
This function clears everything in the object except for the number of bins.
Definition at line 202 of file rootAngleHist.cxx. |
|
|
Retrieves the angle in degrees associated with the bin number.
Definition at line 166 of file rootAngleHist.cxx. |
|
|
Retrieves the phi angle raw count from the specified bin.
Definition at line 131 of file rootAngleHist.cxx. |
|
|
Retrieves the phi angle flux from the specified bin.
Definition at line 136 of file rootAngleHist.cxx. Referenced by draw(). |
|
|
Retrieves the phi angle flux uncertainty from the specified bin.
Definition at line 141 of file rootAngleHist.cxx. Referenced by draw(). |
|
|
Retrives the value of cos(theta) associated with the bin number.
Definition at line 161 of file rootAngleHist.cxx. |
|
|
Retrieves the theta angle raw count from the specified bin.
Definition at line 146 of file rootAngleHist.cxx. |
|
|
Retrieves the theta angle flux from the specified bin.
Definition at line 151 of file rootAngleHist.cxx. Referenced by draw(). |
|
|
Retrieves the theta angle flux uncertainty from the specified bin.
Definition at line 156 of file rootAngleHist.cxx. Referenced by draw(). |
|
|
Sets the y-axis scaling for the graphs Valid values are "linear" and "log".
Definition at line 104 of file rootAngleHist.cxx. |
|
|
Sets the x-axis label on the flux vs. azimuth angle graph.
Definition at line 84 of file rootAngleHist.cxx. |
|
|
Sets the y-axis label on the flux vs. azimuth angle graph.
Definition at line 89 of file rootAngleHist.cxx. |
|
|
Sets the x-axis label on the flux vs. zenith angle graph.
Definition at line 94 of file rootAngleHist.cxx. |
|
|
Sets the y-axis label on the flux vs. zenith angle graph.
Definition at line 99 of file rootAngleHist.cxx. |
|
|
Sets the title for the graphs.
Definition at line 79 of file rootAngleHist.cxx. |
|
|
Increments the temporary bin corresponding to parameter phi.
Definition at line 124 of file rootAngleHist.cxx. |
|
|
Increments the temporary bin corresponding to parameter theta.
Definition at line 114 of file rootAngleHist.cxx. |
|
|
Not yet implemented.
Definition at line 482 of file rootAngleHist.cxx. |
|
|
phi graph x axis title.
Definition at line 121 of file rootAngleHist.h. |
|
|
phi graph y axis title.
Definition at line 122 of file rootAngleHist.h. |
|
|
theta graph x axis title.
Definition at line 123 of file rootAngleHist.h. |
|
|
theta graph y axis title.
Definition at line 124 of file rootAngleHist.h. |
|
|
Determines whether the y-axis will be linear or logarithmic.
|
|
|
title of graph.
Definition at line 120 of file rootAngleHist.h. |
|
|
number of bins for the histogram.
Definition at line 119 of file rootAngleHist.h. |
|
|
histogram for azimuthal angle fluxes.
Definition at line 116 of file rootAngleHist.h. |
|
|
histogram to store azimuthal angle raw counts.
Definition at line 118 of file rootAngleHist.h. |
|
|
histogram to store azimuthal angle uncertainties.
Definition at line 117 of file rootAngleHist.h. |
|
|
histogram for zenith angle fluxes.
Definition at line 113 of file rootAngleHist.h. |
|
|
histogram to store zenith agnle raw counts.
Definition at line 115 of file rootAngleHist.h. |
|
|
histogram to store zenith angle uncertainties.
Definition at line 114 of file rootAngleHist.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000