1 |
/* |
2 |
* TrkDOFVsRigHistoAction.cpp |
3 |
* |
4 |
* Created on: 01/set/2009 |
5 |
* Author: Nicola Mori |
6 |
*/ |
7 |
|
8 |
/*! @file TrkDOFVsRigHistoAction.cpp The TrkDOFVsRigHistoAction class implementation file. */ |
9 |
|
10 |
#include "TrkDOFVsRigHistoAction.h" |
11 |
|
12 |
TrkDOFVsRigHistoAction::TrkDOFVsRigHistoAction(const char *actionName, TString outFileBase, TString mode, bool outRoot, bool outText, TString title) : |
13 |
Histo2DAction<Int_t> (actionName, title, outFileBase, mode, outRoot, outText) { |
14 |
} |
15 |
|
16 |
void TrkDOFVsRigHistoAction::OnGood(PamLevel2 *event) { |
17 |
|
18 |
Fill(event->GetTrack(0)->GetTrkTrack()->GetRigidity(), event->GetTrack(0)->GetTrkTrack()->GetNtot() - 5); |
19 |
|
20 |
} |