Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONTRACKFINDINGTEST_MSTRACKTESTER_H
5 #define MUONTRACKFINDINGTEST_MSTRACKTESTER_H
41 Gaudi::Property<bool>
m_isMC{
this,
"isMC",
false};
44 using TruthHitCol = std::unordered_set<const xAOD::MuonSimHit*>;
88 ToolHandle<MuonR4::ISegmentSelectionTool>
m_segSelector{
this,
"SegmentSelectionTool" ,
"" };
Property holding a SG store/key/clid from which a ReadHandle is made.
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
MuonVal::VectorBranch< char > & m_seedType
Is the seed in the encap or in the barrel chambers.
double m_refEndcapDiscR
Radius of the reference disc.
Class describing a MuonSegment.
MuonVal::VectorBranch< float > & m_seedThetaCone
Maximum angular difference between the segments part of the seed.
StatusCode execute() override final
double expressAtRefPlane(const xAOD::MuonSegment &segment, const Location plane) const
Location
Enum defining whether the seed is made in the endcap / barrel.
MuonVal::ThreeVectorBranch m_seedPos
Simple seed information.
MuonVal::MuonTesterTree m_tree
std::unordered_set< const xAOD::MuonSimHit * > TruthHitCol
SegmentBranchPtr_t m_truthSegs
SegmentKey_t m_truthSegmentKey
Segment from the truth hits.
::StatusCode StatusCode
StatusCode definition for legacy code.
ToolHandle< MuonR4::ISegmentSelectionTool > m_segSelector
Segment selection tool to pick the good quality segments.
MuonVal::MatrixBranch< unsigned short > & m_truthSegToRecoLink
Link of the truth segments to the matchin reco segments.
Gaudi::Property< bool > m_isMC
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthKey
Key to the truth particle collection.
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
double m_refEndcapDiscZ
Position along the beam axis of the referece disc onto which all endcap segments are projected.
StatusCode finalize() override final
std::shared_ptr< MuonVal::IParticleFourMomBranch > ParticleBranchPtr_t
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
double m_refBarrelR
Radius of the barrel reference cylinder onto which all segments are projected.
SegmentBranchPtr_t m_recoSegs
MuonVal::MatrixBranch< unsigned short > & m_truthMuRecoSegLinks
Links from the truth muon to the segments
SG::ReadHandleKey< MuonR4::MsTrackSeedContainer > m_msTrkSeedKey
Temporary container write handle to push the seeds to store gate for later efficiency analysis.
MuonVal::MatrixBranch< unsigned short > & m_seedRecoSegMatch
Link of the track seed to the building segment
MuonVal::MatrixBranch< unsigned short > & m_truthMuToSeedIdx
Links to all MsTrkSeeds that could be matched to the truthMuon, i.e.
MuonVal::MatrixBranch< unsigned short > & m_truthMuToSeedCounter
Corresponding matching counter of reconstructed segments.
SegmentKey_t m_recoSegmentKey
Primary segment container.
SG::ReadDecorHandleKeyArray< SG::AuxVectorBase > m_trkTruthLinks
Decoration dependency to the MS truth track links.
std::shared_ptr< MuonPRDTest::SegmentVariables > SegmentBranchPtr_t
MatrixBranch< T > & newMatrix(const std::string &name)
ParticleBranchPtr_t m_truthTrks
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)
MuonVal::VectorBranch< float > & m_seedLength
Maximum separation between the segments on the reference plane.
StatusCode initialize() override final
MuonVal::MatrixBranch< unsigned short > & m_truthMuTruthSegLinks
Links from the truth muon to the segments