Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Sherwood
athena
Commits
52a69f5f
Commit
52a69f5f
authored
4 years ago
by
Christos Anastopoulos
Browse files
Options
Downloads
Patches
Plain Diff
ATLASRECTS-5798: EgammaPhysValMonitoring remove duplicate headers
parent
bf291a33
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Reconstruction/egamma/EgammaPhysValMonitoring/src/ElectronPlots.cxx
+9
-14
9 additions, 14 deletions
...tion/egamma/EgammaPhysValMonitoring/src/ElectronPlots.cxx
with
9 additions
and
14 deletions
Reconstruction/egamma/EgammaPhysValMonitoring/src/ElectronPlots.cxx
+
9
−
14
View file @
52a69f5f
...
@@ -7,18 +7,13 @@
...
@@ -7,18 +7,13 @@
#include
"xAODTruth/TruthParticle.h"
#include
"xAODTruth/TruthParticle.h"
#include
"xAODTruth/TruthParticleContainer.h"
#include
"xAODTruth/TruthParticleContainer.h"
#include
"xAODTruth/TruthParticleAuxContainer.h"
#include
"xAODTruth/TruthParticleAuxContainer.h"
#include
"xAODTruth/TruthParticle.h"
#include
"xAODTruth/TruthParticleContainer.h"
#include
"xAODTruth/TruthParticleAuxContainer.h"
#include
<iostream>
#include
<iostream>
using
namespace
std
;
using
namespace
std
;
using
namespace
MCTruthPartClassifier
;
using
namespace
MCTruthPartClassifier
;
namespace
Egamma
{
namespace
Egamma
{
ElectronPlots
::
ElectronPlots
(
PlotBase
*
pParent
,
const
std
::
string
&
sDir
,
ElectronPlots
::
ElectronPlots
(
PlotBase
*
pParent
,
const
std
::
string
&
sDir
,
const
std
::
string
&
sParticleType
)
:
PlotBase
(
pParent
,
sDir
),
const
std
::
string
&
sParticleType
)
:
PlotBase
(
pParent
,
sDir
),
m_oKinAllRecoPlots
(
this
,
"All/KinPlots/"
,
"All Reco "
+
sParticleType
+
" Electron"
),
m_oKinAllRecoPlots
(
this
,
"All/KinPlots/"
,
"All Reco "
+
sParticleType
+
" Electron"
),
m_oShowerShapesAllRecoPlots
(
this
,
"All/ShowerShapesPlots/"
,
"All Reco "
+
sParticleType
+
" Electron"
),
m_oShowerShapesAllRecoPlots
(
this
,
"All/ShowerShapesPlots/"
,
"All Reco "
+
sParticleType
+
" Electron"
),
...
@@ -37,7 +32,7 @@ ElectronPlots::ElectronPlots(PlotBase* pParent, const std::string& sDir,
...
@@ -37,7 +32,7 @@ ElectronPlots::ElectronPlots(PlotBase* pParent, const std::string& sDir,
nParticles
(
nullptr
),
nParticles
(
nullptr
),
nTypeParticles
(
nullptr
),
nTypeParticles
(
nullptr
),
m_sParticleType
(
sParticleType
)
m_sParticleType
(
sParticleType
)
{}
{}
void
ElectronPlots
::
initializePlots
(){
void
ElectronPlots
::
initializePlots
(){
nParticles
=
Book1D
(
"n"
,
"Number of"
+
m_sParticleType
+
"s;#"
+
m_sParticleType
+
" electrons;Events"
,
15
,
0
,
15.
);
nParticles
=
Book1D
(
"n"
,
"Number of"
+
m_sParticleType
+
"s;#"
+
m_sParticleType
+
" electrons;Events"
,
15
,
0
,
15.
);
...
@@ -50,27 +45,27 @@ void ElectronPlots::initializePlots(){
...
@@ -50,27 +45,27 @@ void ElectronPlots::initializePlots(){
m_oShowerShapesAllRecoPlots
.
fill
(
electron
);
m_oShowerShapesAllRecoPlots
.
fill
(
electron
);
m_oIsolationAllRecoPlots
.
fill
(
electron
);
m_oIsolationAllRecoPlots
.
fill
(
electron
);
m_oTrackAllRecoPlots
.
fill
(
electron
);
m_oTrackAllRecoPlots
.
fill
(
electron
);
if
(
!
isPrompt
)
return
;
if
(
!
isPrompt
)
return
;
m_oKinIsoRecoPlots
.
fill
(
electron
);
m_oKinIsoRecoPlots
.
fill
(
electron
);
m_oShowerShapesIsoRecoPlots
.
fill
(
electron
);
m_oShowerShapesIsoRecoPlots
.
fill
(
electron
);
m_oIsolationIsoRecoPlots
.
fill
(
electron
);
m_oIsolationIsoRecoPlots
.
fill
(
electron
);
m_oTrackIsoRecoPlots
.
fill
(
electron
);
m_oTrackIsoRecoPlots
.
fill
(
electron
);
bool
val_loose
=
false
;
bool
val_loose
=
false
;
electron
.
passSelection
(
val_loose
,
"Loose"
);
electron
.
passSelection
(
val_loose
,
"Loose"
);
if
(
val_loose
)
{
if
(
val_loose
)
{
m_oKinIsoLoosePPPlots
.
fill
(
electron
);
m_oKinIsoLoosePPPlots
.
fill
(
electron
);
}
}
bool
val_med
=
false
;
bool
val_med
=
false
;
electron
.
passSelection
(
val_med
,
"Medium"
);
electron
.
passSelection
(
val_med
,
"Medium"
);
if
(
val_med
)
{
if
(
val_med
)
{
m_oKinIsoMediumPPPlots
.
fill
(
electron
);
m_oKinIsoMediumPPPlots
.
fill
(
electron
);
}
}
bool
val_tight
=
false
;
bool
val_tight
=
false
;
electron
.
passSelection
(
val_tight
,
"Tight"
);
electron
.
passSelection
(
val_tight
,
"Tight"
);
if
(
val_tight
)
{
if
(
val_tight
)
{
m_oKinIsoTightPPPlots
.
fill
(
electron
);
m_oKinIsoTightPPPlots
.
fill
(
electron
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment