16 LRTElectronPlots::LRTElectronPlots(
PlotBase* pParent,
const std::string&
sDir,
17 const std::string& sParticleType):
PlotBase(pParent,
sDir),
18 m_oKinAllRecoPlots(this,
"All/KinPlots/",
"All Reco "+ sParticleType +
" Electron"),
19 m_oShowerShapesAllRecoPlots(this,
"All/ShowerShapesPlots/",
"All Reco "+ sParticleType +
" Electron" ),
20 m_oIsolationAllRecoPlots(this,
"All/IsolationPlots/",
"All Reco "+ sParticleType +
" Electron" ),
21 m_oTrackAllRecoPlots(this,
"All/TrackPlots/",
"All Reco "+ sParticleType +
" Electron" ),
22 m_oKinIsoRecoPlots(this,
"Iso/KinPlots/",
"Iso Reco "+ sParticleType +
" Electron"),
23 m_oShowerShapesIsoRecoPlots(this,
"Iso/ShowerShapesPlots/",
"Iso Reco "+ sParticleType +
" Electron" ),
24 m_oIsolationIsoRecoPlots(this,
"Iso/IsolationPlots/",
"Iso Reco "+ sParticleType +
" Electron" ),
25 m_oTrackIsoRecoPlots(this,
"Iso/TrackPlots/",
"Iso Reco "+ sParticleType +
" Electron" ),
27 m_oKinIsoLHLoosePlots(this,
"IsoLHLoose/KinPlots/",
"LHLoose "+ sParticleType +
" Electron"),
28 m_oShowerShapesIsoLHLoosePlots(this,
"IsoLHLoose/ShowerShapesPlots/",
"LHLoose "+ sParticleType +
" Electron" ),
29 m_oIsolationIsoLHLoosePlots(this,
"IsoLHLoose/IsolationPlots/",
"LHLoose "+ sParticleType +
" Electron" ),
30 m_oTrackIsoLHLoosePlots(this,
"IsoLHLoose/TrackPlots/",
"LHLoose "+ sParticleType +
" Electron" ),
31 m_oKinIsoLHMediumPlots(this,
"IsoLHMedium/KinPlots/",
"LHMedium "+ sParticleType +
" Electron"),
32 m_oShowerShapesIsoLHMediumPlots(this,
"IsoLHMedium/ShowerShapesPlots/",
"LHMedium "+ sParticleType +
" Electron" ),
33 m_oIsolationIsoLHMediumPlots(this,
"IsoLHMedium/IsolationPlots/",
"LHMedium "+ sParticleType +
" Electron" ),
34 m_oTrackIsoLHMediumPlots(this,
"IsoLHMedium/TrackPlots/",
"LHMedium "+ sParticleType +
" Electron" ),
35 m_oKinIsoLHTightPlots(this,
"IsoLHTight/KinPlots/",
"LHTight "+ sParticleType +
" Electron"),
36 m_oShowerShapesIsoLHTightPlots(this,
"IsoLHTight/ShowerShapesPlots/",
"LHTight "+ sParticleType +
" Electron" ),
37 m_oIsolationIsoLHTightPlots(this,
"IsoLHTight/IsolationPlots/",
"LHTight "+ sParticleType +
" Electron" ),
38 m_oTrackIsoLHTightPlots(this,
"IsoLHTight/TrackPlots/",
"LHTight "+ sParticleType +
" Electron" ),
40 m_oKinPromptRecoPlots(this,
"Truth_matched/KinPlots/",
"Truth matched Reco "+ sParticleType +
" Electron"),
41 m_oShowerShapesPromptRecoPlots(this,
"Truth_matched/ShowerShapesPlots/",
"Truth matched Reco "+ sParticleType +
" Electron" ),
42 m_oIsolationPromptRecoPlots(this,
"Truth_matched/IsolationPlots/",
"Truth matched Reco "+ sParticleType +
" Electron" ),
43 m_oTrackPromptRecoPlots(this,
"Truth_matched/TrackPlots/",
"Truth matched Reco "+ sParticleType +
" Electron" ),
44 m_oKinPromptLHLoosePlots(this,
"Truth_matched_LHLoose/KinPlots/",
"Truth matched LHLoose "+ sParticleType +
" Electron"),
45 m_oShowerShapesPromptLHLoosePlots(this,
"Truth_matched_LHLoose/ShowerShapesPlots/",
"Truth matched LHLoose "+ sParticleType +
" Electron" ),
46 m_oIsolationPromptLHLoosePlots(this,
"Truth_matched_LHLoose/IsolationPlots/",
"Truth matched LHLoose "+ sParticleType +
" Electron" ),
47 m_oTrackPromptLHLoosePlots(this,
"Truth_matched_LHLoose/TrackPlots/",
"Truth matched LHLoose "+ sParticleType +
" Electron" ),
48 m_oKinPromptLHMediumPlots(this,
"Truth_matched_LHMedium/KinPlots/",
"Truth matched LHMedium "+ sParticleType +
" Electron"),
49 m_oShowerShapesPromptLHMediumPlots(this,
"Truth_matched_LHMedium/ShowerShapesPlots/",
"Truth matched LHMedium "+ sParticleType +
" Electron" ),
50 m_oIsolationPromptLHMediumPlots(this,
"Truth_matched_LHMedium/IsolationPlots/",
"Truth matched LHMedium "+ sParticleType +
" Electron" ),
51 m_oTrackPromptLHMediumPlots(this,
"Truth_matched_LHMedium/TrackPlots/",
"Truth matched LHMedium "+ sParticleType +
" Electron" ),
52 m_oKinPromptLHTightPlots(this,
"Truth_matched_LHTight/KinPlots/",
"Truth matched LHTight "+ sParticleType +
" Electron"),
53 m_oShowerShapesPromptLHTightPlots(this,
"Truth_matched_LHTight/ShowerShapesPlots/",
"Truth matched LHTight "+ sParticleType +
" Electron" ),
54 m_oIsolationPromptLHTightPlots(this,
"Truth_matched_LHTight/IsolationPlots/",
"Truth matched LHTight "+ sParticleType +
" Electron" ),
55 m_oTrackPromptLHTightPlots(this,
"Truth_matched_LHTight/TrackPlots/",
"Truth matched LHTight "+ sParticleType +
" Electron" ),
57 m_oKinLHVeryLooseNoPixPlots(this,
"LHVeryLooseNoPix/KinPlots/",
"LHVeryLooseNoPix "+ sParticleType +
" Electron"),
58 m_oShowerShapesLHVeryLooseNoPixPlots(this,
"LHVeryLooseNoPix/ShowerShapesPlots/",
"LHVeryLooseNoPix "+ sParticleType +
" Electron" ),
59 m_oIsolationLHVeryLooseNoPixPlots(this,
"LHVeryLooseNoPix/IsolationPlots/",
"LHVeryLooseNoPix "+ sParticleType +
" Electron" ),
60 m_oTrackLHVeryLooseNoPixPlots(this,
"LHVeryLooseNoPix/TrackPlots/",
"LHVeryLooseNoPix "+ sParticleType +
" Electron" ),
62 m_oKinLHLooseNoPixPlots(this,
"LHLooseNoPix/KinPlots/",
"LHLooseNoPix "+ sParticleType +
" Electron"),
63 m_oShowerShapesLHLooseNoPixPlots(this,
"LHLooseNoPix/ShowerShapesPlots/",
"LHLooseNoPix "+ sParticleType +
" Electron" ),
64 m_oIsolationLHLooseNoPixPlots(this,
"LHLooseNoPix/IsolationPlots/",
"LHLooseNoPix "+ sParticleType +
" Electron" ),
65 m_oTrackLHLooseNoPixPlots(this,
"LHLooseNoPix/TrackPlots/",
"LHLooseNoPix "+ sParticleType +
" Electron" ),
67 m_oKinLHMediumNoPixPlots(this,
"LHMediumNoPix/KinPlots/",
"LHMediumNoPix "+ sParticleType +
" Electron"),
68 m_oShowerShapesLHMediumNoPixPlots(this,
"LHMediumNoPix/ShowerShapesPlots/",
"LHMediumNoPix "+ sParticleType +
" Electron" ),
69 m_oIsolationLHMediumNoPixPlots(this,
"LHMediumNoPix/IsolationPlots/",
"LHMediumNoPix "+ sParticleType +
" Electron" ),
70 m_oTrackLHMediumNoPixPlots(this,
"LHMediumNoPix/TrackPlots/",
"LHMediumNoPix "+ sParticleType +
" Electron" ),
72 m_oKinLHTightNoPixPlots(this,
"LHTightNoPix/KinPlots/",
"LHTightNoPix "+ sParticleType +
" Electron"),
73 m_oShowerShapesLHTightNoPixPlots(this,
"LHTightNoPix/ShowerShapesPlots/",
"LHTightNoPix "+ sParticleType +
" Electron" ),
74 m_oIsolationLHTightNoPixPlots(this,
"LHTightNoPix/IsolationPlots/",
"LHTightNoPix "+ sParticleType +
" Electron" ),
75 m_oTrackLHTightNoPixPlots(this,
"LHTightNoPix/TrackPlots/",
"LHTightNoPix "+ sParticleType +
" Electron" ),
78 nParticles_weighted(nullptr),
79 nTypeParticles(nullptr),
80 m_sParticleType(sParticleType)
100 if (pass_LHVeryLooseNoPix){
107 if (pass_LHLooseNoPix){
114 if (pass_LHMediumNoPix){
121 if (pass_LHTightNoPix){
135 bool val_LHloose=
false;
136 electron.passSelection(val_LHloose,
"LHLoose");
149 bool val_LHmed=
false;
150 electron.passSelection(val_LHmed,
"LHMedium");
163 bool val_LHtight=
false;
164 electron.passSelection(val_LHtight,
"LHTight");