| 1 |
/* |
| 2 |
* TrkXAngHistoAction.cpp |
| 3 |
* |
| 4 |
* Created on: 2009-11-23 |
| 5 |
* Author: S. Ricciarini |
| 6 |
*/ |
| 7 |
|
| 8 |
/*! @file TrkXAngHistoAction.cpp The TrkXAngHistoAction class implementation file. */ |
| 9 |
|
| 10 |
#include "TrkXAngHistoAction.h" |
| 11 |
|
| 12 |
TrkXAngHistoAction::TrkXAngHistoAction(const char *actionName, TString outFileBase, TString mode, bool outRoot, bool outText, TString title): |
| 13 |
Histo1DAction<Int_t> (actionName, title, outFileBase, mode, outRoot, outText) { |
| 14 |
SetXAxis("XZ angle (deg)",100,-30.,+30.); |
| 15 |
} |
| 16 |
|
| 17 |
void TrkXAngHistoAction::OnGood(PamLevel2 *event) { |
| 18 |
|
| 19 |
Float_t angle = event->GetTrack(0)->GetTrkTrack()->axv[0]; |
| 20 |
Fill(angle); |
| 21 |
|
| 22 |
} |