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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Sep 25 15:36:37 2009 UTC (15 years, 3 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     * TrkDOFVsDeflHistoAction.h
3     *
4     * Created on: 02/set/2009
5     * Author: Nicola Mori
6     */
7    
8     /*! @file TrkDOFVsDeflHistoAction.h The TrkDOFVsDeflHistoAction class declaration file. */
9    
10     #ifndef TRKDOFVSDEFLHISTOACTION_H_
11     #define TRKDOFVSDEFLHISTOACTION_H_
12    
13     #include "../Histo2DAction/Histo2DAction.h"
14    
15     /*! @brief An action that fills a \#DOF Vs. Deflection histogram.
16     *
17     * The number of degrees of freedom of an event is the number of clusters along the track
18     * minus 5 (which is the number of parameters of the track).
19     */
20     class TrkDOFVsDeflHistoAction: public Histo2DAction<Int_t> {
21    
22     public:
23    
24     /*! @brief Constructor.
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     * in ROOT's reference guide).
31     * @param outRoot If true, an output ROOT file named outFileBase + ".root" will be produced.
32     * @param outText If true, an output text file named outFileBase + ".txt" will be produced. It will overwrite an
33     * eventually existing file with the same name.
34     * @param title The ROOT histogram title.
35     */
36     TrkDOFVsDeflHistoAction(const char *actionName, TString outFileBase = "", TString mode = "UPDATE",
37     bool outRoot = true, bool outText = true, TString title = "TRK DOF Vs. Rigidity");
38    
39    
40     /*! @brief Destructor */
41     ~TrkDOFVsDeflHistoAction() {
42     }
43    
44     /*! @brief Fills histogram with the selected event.
45     *
46     * @param event The selected event.
47     */
48     void OnGood(PamLevel2 *event);
49    
50     };
51    
52     #endif /* TRKDOFVSDEFLHISTOACTION_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23