ATLAS Offline Software
ZeePlots.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 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 
13 namespace ZeeValidation{
14 
15  class ZeePlots:public PlotBase {
16  public:
17  ZeePlots(PlotBase* pParent, std::string sDir, 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 
32  TH1* h_z_pt[nLevels];
33  TH1* h_z_y[nLevels];
34 
36 
41 
49 
50  private:
51 
52  virtual void initializePlots();
53 
54 
55  };
56 }
57 
58 #endif
ZeeValidation::ZeePlots::fillGenPlots
void fillGenPlots(int nel)
Definition: ZeePlots.cxx:114
PlotBase
Definition: PlotBase.h:34
ZeeValidation::ZeePlots::h_eta_electrons
TH1 * h_eta_electrons[nLevels]
Definition: ZeePlots.h:45
ZeeValidation::ZeePlots::initializePlots
virtual void initializePlots()
Definition: ZeePlots.cxx:48
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
ZeeValidation::ZeePlots::h_ptclust_electrons
TH1 * h_ptclust_electrons[nLevels]
Definition: ZeePlots.h:42
ZeeValidation::ZeePlots::h_z_y
TH1 * h_z_y[nLevels]
Definition: ZeePlots.h:33
ZeeValidation::ZeePlots::h_eoverp_electrons
TH1 * h_eoverp_electrons[nLevels]
Definition: ZeePlots.h:47
ZeeValidation::ZeePlots::h_etaclust_electrons
TH1 * h_etaclust_electrons[nLevels]
Definition: ZeePlots.h:43
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
ZeeValidation::ZeePlots::m_sParticleType
std::string m_sParticleType
Definition: ZeePlots.h:27
ZeeValidation::ZeePlots::h_ptclust_electron2
TH1 * h_ptclust_electron2[nLevels]
Definition: ZeePlots.h:38
ZeeValidation::ZeePlots
Definition: ZeePlots.h:15
ZeeValidation::ZeePlots::nLevels
static const int nLevels
Definition: ZeePlots.h:24
z
#define z
ZeeValidation::ZeePlots::h_eoverpq_electrons
TH1 * h_eoverpq_electrons[nLevels]
Definition: ZeePlots.h:48
ZeeValidation
Definition: FWDZeePlots.cxx:9
ZeeValidation::ZeePlots::cLevelLabel
static const std::string cLevelLabel[nLevels]
Definition: ZeePlots.h:25
ZeeValidation::ZeePlots::h_pt_electrons
TH1 * h_pt_electrons[nLevels]
Definition: ZeePlots.h:44
ZeeValidation::ZeePlots::h_phi_electrons
TH1 * h_phi_electrons[nLevels]
Definition: ZeePlots.h:46
ZeeValidation::ZeePlots::h_dr_electrons
TH1 * h_dr_electrons[nLevels]
Definition: ZeePlots.h:35
ZeeValidation::ZeePlots::fillZPlots
void fillZPlots(TLorentzVector &z, int level)
Definition: ZeePlots.cxx:76
ZeeValidation::ZeePlots::h_etaclust_electron2
TH1 * h_etaclust_electron2[nLevels]
Definition: ZeePlots.h:40
ZeeValidation::ZeePlots::ZeePlots
ZeePlots(PlotBase *pParent, std::string sDir, std::string sParticleType)
Definition: ZeePlots.cxx:11
Electron.h
ZeeValidation::ZeePlots::h_z_pt
TH1 * h_z_pt[nLevels]
Definition: ZeePlots.h:32
ZeeValidation::ZeePlots::h_ptclust_electron1
TH1 * h_ptclust_electron1[nLevels]
Definition: ZeePlots.h:37
PlotBase.h
ZeeValidation::ZeePlots::h_etaclust_electron1
TH1 * h_etaclust_electron1[nLevels]
Definition: ZeePlots.h:39
ZeeValidation::ZeePlots::h_n_el
TH1 * h_n_el
Definition: ZeePlots.h:29
ZeeValidation::ZeePlots::h_z_mass
TH1 * h_z_mass[nLevels]
Definition: ZeePlots.h:31
ZeeValidation::ZeePlots::fillElectronPlots
void fillElectronPlots(TLorentzVector &elec1, TLorentzVector &elec2, TLorentzVector &cluster1, TLorentzVector &cluster2, TLorentzVector &track1, TLorentzVector &track2, int charge1, int charge2, int level)
Definition: ZeePlots.cxx:82