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

Contents of /PamCut/CollectionActions/Histo2DActions/CaloAxisChi2VsRigHistoAction/CaloAxisChi2VsRigHistoAction.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Mar 9 18:01:07 2010 UTC (14 years, 10 months ago) by pam-fi
Branch: MAIN
CVS Tags: Root_V8, BeforeMergingFromV8_1
Branch point for: V8
File MIME type: text/plain
Added to repository.

1 /*
2 * CaloAxisChi2VsRigHistoAction.h
3 *
4 * Created on: 2010-02-22
5 * Author: S. Ricciarini
6 */
7
8 /*! @file CaloAxisChi2VsRigHistoAction.h The CaloAxisChi2VsRigHistoAction class declaration file. */
9
10 #ifndef CALOAXISCHI2VSRIGHISTOACTION_H_
11 #define CALOAXISCHI2VSRIGHISTOACTION_H_
12
13 #include "../Histo2DAction/Histo2DAction.h"
14 #include "../../../CaloAxis2.h"
15
16 /*! @brief An action that fills a (X or Y) CaloAxis Chi2 Vs. Trk Rig histogram. */
17 class CaloAxisChi2VsRigHistoAction: public Histo2DAction<Int_t> {
18
19 public:
20
21 /*! @brief Constructor.
22 *
23 * @param actionName The action's name.
24 * @param axis The CaloAxis object.
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 CaloAxisChi2VsRigHistoAction(const char *actionName, CaloAxis *axis, TString outFileBase = "",
35 TString mode = "UPDATE", bool outRoot = true, bool outText = true, TString title = "CALO axis chi2 vs TRK rig");
36
37 /*! @brief Destructor */
38 ~CaloAxisChi2VsRigHistoAction() {
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 CaloAxis *_axis;
50
51 };
52 #endif /* CALOAXISCHI2VSRIGHISTOACTION_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23