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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Mar 18 14:39:25 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
File MIME type: text/plain
Added to repository.

1 pam-fi 1.1 /*
2     * CaloQtotHistoAction.h
3     *
4     * Created on: 2010-03-12
5     * Author: S. Ricciarini
6     */
7    
8     /*! @file CaloQtotHistoAction.h The CaloQtotHistoAction class declaration file. */
9    
10     #ifndef CALOQTOTHISTOACTION_H_
11     #define CALOQTOTHISTOACTION_H_
12    
13     #include "../Histo1DAction/Histo1DAction.h"
14    
15     /*! @brief An action that fills the histogram: Calo Qtot.
16     */
17     class CaloQtotHistoAction: public Histo1DAction<Double_t> {
18    
19     public:
20    
21     /*! @brief Constructor.
22     *
23     * @param actionName The action's name.
24     * @param outFileBase The file base name for the ROOT histogram output (".root" will be appended).
25     * If "", no ROOT output will be produced.
26     * @param mode The mode of ROOT file creation (see documentation of TFile constructor
27     * @param outRoot If true, the output file in ROOT format will be produced.
28     * @param outText If true, the output file in text format will be produced.
29     * in ROOT's reference guide).
30     * @param title The ROOT histogram title.
31     */
32     CaloQtotHistoAction(const char *actionName, TString outFileBase = "", TString mode = "UPDATE", bool outRoot = true,
33     bool outText = true, TString title = "Qtot");
34    
35     /*! @brief Destructor */
36     ~CaloQtotHistoAction() {
37     }
38    
39     /*! @brief Fills histogram with the selected event.
40     *
41     * @param event The selected event.
42     */
43     void OnGood(PamLevel2 *event);
44    
45     };
46    
47     #endif /* CALOQTOTHISTOACTION_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23