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
!75530
MuonHitTminigTools - Minor clean-up of the timing tools. Mainly remove unneeded method
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
MuonHitTminigTools - Minor clean-up of the timing tools. Mainly remove unneeded method
jojungge/athena:CleanTimeToolIface
into
main
Overview
6
Commits
2
Pipelines
0
Changes
8
Merged
Johannes Junggeburth
requested to merge
jojungge/athena:CleanTimeToolIface
into
main
3 months ago
Overview
6
Commits
2
Pipelines
0
Changes
8
Expand
0
0
Merge request reports
Compare
main
version 1
82864c81
3 months ago
main (base)
and
latest version
latest version
75d82b11
2 commits,
3 months ago
version 1
82864c81
1 commit,
3 months ago
8 files
+
36
−
70
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
Event/xAOD/xAODMuonCnv/xAODMuonCnv/IMuonSegmentConverterTool.h
+
6
−
9
Options
/*
Copyright (C) 2002-20
17
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
24
CERN for the benefit of the ATLAS collaboration
*/
#ifndef XAOD_IMUONSEGMENTCONVERTERTOOL_H
@@ -12,30 +12,27 @@
#include
"AthLinks/ElementLink.h"
#include
"TrkSegment/SegmentCollection.h"
static
const
InterfaceID
IID_IMuonSegmentConverterTool
(
"Muon::IMuonSegmentConverterTool"
,
1
,
0
);
namespace
xAODMaker
{
/** Interface for tools calculating hit count summaries for track */
class
IMuonSegmentConverterTool
:
virtual
public
IAlgTool
{
public:
virtual
~
IMuonSegmentConverterTool
()
=
default
;
/** IAlgTool interface */
static
const
InterfaceID
&
interfaceID
(
);
DeclareInterfaceID
(
xAODMaker
::
IMuonSegmentConverterTool
,
1
,
0
);
/** @brief convert a ElementLink to a Trk::Segment (should be of type MuonSegment) to a xAOD::MuonSegment, the segment is add to the container if provided
so the caller should not delete it */
virtual
xAOD
::
MuonSegment
*
convert
(
const
ElementLink
<
::
Trk
::
SegmentCollection
>&
segLink
,
xAOD
::
MuonSegmentContainer
*
container
=
0
)
const
=
0
;
xAOD
::
MuonSegmentContainer
*
container
=
nullptr
)
const
=
0
;
/** @brief convert a Muon::MuonSegment to a xAOD::MuonSegment, the segment is add to the container if provided
so the caller should not delete it */
virtual
xAOD
::
MuonSegment
*
convert
(
const
Muon
::
MuonSegment
&
seg
,
xAOD
::
MuonSegmentContainer
*
container
=
0
)
const
=
0
;
xAOD
::
MuonSegmentContainer
*
container
=
nullptr
)
const
=
0
;
};
inline
const
InterfaceID
&
IMuonSegmentConverterTool
::
interfaceID
()
{
return
IID_IMuonSegmentConverterTool
;
}
}
// end of name space
Loading