Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
atlas
athena
Merge requests
!45843
Sweeping
!45799
from master to 22.0-mc20. PhysValMonitoring clang-tidy related fixes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Sweeping
!45799
from master to 22.0-mc20. PhysValMonitoring clang-tidy related fixes
cherry-pick-73d261eb725-22.0-mc20
into
22.0-mc20
Overview
4
Commits
1
Pipelines
1
Changes
10
Closed
Atlas Nightlybuild
requested to merge
cherry-pick-73d261eb725-22.0-mc20
into
22.0-mc20
3 years ago
Overview
4
Commits
1
Pipelines
1
Changes
10
Expand
PhysValMonitoring clang-tidy related fixes
See merge request
!45799 (merged)
0
0
Merge request reports
Compare
22.0-mc20
22.0-mc20 (base)
and
latest version
latest version
a9a58577
1 commit,
3 years ago
10 files
+
82
−
70
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
PhysicsAnalysis/PhysicsValidation/PhysValMonitoring/src/BTagPlots.cxx
+
8
−
4
Options
/*
Copyright (C) 2002-201
7
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
2
1 CERN for the benefit of the ATLAS collaboration
*/
#include
<utility>
#include
"BTagPlots.h"
using
CLHEP
::
GeV
;
namespace
PhysVal
{
BTagPlots
::
BTagPlots
(
PlotBase
*
pParent
,
std
::
string
sDir
,
std
::
string
sParticleType
)
:
PlotBase
(
pParent
,
sDir
),
m_sParticleType
(
sParticleType
)
BTagPlots
::
BTagPlots
(
PlotBase
*
pParent
,
const
std
::
string
&
sDir
,
std
::
string
sParticleType
)
:
PlotBase
(
pParent
,
sDir
),
m_sParticleType
(
std
::
move
(
sParticleType
)
)
{}
void
BTagPlots
::
initializePlots
(){
@@ -20,7 +24,7 @@ void BTagPlots::initializePlots(){
std
::
cout
<<
"filling b-tagging plots with BS weight: "
<<
evt
->
beamSpotWeight
();
}
void
BTagPlots
::
fill
(
unsigned
int
nbtag
,
const
xAOD
::
EventInfo
*
evt
){
void
BTagPlots
::
fill
(
unsigned
int
nbtag
,
const
xAOD
::
EventInfo
*
evt
)
const
{
n
->
Fill
(
nbtag
,
evt
->
beamSpotWeight
());
}
}
Loading