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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

1 /*
2 * TrkRigVsGPMomHistoAction.cpp
3 *
4 * Created on: 24/jun/2010
5 * Author: S. Ricciarini
6 */
7
8 #include "TrkRigVsGPMomHistoAction.h"
9
10 TrkRigVsGPMomHistoAction::TrkRigVsGPMomHistoAction(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 TrkRigVsGPMomHistoAction::OnGood(PamLevel2 *event) {
16
17 Fill(event->GetGPamela()->P0, 1./event->GetTrack(0)->GetTrkTrack()->GetDeflection());
18 }

  ViewVC Help
Powered by ViewVC 1.1.23