/[PAMELA software]/PamCut/CollectionActions/Histo1DActions/TrkXAngHistoAction/TrkXAngHistoAction.cpp
ViewVC logotype

Annotation of /PamCut/CollectionActions/Histo1DActions/TrkXAngHistoAction/TrkXAngHistoAction.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Jan 18 16:34:16 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     * TrkXAngHistoAction.cpp
3     *
4     * Created on: 2009-11-23
5     * Author: S. Ricciarini
6     */
7    
8     /*! @file TrkXAngHistoAction.cpp The TrkXAngHistoAction class implementation file. */
9    
10     #include "TrkXAngHistoAction.h"
11    
12     TrkXAngHistoAction::TrkXAngHistoAction(const char *actionName, TString outFileBase, TString mode, bool outRoot, bool outText, TString title):
13     Histo1DAction<Int_t> (actionName, title, outFileBase, mode, outRoot, outText) {
14     SetXAxis("XZ angle (deg)",100,-30.,+30.);
15     }
16    
17     void TrkXAngHistoAction::OnGood(PamLevel2 *event) {
18    
19     Float_t angle = event->GetTrack(0)->GetTrkTrack()->axv[0];
20     Fill(angle);
21    
22     }

  ViewVC Help
Powered by ViewVC 1.1.23