ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
Event
MuonTruthHelpers
MuonTruthHelpers
MuonSimHitHelpers.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONTRUTHHELPERS_MUONSIMHITHELPERS_H
5
#define MUONTRUTHHELPERS_MUONSIMHITHELPERS_H
6
7
#include <
xAODMuonPrepData/MuonMeasurementFwd.h
>
8
#include <
xAODMuonSimHit/MuonSimHit.h
>
9
#include <
xAODMuon/MuonSegment.h
>
10
#include <
xAODTruth/TruthParticle.h
>
11
12
#include <vector>
13
#include <span>
18
namespace
MuonR4
{
19
class
SpacePoint
;
20
class
CalibratedSpacePoint
;
21
class
Segment
;
22
class
SegmentSeed
;
23
class
SpacePointBucket
;
25
const
xAOD::MuonSimHit
*
getTruthMatchedHit
(
const
xAOD::MuonMeasurement
& prdHit);
27
std::vector<const xAOD::MuonSimHit*>
getMatchingSimHits
(
const
xAOD::MuonSegment
& segment);
30
std::vector<const xAOD::MuonSimHit*>
getMatchingSimHits
(std::span<const SpacePoint* const> spacePoints);
32
std::vector<const xAOD::MuonSimHit*>
getMatchingSimHits
(std::span<const CalibratedSpacePoint* const> measurements);
34
std::vector<const xAOD::MuonSimHit*>
getMatchingSimHits
(
const
Segment
& seg);
36
std::vector<const xAOD::MuonSimHit*>
getMatchingSimHits
(
const
SegmentSeed
& seed);
38
std::vector<const xAOD::MuonSimHit*>
getMatchingSimHits
(
const
SpacePointBucket
& bucket);
40
const
xAOD::TruthParticle
*
getTruthMatchedParticle
(
const
xAOD::MuonSegment
& segment);
42
const
xAOD::MuonSegment
*
getMatchedTruthSegment
(
const
xAOD::MuonSegment
& segment);
44
std::vector<const xAOD::MuonSegment*>
getTruthSegments
(
const
xAOD::TruthParticle
& truthMuon);
46
const
xAOD::MuonSegment
*
getMatchedTruthSegment
(
const
xAOD::MuonSimHit
&
hit
);
48
const
xAOD::TruthParticle
*
getTruthMatchedParticle
(
const
xAOD::MuonSimHit
&
hit
);
49
}
50
51
#endif
MuonSegment.h
TruthParticle.h
hit
bool hit(const Container &ids, int pdgId)
Definition
JetIRCSafeLabelTool.cxx:64
MuonMeasurementFwd.h
MuonSimHit.h
MuonR4::CalibratedSpacePoint
The calibrated Space point is created during the calibration process.
Definition
CalibratedSpacePoint.h:15
MuonR4::SegmentSeed
Representation of a segment seed (a fully processed hough maximum) produced by the hough transform.
Definition
SegmentSeed.h:14
MuonR4::Segment
Placeholder for what will later be the muon segment EDM representation.
Definition
MuonSpectrometer/MuonPhaseII/Event/MuonPatternEvent/MuonPatternEvent/Segment.h:21
MuonR4::SpacePointBucket
: The muon space point bucket represents a collection of points that will bre processed together in t...
Definition
MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h:21
MuonR4::SpacePoint
The muon space point is the combination of two uncalibrated measurements one of them measures the eta...
Definition
MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h:25
MuonR4
This header ties the generic definitions in this package.
Definition
FastRecoUtils.h:12
MuonR4::getTruthMatchedParticle
const xAOD::TruthParticle * getTruthMatchedParticle(const xAOD::MuonSegment &segment)
Returns the particle truth-matched to the segment.
Definition
MuonSimHitHelpers.cxx:125
MuonR4::getTruthMatchedHit
const xAOD::MuonSimHit * getTruthMatchedHit(const xAOD::MuonMeasurement &prdHit)
Returns the MuonSimHit, if there's any, matched to the uncalibrated muon measurement.
Definition
MuonSimHitHelpers.cxx:52
MuonR4::getMatchingSimHits
std::vector< const xAOD::MuonSimHit * > getMatchingSimHits(const xAOD::MuonSegment &segment)
: Returns all sim hits matched to a xAOD::MuonSegment
Definition
MuonSimHitHelpers.cxx:63
MuonR4::getTruthSegments
std::vector< const xAOD::MuonSegment * > getTruthSegments(const xAOD::TruthParticle &truthMuon)
Returns the segments associated to the truth muon.
Definition
MuonSimHitHelpers.cxx:163
MuonR4::getMatchedTruthSegment
const xAOD::MuonSegment * getMatchedTruthSegment(const xAOD::MuonSegment &segment)
Returns the truth-matched segment.
Definition
MuonSimHitHelpers.cxx:137
xAOD::MuonMeasurement
MuonMeasurement_v1 MuonMeasurement
Definition
MuonMeasurementFwd.h:11
xAOD::MuonSimHit
MuonSimHit_v1 MuonSimHit
Defined the version of the MuonSimHit.
Definition
MuonSimHit.h:12
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
xAOD::MuonSegment
MuonSegment_v1 MuonSegment
Reference the current persistent version:
Definition
Event/xAOD/xAODMuon/xAODMuon/MuonSegment.h:13
Generated on
for ATLAS Offline Software by
1.17.0