ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecEvent
InDetPrepRawData
src
SCT_Cluster.cxx
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_Cluster.cxx
7
// Implementation file for class SCT_Cluster
9
// (c) ATLAS Detector software
11
// Version 1.0 15/07/2003 Veronique Boisvert
13
14
#include "
InDetPrepRawData/SCT_Cluster.h
"
15
// forward includes
16
#include "GaudiKernel/MsgStream.h"
17
#include "
InDetPrepRawData/SiWidth.h
"
18
#include "
InDetReadoutGeometry/SiDetectorElement.h
"
19
#include <ostream>
20
#include <sstream>
21
22
23
namespace
InDet
{
24
25
SCT_Cluster::SCT_Cluster
(
const
Identifier
& RDOId,
26
const
Amg::Vector2D
& locpos,
27
std::vector<Identifier>&&
rdoList
,
28
const
InDet::SiWidth
&
width
,
29
const
InDetDD::SiDetectorElement
* detEl,
30
Amg::MatrixX
&& locErrMat)
31
:
SiCluster
(RDOId,
32
locpos,
33
std
::move(
rdoList
),
34
width
,
35
detEl,
36
std
::move(locErrMat))
37
,
m_hitsInThirdTimeBin
(0)
38
{}
39
40
SCT_Cluster::~SCT_Cluster
() =
default
;
41
42
MsgStream&
operator <<
(MsgStream& stream,
const
SCT_Cluster
& prd)
43
{
44
return
prd.
dump
(stream);
45
}
46
47
std::ostream&
operator <<
(std::ostream& stream,
const
SCT_Cluster
& prd)
48
{
49
return
prd.
dump
(stream);
50
}
51
52
bool
53
SCT_Cluster::type
(
Trk::PrepRawDataType
type
)
const
{
54
return
(
type
==
Trk::PrepRawDataType::SCT_Cluster
or
type
==
Trk::PrepRawDataType::SiCluster
);
55
}
56
Trk::PrepRawDataType
SCT_Cluster::prdType
()
const
{
57
return
Trk::PrepRawDataType::SCT_Cluster
;
58
}
59
60
61
MsgStream&
SCT_Cluster::dump
( MsgStream& stream)
const
62
{
63
std::ostringstream out;
64
dump
(out);
65
stream<<out.str();
66
return
stream;
67
}
68
69
std::ostream&
SCT_Cluster::dump
( std::ostream& stream)
const
70
{
71
stream <<
"SCT_Cluster object"
<<std::endl;
72
stream <<
"Base class (SiCluster):"
<< std::endl;
73
this->
SiCluster::dump
(stream);
74
75
return
stream;
76
}
77
78
79
}
//end of ns
SCT_Cluster.h
SiDetectorElement.h
SiWidth.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::prdType
virtual Trk::PrepRawDataType prdType() const override final
Interface method checking the type.
Definition
SCT_Cluster.cxx:56
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
virtual ~SCT_Cluster()
Destructor:
InDet::SCT_Cluster::SCT_Cluster
SCT_Cluster()=default
Constructor without parameters.
InDet::SCT_Cluster::dump
virtual MsgStream & dump(MsgStream &stream) const override final
dump information about the PRD object.
Definition
SCT_Cluster.cxx:61
InDet::SiCluster::width
const InDet::SiWidth & width() const
return width class reference
InDet::SiCluster::dump
virtual MsgStream & dump(MsgStream &stream) const override
dump information about the SiCluster
Definition
SiCluster.cxx:88
InDet::SiCluster::SiCluster
SiCluster()=default
InDet::SiWidth
Definition
SiWidth.h:25
Trk::PrepRawData::rdoList
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition
EventPrimitives.h:27
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition
GeoPrimitives.h:48
Identifier
Definition
IdentifierFieldParser.cxx:14
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
InDet::operator<<
MsgStream & operator<<(MsgStream &, const GNNTrackFinderTritonTool &)
Trk::PrepRawDataType
PrepRawDataType
Definition
PrepRawData.h:39
Trk::PrepRawDataType::SiCluster
@ SiCluster
Definition
PrepRawData.h:40
Trk::PrepRawDataType::SCT_Cluster
@ SCT_Cluster
Definition
PrepRawData.h:42
dump
-event-from-file
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0