ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MSVertexReconstruction
MSVertexUtils
MSVertexUtils
TrackletSegment.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#pragma once
6
7
#include <vector>
8
9
#include "
GeoPrimitives/GeoPrimitives.h
"
10
#include "Identifier/Identifier.h"
11
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
12
#include "
MuonPrepRawData/MdtPrepDataContainer.h
"
13
14
15
namespace
Muon
{
16
class
MdtPrepData
;
17
}
18
20
class
TrackletSegment
{
21
private
:
22
const
Muon::IMuonIdHelperSvc
*
m_idHelperSvc
{
nullptr
};
23
24
std::vector<const Muon::MdtPrepData*>
m_mdts
{};
// vector of hits on track
25
Amg::Vector3D
m_gpos
{Amg::Vector3D::Zero()};
// global position of the segment
26
double
m_alpha
{-999.},
m_dalpha
{-999.};
// angle of the segment
27
double
m_rErr
{-999.},
m_zErr
{-999.};
// error on the r & z coordinates
28
int
m_pattern
{0};
// hit pattern of the mdt hits
29
bool
m_isCombined
{
false
};
// TrackletSegment build from combined fit with another
30
31
public
:
32
TrackletSegment
() =
default
;
33
TrackletSegment
(
const
Muon::IMuonIdHelperSvc
* idHelperSvc,
34
const
std::vector<const Muon::MdtPrepData*>& mdts,
35
const
Amg::Vector3D
& gpos,
36
double
alpha
,
double
dalpha,
37
double
rErr,
double
zErr,
38
int
pattern);
39
40
~TrackletSegment
();
41
42
// set functions
43
void
clearMdt
();
44
void
isCombined
(
bool
iscomb);
45
46
// get functions
47
const
std::vector<const Muon::MdtPrepData*>&
mdtHitsOnTrack
()
const
;
48
const
Identifier
getIdentifier
()
const
;
49
const
Amg::Vector3D
&
globalPosition
()
const
;
50
double
alpha
()
const
;
51
double
alphaError
()
const
;
52
double
zError
()
const
;
53
double
rError
()
const
;
54
int
getHitPattern
()
const
;
55
bool
isCombined
()
const
;
56
57
// get properties of the MDT chamber
58
int
mdtChamber
()
const
;
59
int
mdtChEta
()
const
;
60
int
mdtChPhi
()
const
;
61
double
getChMidPoint
()
const
;
62
};
GeoPrimitives.h
IMuonIdHelperSvc.h
MdtPrepDataContainer.h
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition
IMuonIdHelperSvc.h:27
Muon::MdtPrepData
Class to represent measurements from the Monitored Drift Tubes.
Definition
MdtPrepData.h:33
TrackletSegment::alpha
double alpha() const
Definition
TrackletSegment.cxx:33
TrackletSegment::m_idHelperSvc
const Muon::IMuonIdHelperSvc * m_idHelperSvc
Definition
TrackletSegment.h:22
TrackletSegment::m_isCombined
bool m_isCombined
Definition
TrackletSegment.h:29
TrackletSegment::getIdentifier
const Identifier getIdentifier() const
Definition
TrackletSegment.cxx:31
TrackletSegment::globalPosition
const Amg::Vector3D & globalPosition() const
Definition
TrackletSegment.cxx:32
TrackletSegment::mdtChPhi
int mdtChPhi() const
Definition
TrackletSegment.cxx:43
TrackletSegment::~TrackletSegment
~TrackletSegment()
TrackletSegment::m_alpha
double m_alpha
Definition
TrackletSegment.h:26
TrackletSegment::m_gpos
Amg::Vector3D m_gpos
Definition
TrackletSegment.h:25
TrackletSegment::m_zErr
double m_zErr
Definition
TrackletSegment.h:27
TrackletSegment::alphaError
double alphaError() const
Definition
TrackletSegment.cxx:34
TrackletSegment::getChMidPoint
double getChMidPoint() const
Definition
TrackletSegment.cxx:44
TrackletSegment::isCombined
bool isCombined() const
Definition
TrackletSegment.cxx:38
TrackletSegment::m_pattern
int m_pattern
Definition
TrackletSegment.h:28
TrackletSegment::mdtHitsOnTrack
const std::vector< const Muon::MdtPrepData * > & mdtHitsOnTrack() const
Definition
TrackletSegment.cxx:30
TrackletSegment::rError
double rError() const
Definition
TrackletSegment.cxx:36
TrackletSegment::zError
double zError() const
Definition
TrackletSegment.cxx:35
TrackletSegment::m_dalpha
double m_dalpha
Definition
TrackletSegment.h:26
TrackletSegment::getHitPattern
int getHitPattern() const
Definition
TrackletSegment.cxx:37
TrackletSegment::clearMdt
void clearMdt()
Definition
TrackletSegment.cxx:26
TrackletSegment::mdtChEta
int mdtChEta() const
Definition
TrackletSegment.cxx:42
TrackletSegment::TrackletSegment
TrackletSegment()=default
TrackletSegment::m_rErr
double m_rErr
Definition
TrackletSegment.h:27
TrackletSegment::mdtChamber
int mdtChamber() const
Definition
TrackletSegment.cxx:41
TrackletSegment::m_mdts
std::vector< const Muon::MdtPrepData * > m_mdts
Definition
TrackletSegment.h:24
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
Identifier
Definition
IdentifierFieldParser.cxx:14
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Generated on
for ATLAS Offline Software by
1.17.0