ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_Cluster.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6// SCT_Cluster.h
7// Header file for class SCT_Cluster
9// Version 1.0 23/07/2004 John Baines
11
12#ifndef TRKPREPRAWDATA_SCT_CLUSTER_H
13#define TRKPREPRAWDATA_SCT_CLUSTER_H
14
15// Base class
17
18#include <vector>
19#include <cstdint> //for uint16_t
20#include <iosfwd>
21
22class Identifier;
23class MsgStream;
24
25namespace InDetDD
26{
28}
29
30namespace InDet{
31
32class SiWidth;
33
34class SCT_Cluster final : public SiCluster {
35 public:
36
38 SCT_Cluster() = default;
40 SCT_Cluster(const SCT_Cluster &) = default;
42 SCT_Cluster(SCT_Cluster &&) noexcept = default;
44 SCT_Cluster &operator=(const SCT_Cluster &) = default;
46 SCT_Cluster &operator=(SCT_Cluster &&) noexcept = default;
48 virtual ~SCT_Cluster(); //default in dtor
49
56 const Amg::Vector2D& locpos,
60 Amg::MatrixX&& locErrMat);
61
63 virtual bool type(Trk::PrepRawDataType type) const override final;
64 virtual Trk::PrepRawDataType prdType() const override final;
65
67 virtual MsgStream& dump(MsgStream& stream) const override final;
68
70 virtual std::ostream& dump(std::ostream& stream) const override final;
71
75 uint16_t hitsInThirdTimeBin() const;
76
81
85 int stripHasHitInThirdTimeBin(int stripNumberWithinCluster) const;
86
91
92};
93
94 inline uint16_t SCT_Cluster::hitsInThirdTimeBin() const
95 {
97 }
98
103
104
105 inline int SCT_Cluster::stripHasHitInThirdTimeBin(int stripNumberWithinCluster) const {
106 return stripNumberWithinCluster <= 16 ? (int)((m_hitsInThirdTimeBin >> stripNumberWithinCluster) & 0x1): 0;
107
108 }
109
110
111
112 MsgStream& operator << (MsgStream& stream, const SCT_Cluster& prd);
113 std::ostream& operator << (std::ostream& stream, const SCT_Cluster& prd);
114
115
116}
117#endif // TRKPREPRAWDATA_SCT_CLUSTER_H
Class to hold geometrical description of a silicon detector element.
uint16_t m_hitsInThirdTimeBin
Some information about timing - which strips had 010 and which 011 for first 16 strips in a cluster.
Definition SCT_Cluster.h:90
void setHitsInThirdTimeBin(uint16_t hitsInThirdTimeBin)
Setter method of timing.
Definition SCT_Cluster.h:99
uint16_t hitsInThirdTimeBin() const
Getter method of timing.
Definition SCT_Cluster.h:94
SCT_Cluster(const SCT_Cluster &)=default
Copy constructor.
virtual Trk::PrepRawDataType prdType() const override final
Interface method checking the type.
int stripHasHitInThirdTimeBin(int stripNumberWithinCluster) const
Getter method of timing.
virtual bool type(Trk::PrepRawDataType type) const override final
Interface method checking the type.
SCT_Cluster()=default
Constructor without parameters.
SCT_Cluster(SCT_Cluster &&) noexcept=default
Move constructor.
const InDet::SiWidth & width() const
return width class reference
SiCluster()=default
Class to hold geometrical description of a silicon detector element.
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
STL class.
Definition of ATLAS Math & Geometry primitives (Amg).
Message Stream Member.
Primary Vertex Finder.
MsgStream & operator<<(MsgStream &, const GNNTrackFinderTritonTool &)
Ensure that the ATLAS eigen extensions are properly loaded.
-event-from-file
STL namespace.
#define private