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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Jan 18 16:34:20 2010 UTC (14 years, 10 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
Added to repository.

1 pam-fi 1.1 /*
2     * TrkYVsXHistoAction.cpp
3     *
4     * Created on: 02/dec/2009
5     * Author: Sergio Ricciarini
6     */
7    
8     /*! @file TrkYVsXHistoAction.cpp The TrkYVsXHistoAction class implementation file. */
9    
10     #include "TrkYVsXHistoAction.h"
11    
12     TrkYVsXHistoAction::TrkYVsXHistoAction(const char *actionName, TString outFileBase, TString mode,
13     bool outRoot, bool outText, TString title, UInt_t igf) :
14     Histo2DAction<Int_t> (actionName, title, outFileBase, mode, outRoot, outText), _igf(igf) {
15    
16     SetXAxis("X (cm)",100,TrkParams::xGF_min[_igf],TrkParams::xGF_max[_igf]); // Default X axis
17     SetYAxis("Y (cm)",100,TrkParams::yGF_min[_igf],TrkParams::yGF_max[_igf]); // Default Y axis
18    
19     }
20    
21     void TrkYVsXHistoAction::OnGood(PamLevel2 *event) {
22    
23     Fill(event->GetTrack(0)->GetTrkTrack()->xGF[_igf],
24     event->GetTrack(0)->GetTrkTrack()->yGF[_igf]);
25    
26     }

  ViewVC Help
Powered by ViewVC 1.1.23