ATLAS Offline Software
MuonSpectrometer
MuonPhaseII
Event
MuonTruthHelpers
MuonTruthHelpers
MuonSimHitHelpers.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONTRUTHHELPERS_MUONSIMHITHELPERS_H
5
#define MUONTRUTHHELPERS_MUONSIMHITHELPERS_H
6
7
#include <
xAODMeasurementBase/UncalibratedMeasurement.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::UncalibratedMeasurement
& 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
);
42
}
43
44
#endif
UncalibratedMeasurement.h
xAOD::MuonSimHit_v1
Definition:
MuonSimHit_v1.h:18
MuonR4::getTruthMatchedParticle
const xAOD::TruthParticle * getTruthMatchedParticle(const xAOD::MuonSegment &segment)
Returns the particle truth-matched to the segment.
Definition:
MuonSimHitHelpers.cxx:100
Trk::TrackState::Segment
@ Segment
Definition:
TrackStateDefs.h:37
MuonSegment.h
xAOD::MuonSegment_v1
Class describing a MuonSegment.
Definition:
MuonSegment_v1.h:33
MuonR4::getMatchedTruthSegment
const xAOD::MuonSegment * getMatchedTruthSegment(const xAOD::MuonSegment &segment)
Returns the truth-matched segment.
Definition:
MuonSimHitHelpers.cxx:111
MuonSimHit.h
SpacePoint
Definition:
Trigger/TrigAccel/TrigCudaFitter/src/SpacePoint.h:7
xAOD::UncalibratedMeasurement_v1
Definition:
UncalibratedMeasurement_v1.h:13
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition:
TruthParticle_v1.h:37
F600IntegrationConfig.spacePoints
spacePoints
Definition:
F600IntegrationConfig.py:122
MuonR4
This header ties the generic definitions in this package.
Definition:
HoughEventData.h:16
MuonR4::getTruthMatchedHit
const xAOD::MuonSimHit * getTruthMatchedHit(const xAOD::UncalibratedMeasurement &prdHit)
Returns the MuonSimHit, if there's any, matched to the uncalibrated muon measurement.
Definition:
MuonSimHitHelpers.cxx:16
TruthParticle.h
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:27
NSWL1::PadTriggerAdapter::segment
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)
Definition:
PadTriggerAdapter.cxx:5
Generated on Sat Sep 6 2025 21:15:23 for ATLAS Offline Software by
1.8.18