| 1 |
pam-fi |
1.1 |
/* |
| 2 |
|
|
* TrkDOFVsDeflHistoAction.cpp |
| 3 |
|
|
* |
| 4 |
|
|
* Created on: 01/set/2009 |
| 5 |
|
|
* Author: Nicola Mori |
| 6 |
|
|
*/ |
| 7 |
|
|
|
| 8 |
|
|
/*! @file TrkDOFVsDeflHistoAction.cpp The TrkDOFVsDeflHistoAction class implementation file. */ |
| 9 |
|
|
|
| 10 |
|
|
#include "TrkDOFVsDeflHistoAction.h" |
| 11 |
|
|
|
| 12 |
|
|
TrkDOFVsDeflHistoAction::TrkDOFVsDeflHistoAction(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 |
|
|
void TrkDOFVsDeflHistoAction::OnGood(PamLevel2 *event) { |
| 18 |
|
|
|
| 19 |
|
|
Fill(event->GetTrack(0)->GetTrkTrack()->GetDeflection(), event->GetTrack(0)->GetTrkTrack()->GetNtot() - 5); |
| 20 |
|
|
|
| 21 |
|
|
} |