ATLAS Offline Software
Loading...
Searching...
No Matches
SiClusterOnTrack.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6// SiClusterOnTrack.h, (c) ATLAS Detector software
8
9#ifndef TRKRIO_ONTRACK_SICLUSTERONTRACK_H
10#define TRKRIO_ONTRACK_SICLUSTERONTRACK_H
11
14
16
17namespace Trk
18{
19 class LocalParameters;
20}
21
22namespace InDetDD
23{
25}
26
27namespace InDet {
28
29 class SiCluster;
30
40
41
42 public:
45 // copy constructor
46 SiClusterOnTrack( const SiClusterOnTrack& rot) = default;
47 // assignment operator:
49 // move constructor
51 // move assignment operator:
54 virtual ~SiClusterOnTrack() = default;
55
61 Amg::MatrixX&& locerr,
62 const IdentifierHash& idDE,
63 const Identifier& id,
64 bool isbroad=false);
65
73 Amg::MatrixX&& locerr,
74 const IdentifierHash& idDE,
75 const Identifier& id,
77 bool isbroad=false);
78
79
82 virtual const Amg::Vector3D& globalPosition() const override;
83
84 virtual bool rioType(Trk::RIO_OnTrackType::Type type) const override = 0;
85
88 virtual IdentifierHash idDE() const override;
89
90 bool isBroadCluster() const;
91
94 virtual MsgStream& dump( MsgStream& out ) const override;
95
98 virtual std::ostream& dump( std::ostream& out ) const override;
99
100 protected:
101 friend class ::SiClusterOnTrackCnv_p1;
102
105 virtual void setValues(const Trk::TrkDetElementBase* detEl,
106 const Trk::PrepRawData* prd) override = 0;
107
113 };
114
116 return m_globalPosition;
117 }
118
120 {
121 return m_idDE;
122 }
123
125 {
126 return m_isbroad;
127 }
128}
129
130#endif // TRKRIO_ONTRACK_SICLUSTERONTRACK_H
This is a "hash" representation of an Identifier.
Class to hold geometrical description of a silicon detector element.
IdentifierHash m_idDE
The IdentifierHash - probably not used.
virtual const Amg::Vector3D & globalPosition() const override
returns global position (gathered through Surface constraint)
SiClusterOnTrack(SiClusterOnTrack &&rot)=default
SiClusterOnTrack(const SiClusterOnTrack &rot)=default
SiClusterOnTrack()
Default Constructor - needed for POOL.
virtual IdentifierHash idDE() const override
returns the DE hashID*
Amg::Vector3D m_globalPosition
The global position.
virtual bool rioType(Trk::RIO_OnTrackType::Type type) const override=0
Method checking the Rio On Track type.
virtual void setValues(const Trk::TrkDetElementBase *detEl, const Trk::PrepRawData *prd) override=0
ONLY for use in custom convertor Allows the custom convertor to reset values when persistying/reading...
SiClusterOnTrack & operator=(const SiClusterOnTrack &rot)=default
SiClusterOnTrack & operator=(SiClusterOnTrack &&rot)=default
virtual ~SiClusterOnTrack()=default
Destructor:
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
Definition RIO_OnTrack.h:70
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
This is the base class for all tracking detector elements with read-out relevant information.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Eigen::Matrix< double, 3, 1 > Vector3D
Message Stream Member.
Primary Vertex Finder.
Ensure that the ATLAS eigen extensions are properly loaded.
-event-from-file