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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri May 27 14:05:00 2011 UTC (13 years, 7 months ago) by pam-fi
Branch: MAIN
CVS Tags: V9, HEAD
File MIME type: text/plain
Error occurred while calculating annotation data.
Added to repository.

1 /*
2 * GPYVsXT2HistoAction.h
3 *
4 * Created on: 01/jun/2010
5 * Author: Sergio Ricciarini
6 */
7
8 /*! @file GPYVsXT2HistoAction.h The GPYVsXT2HistoAction class declaration file. */
9
10 #ifndef GPYVSXT2HISTOACTION_H_
11 #define GPYVSXT2HISTOACTION_H_
12
13 #include "../Histo2DAction/Histo2DAction.h"
14
15 /*! @brief An action that fills a GPamela Y vs. X histogram for over TRK plane T2.
16 *
17 */
18 class GPYVsXT2HistoAction: public Histo2DAction<Int_t> {
19
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 GPYVsXT2HistoAction(const char *actionName, TString outFileBase = "", TString mode = "UPDATE",
35 bool outRoot = true, bool outText = true, TString title = "GP Y Vs X on T2");
36
37
38 /*! @brief Destructor */
39 ~GPYVsXT2HistoAction() {
40 }
41
42 /*! @brief Fills histogram with the selected event.
43 *
44 * @param event The selected event.
45 */
46 void OnGood(PamLevel2 *event);
47
48 private:
49
50 };
51
52 #endif /* GPYVSXT2HISTOACTION_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23