1 |
/* |
2 |
* CaloQtotVsGPP0HistoAction.cpp |
3 |
* |
4 |
* Created on: 01/jun/2010 |
5 |
* Author: S. Ricciarini |
6 |
*/ |
7 |
|
8 |
#include "CaloQtotVsGPP0HistoAction.h" |
9 |
|
10 |
CaloQtotVsGPP0HistoAction::CaloQtotVsGPP0HistoAction(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 CaloQtotVsGPP0HistoAction::OnGood(PamLevel2 *event) { |
16 |
|
17 |
Fill(event->GetGPamela()->P0, event->GetCaloLevel2()->qtot); |
18 |
} |