1 |
/* |
2 |
* TrkMDRHistoAction.cpp |
3 |
* |
4 |
* Created on: 03-aug-2009 |
5 |
* Author: S. Ricciarini |
6 |
*/ |
7 |
|
8 |
/*! @file TrkMDRHistoAction.cpp The TrkMDRHistoAction class implementation file. */ |
9 |
|
10 |
#include "TrkMDRHistoAction.h" |
11 |
|
12 |
TrkMDRHistoAction::TrkMDRHistoAction(const char *actionName, TString outFileBase, |
13 |
TString mode, bool outRoot, bool outText, TString title) : |
14 |
Histo1DAction<Int_t> (actionName, title, outFileBase, mode, outRoot, outText) { |
15 |
} |
16 |
|
17 |
void TrkMDRHistoAction::OnGood(PamLevel2 *event) { |
18 |
|
19 |
Fill(1. / (pow(event->GetTrack(0)->GetTrkTrack()->coval[4][4], 0.5))); |
20 |
|
21 |
} |