| 1 |
/* |
| 2 |
* TofBetaVsTrkRigHistoAction.cpp |
| 3 |
* |
| 4 |
* Created on: 14/set/2009 |
| 5 |
* Author: Nicola Mori |
| 6 |
*/ |
| 7 |
|
| 8 |
#include "TofBetaVsTrkRigHistoAction.h" |
| 9 |
|
| 10 |
TofBetaVsTrkRigHistoAction::TofBetaVsTrkRigHistoAction(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 TofBetaVsTrkRigHistoAction::OnGood(PamLevel2 *event) { |
| 16 |
|
| 17 |
Fill(event->GetTrack(0)->GetTrkTrack()->GetRigidity(), event->GetTrack(0)->GetToFTrack()->beta[12]); |
| 18 |
} |