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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Apr 5 10:29:40 2010 UTC (14 years, 8 months ago) by pam-mep
Branch point for: yoyo, MAIN
File MIME type: text/plain
Initial revision

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

  ViewVC Help
Powered by ViewVC 1.1.23