ATLAS Offline Software
Loading...
Searching...
No Matches
InDetPerfPlot_FakeRate.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef INDETPHYSVALMONITORING_INDETPERFPLOT_FAKERATE
6#define INDETPHYSVALMONITORING_INDETPERFPLOT_FAKERATE
16
17
18
19// local includes
20#include "InDetPlotBase.h"
23
24// std includes
25#include <string>
26
28
31public:
32 InDetPerfPlot_FakeRate(InDetPlotBase* pParent, const std::string& dirName, FakeRateCategory fakeRateCategory = FakeRateCategory::Linked);
33
34 void fill(const xAOD::TrackParticle& track, const bool isFake, float weight, float mu);
35private:
36 TEfficiency* m_fakerate_vs_eta;
37 TEfficiency* m_fakerate_vs_pt;
38 TEfficiency* m_fakerate_vs_lowpt;
39 TEfficiency* m_fakerate_vs_phi;
40 TEfficiency* m_fakerate_vs_d0;
41 TEfficiency* m_fakerate_vs_z0;
42 TEfficiency* m_fakerate_vs_mu;
43
44 // Tweak the y-axis label if not "Linked"
46
47 // plot base has nop default implementation of this; we use it to book the histos
48 void initializePlots();
49 void finalizePlots();
50};
51
52#endif
InDetPerfPlot_FakeRate(InDetPlotBase *pParent, const std::string &dirName, FakeRateCategory fakeRateCategory=FakeRateCategory::Linked)
void fill(const xAOD::TrackParticle &track, const bool isFake, float weight, float mu)
FakeRateCategory m_fakeRateCategory
InDetPlotBase(InDetPlotBase *pParent, const std::string &dirName)
Constructor taking parent node and directory name for plots.
TrackParticle_v1 TrackParticle
Reference the current persistent version: