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

Annotation of /PamCut/CollectionActions/Histo1DActions/TrkRigHistoAction/TrkRigHistoAction.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Oct 1 10:35:13 2009 UTC (15 years, 2 months ago) by pam-fi
Branch: MAIN
Changes since 1.1: +2 -0 lines
File MIME type: text/plain
Doxygen documentation updated.

1 pam-fi 1.1 /*
2     * TrkRigHistoAction.h
3     *
4     * Created on: 2009-06-05
5     * Author: S. Ricciarini
6     * (Re-edited: 2009-08-25 N. Mori)
7     */
8    
9     /*! @file TrkRigHistoAction.h The TrkRigHistoAction class declaration file. */
10    
11     #ifndef TRKRIGHISTOACTION_H_
12     #define TRKRIGHISTOACTION_H_
13    
14     #include "../Histo1DAction/Histo1DAction.h"
15    
16     /*! @brief An action that fills the histogram: TRK rigidity (with sign).
17     */
18     class TrkRigHistoAction: public Histo1DAction<Int_t> {
19    
20     public:
21    
22     /*! @brief Constructor.
23     *
24     * The histogram binning is defined by the content of the bins vector.
25     *
26     * @param actionName The action's name.
27     * @param outFileBase The file base name for the ROOT histogram output (".root" will be appended).
28     * If "", no ROOT output will be produced.
29     * @param mode The mode of ROOT file creation (see documentation of TFile constructor
30 pam-fi 1.2 * @param outRoot If true, the output file in ROOT format will be produced.
31     * @param outText If true, the output file in text format will be produced.
32 pam-fi 1.1 * in ROOT's reference guide).
33     * @param title The ROOT histogram title.
34     */
35     TrkRigHistoAction(const char *actionName, TString outFileBase = "", TString mode = "UPDATE", bool outRoot = true,
36     bool outText = true, TString title = "Rigidity");
37    
38     /*! @brief Destructor */
39     ~TrkRigHistoAction() {
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     };
49    
50     #endif /* TRKRIGHISTOACTION_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23