forked from UCATLAS/xAODAnaHelpers
/
ClusterHists.h
37 lines (29 loc) · 1015 Bytes
/
ClusterHists.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef xAODAnaHelpers_ClusterHists_H
#define xAODAnaHelpers_ClusterHists_H
#include "xAODAnaHelpers/HistogramManager.h"
#include "xAODCaloEvent/CaloClusterContainer.h"
ANA_MSG_HEADER(msgClusterHists)
class ClusterHists : public HistogramManager
{
public:
ClusterHists(std::string name, std::string detailStr );
~ClusterHists();
StatusCode initialize();
StatusCode execute( const xAOD::CaloClusterContainer* ccls, float eventWeight );
StatusCode execute( const xAOD::CaloCluster* ccl, float eventWeight );
using HistogramManager::book; // make other overloaded versions of book() to show up in subclass
using HistogramManager::execute; // overload
protected:
// bools to control which histograms are filled
bool m_fillDebugging; //!
private:
// Histograms
TH1F* m_ccl_n; //!
TH1F* m_ccl_e; //!
TH1F* m_ccl_eta; //!
TH1F* m_ccl_phi; //!
TH2F* m_ccl_eta_vs_phi; //!
TH2F* m_ccl_e_vs_eta; //!
TH2F* m_ccl_e_vs_phi; //!
};
#endif