ATLAS Offline Software
Loading...
Searching...
No Matches
ZeePlots.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ZEEVALIDATION_ZEEPLOTS_H
6#define ZEEVALIDATION_ZEEPLOTS_H
7
9#include "CLHEP/Units/SystemOfUnits.h"
10#include "xAODEgamma/Electron.h"
11#include "TLorentzVector.h"
12
13namespace ZeeValidation{
14
15 class ZeePlots:public PlotBase {
16 public:
17 ZeePlots(PlotBase* pParent, const std::string& sDir, const std::string& sParticleType);
18
19 void fillZPlots( TLorentzVector& z, int level );
20 void fillElectronPlots( TLorentzVector& elec1, TLorentzVector& elec2, TLorentzVector& cluster1, TLorentzVector& cluster2, TLorentzVector& track1, TLorentzVector& track2,int charge1, int charge2, int level );
21 void fillGenPlots( int nel );
22
23 //nLevels = 5*2 ( Loose, Medium, Tight, OQ, Reco * OS/SS)
24 static const int nLevels = 10;
25 static const std::string cLevelLabel[nLevels];
26
27 std::string m_sParticleType;
28
29 TH1* h_n_el;
30
34
36
41
49
50 private:
51
52 virtual void initializePlots();
53
54
55 };
56}
57
58#endif
#define z
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
static const std::string cLevelLabel[nLevels]
Definition ZeePlots.h:25
TH1 * h_z_mass[nLevels]
Definition ZeePlots.h:31
void fillGenPlots(int nel)
Definition ZeePlots.cxx:114
TH1 * h_eoverpq_electrons[nLevels]
Definition ZeePlots.h:48
TH1 * h_z_y[nLevels]
Definition ZeePlots.h:33
TH1 * h_eoverp_electrons[nLevels]
Definition ZeePlots.h:47
TH1 * h_ptclust_electron1[nLevels]
Definition ZeePlots.h:37
TH1 * h_phi_electrons[nLevels]
Definition ZeePlots.h:46
TH1 * h_dr_electrons[nLevels]
Definition ZeePlots.h:35
std::string m_sParticleType
Definition ZeePlots.h:27
virtual void initializePlots()
Definition ZeePlots.cxx:48
TH1 * h_pt_electrons[nLevels]
Definition ZeePlots.h:44
TH1 * h_etaclust_electrons[nLevels]
Definition ZeePlots.h:43
TH1 * h_etaclust_electron2[nLevels]
Definition ZeePlots.h:40
static const int nLevels
Definition ZeePlots.h:24
TH1 * h_eta_electrons[nLevels]
Definition ZeePlots.h:45
void fillElectronPlots(TLorentzVector &elec1, TLorentzVector &elec2, TLorentzVector &cluster1, TLorentzVector &cluster2, TLorentzVector &track1, TLorentzVector &track2, int charge1, int charge2, int level)
Definition ZeePlots.cxx:82
ZeePlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
Definition ZeePlots.cxx:11
TH1 * h_etaclust_electron1[nLevels]
Definition ZeePlots.h:39
TH1 * h_ptclust_electrons[nLevels]
Definition ZeePlots.h:42
TH1 * h_ptclust_electron2[nLevels]
Definition ZeePlots.h:38
TH1 * h_z_pt[nLevels]
Definition ZeePlots.h:32
void fillZPlots(TLorentzVector &z, int level)
Definition ZeePlots.cxx:76