ATLAS Offline Software
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 
17 namespace Trk
18 {
19  class LocalParameters;
20 }
21 
22 namespace InDetDD
23 {
24  class SiDetectorElement;
25 }
26 
27 namespace InDet {
28 
29  class SiCluster;
30 
40 
41 
42  public:
45  // copy constructor
46  SiClusterOnTrack( const SiClusterOnTrack& rot) = default;
47  // assignment operator:
48  SiClusterOnTrack& operator=( const SiClusterOnTrack& rot) = default;
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 
112  bool m_isbroad;
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
Trk::LocalParameters
Definition: LocalParameters.h:98
InDet::SiClusterOnTrack::idDE
virtual IdentifierHash idDE() const override
returns the DE hashID*
Definition: SiClusterOnTrack.h:119
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:27
InDet::SiClusterOnTrack::m_idDE
IdentifierHash m_idDE
The IdentifierHash - probably not used.
Definition: SiClusterOnTrack.h:109
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
SiCluster
Definition: Trigger/TrigAccel/TrigCudaFitter/src/SiCluster.h:9
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
Trk::RIO_OnTrack
Definition: RIO_OnTrack.h:70
Trk::TrkDetElementBase
Definition: TrkDetElementBase.h:52
SiClusterOnTrackCnv_p1
Definition: SiClusterOnTrackCnv_p1.h:25
InDet::SiClusterOnTrack::setValues
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...
InDet::SiClusterOnTrack::m_isbroad
bool m_isbroad
Definition: SiClusterOnTrack.h:112
Trk::RIO_OnTrack::type
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
Definition: RIO_OnTrack.h:110
InDet::SiClusterOnTrack::SiClusterOnTrack
SiClusterOnTrack(const SiClusterOnTrack &rot)=default
InDet::SiClusterOnTrack::SiClusterOnTrack
SiClusterOnTrack()
Default Constructor - needed for POOL.
Definition: SiClusterOnTrack.cxx:49
InDet::SiClusterOnTrack::globalPosition
virtual const Amg::Vector3D & globalPosition() const override
returns global position (gathered through Surface constraint)
Definition: SiClusterOnTrack.h:115
InDet::SiClusterOnTrack::isBroadCluster
bool isBroadCluster() const
Definition: SiClusterOnTrack.h:124
InDet::SiClusterOnTrack::operator=
SiClusterOnTrack & operator=(const SiClusterOnTrack &rot)=default
InDet::SiClusterOnTrack::operator=
SiClusterOnTrack & operator=(SiClusterOnTrack &&rot)=default
Trk::PrepRawData
Definition: PrepRawData.h:62
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
RIO_OnTrack.h
IdentifierHash.h
InDet::SiClusterOnTrack::m_globalPosition
Amg::Vector3D m_globalPosition
The global position.
Definition: SiClusterOnTrack.h:111
InDet::SiClusterOnTrack::SiClusterOnTrack
SiClusterOnTrack(SiClusterOnTrack &&rot)=default
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
InDet::SiClusterOnTrack::rioType
virtual bool rioType(Trk::RIO_OnTrackType::Type type) const override=0
Method checking the Rio On Track type.
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
Trk::RIO_OnTrackType::Type
Type
Definition: RIO_OnTrack.h:56
InDet::SiClusterOnTrack::dump
virtual MsgStream & dump(MsgStream &out) const override
returns some information about this RIO_OnTrack.
Definition: SiClusterOnTrack.cxx:57
InDet::SiClusterOnTrack
Definition: SiClusterOnTrack.h:39
InDet::SiClusterOnTrack::~SiClusterOnTrack
virtual ~SiClusterOnTrack()=default
Destructor:
Identifier
Definition: IdentifierFieldParser.cxx:14