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 <unordered_set>
17
namespace
MuonR4
{
18
class
SpacePoint
;
19
class
CalibratedSpacePoint
;
20
class
Segment
;
21
class
SegmentSeed
;
22
class
SpacePointBucket
;
24
const
xAOD::MuonSimHit
*
getTruthMatchedHit
(
const
xAOD::MuonMeasurement
& prdHit);
26
std::unordered_set<const xAOD::MuonSimHit*>
getMatchingSimHits
(
const
xAOD::MuonSegment
& segment);
29
std::unordered_set<const xAOD::MuonSimHit*>
getMatchingSimHits
(
const
std::vector<const SpacePoint*>& spacePoints);
31
std::unordered_set<const xAOD::MuonSimHit*>
getMatchingSimHits
(
const
std::vector<const CalibratedSpacePoint*>& measurements);
33
std::unordered_set<const xAOD::MuonSimHit*>
getMatchingSimHits
(
const
Segment
& seg);
35
std::unordered_set<const xAOD::MuonSimHit*>
getMatchingSimHits
(
const
SegmentSeed
& seed);
37
std::unordered_set<const xAOD::MuonSimHit*>
getMatchingSimHits
(
const
SpacePointBucket
& bucket);
39
const
xAOD::TruthParticle
*
getTruthMatchedParticle
(
const
xAOD::MuonSegment
& segment);
41
const
xAOD::MuonSegment
*
getMatchedTruthSegment
(
const
xAOD::MuonSegment
& segment);
43
std::vector<const xAOD::MuonSegment*>
getTruthSegments
(
const
xAOD::TruthParticle
& truthMuon);
45
const
xAOD::MuonSegment
*
getMatchedTruthSegment
(
const
xAOD::MuonSimHit
&
hit
);
47
const
xAOD::TruthParticle
*
getTruthMatchedParticle
(
const
xAOD::MuonSimHit
&
hit
);
48
}
49
50
#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
GlobalPattern.h:14
MuonR4::getTruthMatchedParticle
const xAOD::TruthParticle * getTruthMatchedParticle(const xAOD::MuonSegment &segment)
Returns the particle truth-matched to the segment.
Definition
MuonSimHitHelpers.cxx:114
MuonR4::getMatchingSimHits
std::unordered_set< const xAOD::MuonSimHit * > getMatchingSimHits(const xAOD::MuonSegment &segment)
: Returns all sim hits matched to a xAOD::MuonSegment
Definition
MuonSimHitHelpers.cxx:38
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:27
MuonR4::getTruthSegments
std::vector< const xAOD::MuonSegment * > getTruthSegments(const xAOD::TruthParticle &truthMuon)
Returns the segments associated to the truth muon.
Definition
MuonSimHitHelpers.cxx:151
MuonR4::getMatchedTruthSegment
const xAOD::MuonSegment * getMatchedTruthSegment(const xAOD::MuonSegment &segment)
Returns the truth-matched segment.
Definition
MuonSimHitHelpers.cxx:125
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