/[PAMELA software]/PamCut/CollectionActions/Histo2DActions/ZenVsAzAngleHistoAction/ZenVsAzAngleHistoAction.h
ViewVC logotype

Contents of /PamCut/CollectionActions/Histo2DActions/ZenVsAzAngleHistoAction/ZenVsAzAngleHistoAction.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Mon Apr 5 10:45:47 2010 UTC (14 years, 8 months ago) by pam-mep
Branch: yoyo, MAIN
CVS Tags: Root_V8, start, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1, V9, HEAD
Branch point for: V8
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
first release 

1 /*
2 * ZenVsAzAngleHistoAction.h
3 *
4 * Created on: 28-marth-2010
5 * Author: Vitaly Malakhov
6 */
7
8 /*! @file ZenVsAzAngleHistoAction.h The ZenVsAzAngleHistoAction class declaration file. */
9
10 #include "../Histo2DAction/Histo2DAction.h"
11
12 #ifndef ZENVSAZANGLEHISTOACTION_H_
13 #define ZENVSAZANGLEHISTOACTION_H_
14
15 /*! @brief An action that fills a zenith-angle Vs azimuth-angle of incoming particle histogram.
16 *
17 */
18 class ZenVsAzAngleHistoAction: public Histo2DAction<Int_t> {
19 public:
20
21 /*! @brief Constructor.
22 *
23 * @param actionName The action's name.
24 * @param outFileBase The file base name for the ROOT histogram output (".root" will be appended).
25 * If "", no ROOT output will be produced.
26 * @param mode The mode of ROOT file creation (see documentation of TFile constructor
27 * in ROOT's reference guide).
28 * @param outRoot If true, an output ROOT file named outFileBase + ".root" will be produced.
29 * @param outText If true, an output text file named outFileBase + ".txt" will be produced. It will overwrite an
30 * eventually existing file with the same name.
31 * @param title The ROOT histogram title.
32 */
33 ZenVsAzAngleHistoAction(const char *actionName, TString outFileBase = "", TString mode = "UPDATE", bool outRoot =
34 true, bool outText = true, TString title = "Zenith Vs. Azimuth angles");
35
36 /*! @brief Destructor. */
37 ~ZenVsAzAngleHistoAction() {
38 }
39
40 /*! @brief Fills histogram with the selected event.
41 *
42 * @param event The selected event.
43 */
44 void OnGood(PamLevel2 *event);
45
46 };
47 #endif /* ZENVSAZANGLEHISTOACTION_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23