ATLAS Offline Software
Loading...
Searching...
No Matches
TrackPlots.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef EGAMMAPHYSVALMONITORING_TRACKPLOTS_H
6#define EGAMMAPHYSVALMONITORING_TRACKPLOTS_H
7
10#include "xAODEgamma/Electron.h"
13
14namespace Egamma{
15
16class TrackPlots:public PlotBase {
17 public:
18 TrackPlots(PlotBase* pParent, const std::string& sDir, std::string sParticleType);
19 void fill(const xAOD::Electron& electron, const xAOD::EventInfo& eventInfo);
20
21 std::string m_sParticleType;
22
23 TH1* deta;
24 TH1* dphi;
25 TH1* d0;
26 TH1* z0;
28 TH1* blayer;
29 TH1* pixel;
30 TH1* sct;
31 TH1* si;
32 TH1* trt;
33 TH1* trt_xe;
35 TH1* trt_ht;
38 TH1* eProbHT;
40 TH1* EoverP;
44
45 unsigned m_d0_nBins = 200;
46 unsigned m_d0sig_nBins = 50;
47 unsigned m_z0_nBins = 200;
48 std::vector<double> m_d0Range = {-100.0,100.0};
49 std::vector<double> m_d0sigRange = {-25.0,25.0};
50 std::vector<double> m_z0Range = {-100.0,100.0};
51
52 void Set_d0_nBins(unsigned d0_nBins);
53 void Set_d0sig_nBins(unsigned d0sig_nBins);
54 void Set_z0_nBins(unsigned z0_nBins);
55 void Set_d0_Bins(const std::vector<double> &d0Range);
56 void Set_d0sig_Bins(const std::vector<double> &d0sigRange);
57 void Set_z0_Bins(const std::vector<double> &z0Range);
58
59 unsigned Get_d0_nBins(){ return m_d0_nBins; };
60 unsigned Get_d0sig_nBins(){ return m_d0sig_nBins; };
61 unsigned Get_z0_nBins(){ return m_z0_nBins; };
62 const std::vector<double>& Get_d0_Bins(){ return m_d0Range; };
63 const std::vector<double>& Get_d0sig_Bins(){ return m_d0sigRange; };
64 const std::vector<double>& Get_z0_Bins(){ return m_z0Range; };
65
66
67 private:
68 virtual void initializePlots();
69
70};
71
72}
73
74#endif
std::vector< double > m_d0sigRange
Definition TrackPlots.h:49
unsigned m_d0sig_nBins
Definition TrackPlots.h:46
void Set_d0sig_nBins(unsigned d0sig_nBins)
std::string m_sParticleType
Definition TrackPlots.h:21
const std::vector< double > & Get_z0_Bins()
Definition TrackPlots.h:64
void Set_d0sig_Bins(const std::vector< double > &d0sigRange)
std::vector< double > m_d0Range
Definition TrackPlots.h:48
unsigned m_d0_nBins
Definition TrackPlots.h:45
unsigned m_z0_nBins
Definition TrackPlots.h:47
std::vector< double > m_z0Range
Definition TrackPlots.h:50
TrackPlots(PlotBase *pParent, const std::string &sDir, std::string sParticleType)
void Set_z0_Bins(const std::vector< double > &z0Range)
void Set_d0_Bins(const std::vector< double > &d0Range)
void Set_d0_nBins(unsigned d0_nBins)
unsigned Get_d0sig_nBins()
Definition TrackPlots.h:60
unsigned Get_z0_nBins()
Definition TrackPlots.h:61
const std::vector< double > & Get_d0sig_Bins()
Definition TrackPlots.h:63
void fill(const xAOD::Electron &electron, const xAOD::EventInfo &eventInfo)
virtual void initializePlots()
const std::vector< double > & Get_d0_Bins()
Definition TrackPlots.h:62
unsigned Get_d0_nBins()
Definition TrackPlots.h:59
void Set_z0_nBins(unsigned z0_nBins)
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
EventInfo_v1 EventInfo
Definition of the latest event info version.
Electron_v1 Electron
Definition of the current "egamma version".