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_ */ |