/[PAMELA software]/PamCut/CollectionActions/Histo1DActions/TrkMDRHistoAction/TrkMDRHistoAction.h
ViewVC logotype

Contents of /PamCut/CollectionActions/Histo1DActions/TrkMDRHistoAction/TrkMDRHistoAction.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Oct 27 10:17:46 2009 UTC (15 years, 1 month ago) by pam-fi
Branch: MAIN
CVS Tags: Root_V8, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1, V9, HEAD
Branch point for: V8
Changes since 1.2: +0 -2 lines
File MIME type: text/plain
Updates in the Doxygen documentation.

1 /*
2 * TrkMDRHistoAction.h
3 *
4 * Created on: 03-aug-2009
5 * Author: S. Ricciarini
6 */
7
8
9 /*! @file TrkMDRHistoAction.h The TrkMDRHistoAction class declaration file. */
10
11 #ifndef TRKMDRHISTOACTION_H_
12 #define TRKMDRHISTOACTION_H_
13
14 #include "../Histo1DAction/Histo1DAction.h"
15
16 /*! @brief An action that fills an MDR (GV) 1D histogram.
17 */
18 class TrkMDRHistoAction: public Histo1DAction<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, the output file in ROOT format will be produced.
30 * @param outText If true, the output file in text format will be produced.
31 * @param title The ROOT histogram title.
32 */
33 TrkMDRHistoAction(const char *actionName, TString outFileBase = "", TString mode = "UPDATE", bool outRoot = true,
34 bool outText = true, TString title = "MDR");
35
36 /*! @brief Destructor */
37 ~TrkMDRHistoAction() {
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
48 #endif /* TRKMDRHISTOACTION_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23