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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Sep 25 15:36:42 2009 UTC (15 years, 2 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
File MIME type: text/plain
Added to repository.

1 pam-fi 1.1 /*
2     * CaloDedxVsBetaHistoAction.h
3     *
4     * Created on: 11/set/2009
5     * Author: Nicola Mori
6     */
7    
8     /*! @file CaloDedxVsBetaHistoAction.h The CaloDedxVsBetaHistoAction class declaration file. */
9    
10     #ifndef CALODEDXVSBETAHISTOACTION_H_
11     #define CALODEDXVSBETAHISTOACTION_H_
12    
13     #include "../Histo2DAction/Histo2DAction.h"
14    
15     /*! @brief An action that fills a Calo dE/dx Vs. Tof Beta histogram. */
16     class CaloDedxVsBetaHistoAction: public Histo2DAction<Int_t> {
17    
18     public:
19    
20     /*! @brief Constructor.
21     *
22     * @param actionName The action's name.
23     * @param plane The plane from which dE/dx is retrieved (range: [0,21]).
24     * @param view The view to use ( 0 = X, 1 = Y).
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     CaloDedxVsBetaHistoAction(const char *actionName, unsigned int plane, unsigned int view, TString outFileBase = "",
35     TString mode = "UPDATE", bool outRoot = true, bool outText = true, TString title = "CALO dE/dx vs TOF Beta");
36    
37     /*! @brief Destructor */
38     ~CaloDedxVsBetaHistoAction() {
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     private:
48    
49     unsigned int _plane, _view;
50    
51     };
52     #endif /* CALODEDXVSBETAHISTOACTION_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23