1 |
/* |
2 |
* CaloQtotHistoAction.cpp |
3 |
* |
4 |
* Created on: 2010-03-12 |
5 |
* Author: S. Ricciarini |
6 |
*/ |
7 |
|
8 |
/*! @file CaloQtotHistoAction.cpp The CaloQtotHistoAction class implementation file. */ |
9 |
|
10 |
#include "CaloQtotHistoAction.h" |
11 |
|
12 |
CaloQtotHistoAction::CaloQtotHistoAction(const char *actionName, TString outFileBase, |
13 |
TString mode, bool outRoot, bool outText, TString title) : |
14 |
Histo1DAction<Double_t> (actionName, title, outFileBase, mode, outRoot, outText) { |
15 |
} |
16 |
|
17 |
void CaloQtotHistoAction::OnGood(PamLevel2 *event) { |
18 |
|
19 |
Double_t qTot = event->GetCaloLevel2()->qtot; |
20 |
Fill(qTot); |
21 |
|
22 |
} |