1 |
/* |
2 |
* CaloDedxVsBetaHistoAction.cpp |
3 |
* |
4 |
* Created on: 11/set/2009 |
5 |
* Author: Nicola Mori |
6 |
*/ |
7 |
|
8 |
/*! @file CaloDedxVsBetaHistoAction.cpp The CaloDedxVsBetaHistoAction class implementation file. */ |
9 |
|
10 |
#include "CaloDedxVsBetaHistoAction.h" |
11 |
|
12 |
CaloDedxVsBetaHistoAction::CaloDedxVsBetaHistoAction(const char *actionName, unsigned int plane, unsigned int view, TString outFileBase, |
13 |
TString mode, bool outRoot, bool outText, TString title) : |
14 |
Histo2DAction<Int_t> (actionName, title, outFileBase, mode, outRoot, outText), _plane(plane), _view(view) { |
15 |
} |
16 |
|
17 |
void CaloDedxVsBetaHistoAction::OnGood(PamLevel2 *event) { |
18 |
|
19 |
//Fill(event->GetTrack(0)->GetToFTrack()->beta[12], event->GetCaloLevel1()->qtotpl(_view, _plane)); |
20 |
Fill(event->GetTrack(0)->GetToFTrack()->beta[12], event->GetCaloLevel2()->qtot); |
21 |
|
22 |
} |