Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena-acts
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
Dimitra Amperiadou
athena-acts
Commits
3d8d60f9
Commit
3d8d60f9
authored
7 months ago
by
Frank Winklmeier
Browse files
Options
Downloads
Patches
Plain Diff
TrigMuonEvent: fix uninitMemberVar cppcheck warning
parent
55244b46
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Trigger/TrigEvent/TrigMuonEvent/TrigMuonEvent/TrigMuonEF.h
+5
-5
5 additions, 5 deletions
Trigger/TrigEvent/TrigMuonEvent/TrigMuonEvent/TrigMuonEF.h
Trigger/TrigEvent/TrigMuonEvent/src/TrigMuonEF.cxx
+2
-7
2 additions, 7 deletions
Trigger/TrigEvent/TrigMuonEvent/src/TrigMuonEF.cxx
with
7 additions
and
12 deletions
Trigger/TrigEvent/TrigMuonEvent/TrigMuonEvent/TrigMuonEF.h
+
5
−
5
View file @
3d8d60f9
// -*- c++ -*-
/*
Copyright (C) 2002-202
3
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-202
4
CERN for the benefit of the ATLAS collaboration
*/
#ifndef TRIGMUONEVENT_TRIGMUONEF_H
...
...
@@ -28,7 +28,7 @@ class TrigMuonEF : public P4IPtCotThPhiM,
public:
/** Default constructor */
TrigMuonEF
(
);
TrigMuonEF
(
)
=
default
;
// /** Default constructor */
TrigMuonEF
(
double
theIPt
,
double
theCotTh
,
double
thePhi
,
double
theM
);
...
...
@@ -40,7 +40,7 @@ public:
TrigMuonEF
&
operator
=
(
const
TrigMuonEF
&
rhs
)
=
delete
;
/** Destructor */
~
TrigMuonEF
();
virtual
~
TrigMuonEF
();
/* set methods */
/** Set MuonCode */
...
...
@@ -65,9 +65,9 @@ public:
private
:
/** what kind of track we are dealing with (Moore, StandAlone, Combined) */
int
m_muonCode
;
int
m_muonCode
{
0
}
;
std
::
string
m_roi
;
double
m_charge
;
double
m_charge
{
0
}
;
};
...
...
This diff is collapsed.
Click to expand it.
Trigger/TrigEvent/TrigMuonEvent/src/TrigMuonEF.cxx
+
2
−
7
View file @
3d8d60f9
/*
Copyright (C) 2002-202
2
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-202
4
CERN for the benefit of the ATLAS collaboration
*/
/*****************************************************************************
...
...
@@ -28,14 +28,9 @@ Nov.2006: A simple AOD containing just track parameters and status for re-runnin
// "Distance" used by the comparison operator(s):
static
const
double
DELTA
=
0.001
;
TrigMuonEF
::
TrigMuonEF
()
:
P4IPtCotThPhiM
(
0.
,
0.
,
0.
,
0.
),
m_muonCode
(
0
){
}
TrigMuonEF
::
TrigMuonEF
(
double
theIPt
,
double
theCotTh
,
double
thePhi
,
double
theM
)
:
P4IPtCotThPhiM
(
theIPt
,
theCotTh
,
thePhi
,
theM
),
m_muonCode
(
0
){
P4IPtCotThPhiM
(
theIPt
,
theCotTh
,
thePhi
,
theM
)
{
}
/** set data member */
...
...
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