ATLAS Offline Software
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
57
MsgStream&
SCT_Cluster::dump
( MsgStream&
stream
)
const
58
{
59
std::ostringstream
out
;
60
dump
(
out
);
61
stream
<<
out
.str();
62
return
stream
;
63
}
64
65
std::ostream&
SCT_Cluster::dump
( std::ostream&
stream
)
const
66
{
67
stream
<<
"SCT_Cluster object"
<<std::endl;
68
stream
<<
"Base class (SiCluster):"
<< std::endl;
69
this->
SiCluster::dump
(stream);
70
71
return
stream
;
72
}
73
74
75
}
//end of ns
InDet::operator<<
MsgStream & operator<<(MsgStream &, const GNNTrackReaderTool &)
SiWidth.h
Trk::PrepRawDataType
PrepRawDataType
Definition:
PrepRawData.h:39
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition:
EventPrimitives.h:27
InDet::SCT_Cluster::~SCT_Cluster
virtual ~SCT_Cluster()
Destructor:
InDet::SCT_Cluster::SCT_Cluster
SCT_Cluster()=default
Constructor without parameters.
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition:
GeoPrimitives.h:48
InDet
Primary Vertex Finder.
Definition:
VP1ErrorUtils.h:36
python.AthDsoLogger.out
out
Definition:
AthDsoLogger.py:71
SCT_Cluster.h
AthenaPoolTestWrite.stream
string stream
Definition:
AthenaPoolTestWrite.py:12
Trk::PrepRawDataType::SiCluster
@ SiCluster
InDet::SCT_Cluster
Definition:
InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/SCT_Cluster.h:34
InDet::SiCluster::dump
virtual MsgStream & dump(MsgStream &stream) const override
dump information about the SiCluster
Definition:
SiCluster.cxx:88
InDetDD::SiDetectorElement
Definition:
SiDetectorElement.h:109
SiDetectorElement.h
InDet::SCT_Cluster::dump
virtual MsgStream & dump(MsgStream &stream) const override final
dump information about the PRD object.
Definition:
SCT_Cluster.cxx:57
Base_Fragment.width
width
Definition:
Sherpa_i/share/common/Base_Fragment.py:59
Trk::PrepRawDataType::SCT_Cluster
@ SCT_Cluster
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
InDet::SiWidth
Definition:
SiWidth.h:25
InDet::SCT_Cluster::type
virtual bool type(Trk::PrepRawDataType type) const override final
Interface method checking the type.
Definition:
SCT_Cluster.cxx:53
InDet::SiCluster
Definition:
InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/SiCluster.h:40
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Sun Dec 22 2024 21:17:36 for ATLAS Offline Software by
1.8.18