ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecEvent
InDetPrepRawData
src
TRT_DriftCircle.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// TRT_DriftCircle.cxx
7
// Implementation file for class TRT_DriftCircle
9
// (c) ATLAS Detector software
11
// Version 1.0 15/07/2003 Veronique Boisvert
13
14
#include "
InDetPrepRawData/TRT_DriftCircle.h
"
15
#include "GaudiKernel/MsgStream.h"
16
#include <ostream>
17
#include <sstream>
18
19
namespace
InDet
{
20
21
22
TRT_DriftCircle::TRT_DriftCircle
(
23
const
Identifier
& Id,
24
const
Amg::Vector2D
& driftRadius,
25
std::vector<Identifier>&&
rdoList
,
26
Amg::MatrixX
&& errDriftRadius,
27
const
InDetDD::TRT_BaseElement
* detEl,
28
const
unsigned
int
word)
29
:
PrepRawData
(Id, driftRadius,
std
::move(
rdoList
),
std
::move(errDriftRadius))
30
,
m_detEl
(detEl)
31
,
m_word
(word)
32
{
33
}
34
35
TRT_DriftCircle::TRT_DriftCircle
(
36
const
Identifier
& Id,
37
const
Amg::Vector2D
& driftRadius,
38
Amg::MatrixX
&& errDriftRadius,
39
const
InDetDD::TRT_BaseElement
* detEl,
40
const
unsigned
int
word)
41
:
PrepRawData
(Id, driftRadius,
std
::move(errDriftRadius))
42
,
m_detEl
(detEl)
43
,
m_word
(word)
44
{
45
}
46
47
// Default constr
48
TRT_DriftCircle::TRT_DriftCircle
()
49
:
PrepRawData
()
50
,
m_detEl
(nullptr)
51
,
m_word
(0)
52
53
{
54
}
55
56
MsgStream&
57
TRT_DriftCircle::dump
(MsgStream& stream)
const
58
{
59
std::ostringstream out;
60
dump
(out);
61
stream<<out.str();
62
return
stream;
63
}
64
65
std::ostream&
66
TRT_DriftCircle::dump
(std::ostream& stream)
const
67
{
68
stream <<
"TRT_DriftCircle object"
<< std::endl;
69
stream <<
"Level (true/false) "
<<
highLevel
() << std::endl;
70
stream <<
"Valid (true/false) "
<<
driftTimeValid
() << std::endl;
71
stream <<
"timeOverThreshold: "
<<
timeOverThreshold
()
72
<< std::endl;
73
stream <<
"driftTime: "
<<
rawDriftTime
() << std::endl;
74
stream <<
"dataWord: "
<<
m_word
<< std::endl;
75
76
stream <<
"Base class (PrepRawData):"
<< std::endl;
77
this->PrepRawData::dump(stream);
78
79
return
stream;
80
}
81
82
MsgStream&
83
operator<<
(MsgStream& stream,
const
TRT_DriftCircle
& prd)
84
{
85
return
prd.
dump
(stream);
86
}
87
88
std::ostream&
89
operator<<
(std::ostream& stream,
const
TRT_DriftCircle
& prd)
90
{
91
return
prd.
dump
(stream);
92
}
93
94
}
//end of ns
95
TRT_DriftCircle.h
InDetDD::TRT_BaseElement
Virtual base class of TRT readout elements.
Definition
TRT_BaseElement.h:56
InDet::TRT_DriftCircle
Definition
TRT_DriftCircle.h:32
InDet::TRT_DriftCircle::driftTimeValid
bool driftTimeValid() const
return true if the corrected drift time is OK
InDet::TRT_DriftCircle::m_detEl
const InDetDD::TRT_BaseElement * m_detEl
Definition
TRT_DriftCircle.h:133
InDet::TRT_DriftCircle::m_word
unsigned int m_word
Definition
TRT_DriftCircle.h:134
InDet::TRT_DriftCircle::dump
virtual MsgStream & dump(MsgStream &stream) const override final
dump information about the PRD object.
Definition
TRT_DriftCircle.cxx:57
InDet::TRT_DriftCircle::highLevel
bool highLevel() const
returns true if the high level threshold was passed
InDet::TRT_DriftCircle::rawDriftTime
double rawDriftTime() const
returns the raw driftTime
InDet::TRT_DriftCircle::timeOverThreshold
double timeOverThreshold() const
returns Time over threshold in ns
InDet::TRT_DriftCircle::TRT_DriftCircle
TRT_DriftCircle()
Definition
TRT_DriftCircle.cxx:48
Trk::PrepRawData::rdoList
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
Trk::PrepRawData::PrepRawData
PrepRawData()
public because of DataPool
Definition
PrepRawData.cxx:68
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 &)
dump
-event-from-file
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0