ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecEvent
InDetPrepRawData
InDetPrepRawData
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
16
#include "
InDetPrepRawData/SiCluster.h
"
17
18
#include <vector>
19
#include <cstdint>
//for uint16_t
20
#include <iosfwd>
21
22
class
Identifier
;
23
class
MsgStream;
24
25
namespace
InDetDD
26
{
27
class
SiDetectorElement
;
28
}
29
30
namespace
InDet
{
31
32
class
SiWidth
;
33
34
class
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
55
SCT_Cluster
(
const
Identifier
& RDOId,
56
const
Amg
::Vector2D& locpos,
57
std
::
vector
<
Identifier
>&&
rdoList
,
58
const
InDet
::
SiWidth
&
width
,
59
const
InDetDD
::
SiDetectorElement
* detEl,
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
80
void
setHitsInThirdTimeBin
(uint16_t
hitsInThirdTimeBin
);
81
85
int
stripHasHitInThirdTimeBin
(
int
stripNumberWithinCluster)
const
;
86
87
private
:
90
uint16_t
m_hitsInThirdTimeBin
= 0;
91
92
};
93
94
inline uint16_t
SCT_Cluster
::
hitsInThirdTimeBin
()
const
95
{
96
return
m_hitsInThirdTimeBin
;
97
}
98
99
inline
void
SCT_Cluster::setHitsInThirdTimeBin
(uint16_t
hitsInThirdTimeBin
)
100
{
101
m_hitsInThirdTimeBin
=
hitsInThirdTimeBin
;
102
}
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
PrepRawDataType
PrepRawDataType
Definition
PrepRawData.h:39
SiCluster.h
InDetDD::SiDetectorElement
Class to hold geometrical description of a silicon detector element.
Definition
SiDetectorElement.h:109
InDet::SCT_Cluster
Definition
SCT_Cluster.h:34
InDet::SCT_Cluster::m_hitsInThirdTimeBin
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
InDet::SCT_Cluster::setHitsInThirdTimeBin
void setHitsInThirdTimeBin(uint16_t hitsInThirdTimeBin)
Setter method of timing.
Definition
SCT_Cluster.h:99
InDet::SCT_Cluster::hitsInThirdTimeBin
uint16_t hitsInThirdTimeBin() const
Getter method of timing.
Definition
SCT_Cluster.h:94
InDet::SCT_Cluster::SCT_Cluster
SCT_Cluster(const SCT_Cluster &)=default
Copy constructor.
InDet::SCT_Cluster::prdType
virtual Trk::PrepRawDataType prdType() const override final
Interface method checking the type.
Definition
SCT_Cluster.cxx:56
InDet::SCT_Cluster::stripHasHitInThirdTimeBin
int stripHasHitInThirdTimeBin(int stripNumberWithinCluster) const
Getter method of timing.
Definition
SCT_Cluster.h:105
InDet::SCT_Cluster::type
virtual bool type(Trk::PrepRawDataType type) const override final
Interface method checking the type.
Definition
SCT_Cluster.cxx:53
InDet::SCT_Cluster::SCT_Cluster
SCT_Cluster()=default
Constructor without parameters.
InDet::SCT_Cluster::SCT_Cluster
SCT_Cluster(SCT_Cluster &&) noexcept=default
Move constructor.
InDet::SiCluster::width
const InDet::SiWidth & width() const
return width class reference
InDet::SiCluster::SiCluster
SiCluster()=default
InDet::SiWidth
Definition
SiWidth.h:25
SiDetectorElement
Class to hold geometrical description of a silicon detector element.
Definition
SiDetectorElement.h:109
Trk::PrepRawData::rdoList
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
ostream
STL class.
vector
Definition
MultiHisto.h:13
const
Amg
Definition of ATLAS Math & Geometry primitives (Amg).
Definition
AmgStringHelpers.h:19
Identifier
Definition
IdentifierFieldParser.cxx:14
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
InDet::operator<<
MsgStream & operator<<(MsgStream &, const GNNTrackFinderTritonTool &)
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
dump
-event-from-file
std
STL namespace.
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0