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

Contents of /PamCut/CollectionActions/Histo2DActions/TrkDeflVsGPDeflHHistoAction/TrkDeflVsGPDeflHHistoAction.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri May 27 14:05:01 2011 UTC (13 years, 6 months ago) by pam-fi
Branch: MAIN
CVS Tags: V9, HEAD
Added to repository.

1 /*
2 * TrkDeflVsGPDeflHHistoAction.cpp
3 *
4 * Created on: 24/jun/2010
5 * Author: S. Ricciarini
6 */
7
8 #include "TrkDeflVsGPDeflHHistoAction.h"
9
10 TrkDeflVsGPDeflHHistoAction::TrkDeflVsGPDeflHHistoAction(const char *actionName, TString outFileBase,
11 TString mode, bool outRoot, bool outText, TString title) :
12 Histo2DAction<Int_t> (actionName, title, outFileBase, mode, outRoot, outText){
13 }
14
15 void TrkDeflVsGPDeflHHistoAction::OnGood(PamLevel2 *event) {
16
17 Fill(1./event->GetGPamela()->P0, event->GetTrack(0)->GetTrkTrack()->GetDeflection());
18 }

  ViewVC Help
Powered by ViewVC 1.1.23