ATLAS Offline Software
SCT_SpacePoint.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 // SCT_SpacePoint.h
7 // Header file for class SCT_SpacePoint
9 // Class to handle SPs for SCT
11 // Version 1.0 12/12/2005 Martin Siebel
13 #ifndef TRKSPACEPOINT_SCTSPACEPOINT_H
14 #define TRKSPACEPOINT_SCTSPACEPOINT_H
15 
18 
19 namespace Trk {
20 class PrepRawData;
21 }
22 
23 namespace InDet {
24 
31 class SCT_SpacePoint final : public Trk::SpacePoint {
32 
34  // Public methods:
36 
37  public:
39  SCT_SpacePoint() = default;
40 
47  SCT_SpacePoint(const std::pair<IdentifierHash, IdentifierHash>& elementIdList,
48  const Amg::Vector3D& position,
49  const std::pair<const Trk::PrepRawData*,
50  const Trk::PrepRawData*>& clusList);
52 
54  SCT_SpacePoint(const SCT_SpacePoint&) = default;
57  SCT_SpacePoint& operator=(SCT_SpacePoint&&) noexcept = default;
58  virtual ~SCT_SpacePoint() = default;
59 
61  virtual Trk::SpacePoint* clone() const override final;
62 
64  virtual MsgStream& dump(MsgStream& out) const override final;
65 
67  virtual std::ostream& dump(std::ostream& out) const override final;
68 
69  private:
72 
75  const Amg::Vector3D& position,
76  const std::pair<const Trk::PrepRawData*, const Trk::PrepRawData*>&
77  clusList);
78 };
79 
81 // Inline methods:
83 
84 inline Trk::SpacePoint* SCT_SpacePoint::clone() const {
85  return new SCT_SpacePoint(*this);
86 }
87 
88 } // namespace InDet
89 
90 #endif // TRKSPACEPOINT_PIXELSPACEPOINT_H
Trk::SpacePoint
Definition: Tracking/TrkEvent/TrkSpacePoint/TrkSpacePoint/SpacePoint.h:35
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
InDet::SCT_SpacePoint::operator=
SCT_SpacePoint & operator=(const SCT_SpacePoint &)=default
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SpacePoint
Definition: Trigger/TrigAccel/TrigCudaFitter/src/SpacePoint.h:7
InDet::SCT_SpacePoint::clone
virtual Trk::SpacePoint * clone() const override final
Clones.
Definition: SCT_SpacePoint.h:84
SpacePoint.h
InDet::SCT_SpacePoint::setup
void setup(const std::pair< IdentifierHash, IdentifierHash > &elementIdList, const Amg::Vector3D &position, const std::pair< const Trk::PrepRawData *, const Trk::PrepRawData * > &clusList)
common method used in constructors.
Definition: SCT_SpacePoint.cxx:32
InDet::SCT_SpacePoint::SCT_SpacePoint
SCT_SpacePoint(const SCT_SpacePoint &)=default
default move,copy,dtor
Trk::PrepRawData
Definition: PrepRawData.h:62
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Amg
Definition of ATLAS Math & Geometry primitives (Amg)
Definition: AmgStringHelpers.h:19
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
Trk::SpacePoint::elementIdList
const std::pair< IdentifierHash, IdentifierHash > & elementIdList() const
return the pair of Ids of the element by reference
Definition: Tracking/TrkEvent/TrkSpacePoint/TrkSpacePoint/SpacePoint.h:122
IdentifierHash.h
InDet::SCT_SpacePoint::dump
virtual MsgStream & dump(MsgStream &out) const override final
Interface method for output, to be overloaded by child classes*.
Definition: SCT_SpacePoint.cxx:69
InDet::SCT_SpacePoint::SCT_SpacePoint
SCT_SpacePoint(SCT_SpacePoint &&) noexcept=default
InDet::SCT_SpacePoint
Definition: SCT_SpacePoint.h:31
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
InDet::SCT_SpacePoint::SCT_SpacePoint
SCT_SpacePoint()=default
Default constructor.
InDet::SCT_SpacePoint::setupLocalCovarianceSCT
void setupLocalCovarianceSCT()
method to set up the local Covariance Matrix.
Definition: SCT_SpacePoint.cxx:51
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79
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