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