11 MuonResolutionPlots::MuonResolutionPlots(
PlotBase* pParent,
const std::string&
sDir,
const std::string& sType,
bool doBinnedResolutionPlots):
13 m_oResolutionPlots(this,
"", sType),
15 m_doBinnedResolutionPlots(doBinnedResolutionPlots)
17 const int sizeOf_ptBins=7;
18 Double_t ptBins[sizeOf_ptBins] = {5, 15, 30, 45, 60, 100, 200};
19 const int sizeOf_etaBins=10;
20 Double_t
etaBins[sizeOf_etaBins] = {-2.7, -2.5, -1.7, -1.05, -0.1, 0.1, 1.05, 1.7, 2.5, 2.7};
21 const int sizeOf_phiBins=9;
22 Double_t phiBins[sizeOf_phiBins] = {-3.15, -2.4, -1.6, -0.8, 0, 0.8, 1.6, 2.4, 3.15};
30 sizeOf_ptBins-1, &ptBins[0], 100,-0.5,0.5);
32 sizeOf_etaBins-1, &
etaBins[0], 100,-0.5,0.5);
34 sizeOf_phiBins-1, &phiBins[0], 100,-0.5,0.5);
37 sizeOf_ptBins-1, &ptBins[0], 100,-0.5,0.5);
39 sizeOf_ptBins-1, &ptBins[0], 100,-0.5,0.5);
49 float pt = 0.001*truthMu.
pt();
50 float eta = truthMu.
eta();
51 float phi = truthMu.
phi();
52 float respt = (muPrimaryTrk.
pt() - truthMu.
pt())/truthMu.
pt();