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

Annotation of /PamCut/CollectionActions/Histo2DActions/TrkYVsXHistoAction/TrkYVsXHistoAction.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Mar 23 17:27:35 2010 UTC (14 years, 8 months 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.1: +1 -1 lines
File MIME type: text/plain
Documentation updated.

1 pam-fi 1.1 /*
2     * TrkYVsXHistoAction.h
3     *
4     * Created on: 02/dec/2009
5     * Author: Sergio Ricciarini
6     */
7    
8     /*! @file TrkYVsXHistoAction.h The TrkYVsXHistoAction class declaration file. */
9    
10     #ifndef TRKYVSXHISTOACTION_H_
11     #define TRKYVSXHISTOACTION_H_
12    
13     #include "../Histo2DAction/Histo2DAction.h"
14    
15     /*! @brief An action that fills a TRK Y vs. X histogram for track 0 over acceptance planes ipl.
16     *
17     */
18     class TrkYVsXHistoAction: 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 pam-fi 1.2 * @param igf The acceptance plane (index goes from 0 to 13). Default: 4 (upper cavity face)
34 pam-fi 1.1 */
35     TrkYVsXHistoAction(const char *actionName, TString outFileBase = "", TString mode = "UPDATE",
36     bool outRoot = true, bool outText = true, TString title = "TRK Y Vs X", UInt_t igf = 4);
37    
38    
39     /*! @brief Destructor */
40     ~TrkYVsXHistoAction() {
41     }
42    
43     /*! @brief Fills histogram with the selected event.
44     *
45     * @param event The selected event.
46     */
47     void OnGood(PamLevel2 *event);
48    
49     private:
50     UInt_t _igf;
51    
52     };
53    
54     #endif /* TRKYVSXHISTOACTION_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23