ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonRecEvent
MuonRIO_OnTrack
src
TgcClusterOnTrack.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
// TgcClusterOnTrack.cxx
7
// Implementation file for class TgcClusterOnTrack
9
// (c) ATLAS Detector software
11
// Version 1.0 06/07/2004 Ketevi A. Assamagan
12
// adapted from Veronique Boisvert
14
15
#include "
MuonRIO_OnTrack/TgcClusterOnTrack.h
"
16
#include "
TrkEventPrimitives/LocalParameters.h
"
17
18
namespace
Muon
19
{
20
21
// Default constructor:
22
TgcClusterOnTrack::TgcClusterOnTrack
():
23
MuonClusterOnTrack
(),
// call base class ctor
24
m_rio
(),
25
m_detEl
(nullptr)
26
{}
27
28
// copy constructor:
29
TgcClusterOnTrack::TgcClusterOnTrack
(
const
TgcClusterOnTrack
& rot) =
default
;
30
31
// Constructor with parameters
32
TgcClusterOnTrack::TgcClusterOnTrack
(
33
const
TgcPrepData
* RIO,
34
Trk::LocalParameters
&& locpos,
35
Amg::MatrixX
&& locerr,
36
double
positionAlongStrip
) :
37
MuonClusterOnTrack
(
std
::move(locpos),
std
::move(locerr), RIO->
identify
(),
positionAlongStrip
),
//call base class constructor
38
m_detEl
( RIO->
detectorElement
() )
39
{
40
//Set EL
41
// m_rio = ElementLinkToIDC_TGC_Container("TGC_Measurements", RIO->getHashAndIndex().hashAndIndex(), RIO);
42
m_rio
.setElement(RIO);
43
}
44
45
TgcClusterOnTrack::TgcClusterOnTrack
(
46
const
ElementLinkToIDC_TGC_Container
& RIO,
47
Trk::LocalParameters
&& locpos,
48
Amg::MatrixX
&& locerr,
49
const
Identifier
&
id
,
50
const
MuonGM::TgcReadoutElement
* detEl,
51
double
positionAlongStrip
) :
52
MuonClusterOnTrack
(
std
::move(locpos),
std
::move(locerr), id,
positionAlongStrip
),
//call base class constructor
53
m_rio
(RIO),
54
m_detEl
( detEl )
55
{
56
}
57
58
// Destructor:
59
TgcClusterOnTrack::~TgcClusterOnTrack
()
60
{
61
// we don't own the m_rio object (it belongs to SG), so don't delete it.
62
}
63
64
// assignment operator:
65
TgcClusterOnTrack
&
TgcClusterOnTrack::operator=
(
const
TgcClusterOnTrack
& rot)
66
{
67
if
( &rot !=
this
)
68
{
69
MuonClusterOnTrack::operator=
(rot);
//base class ass. op.
70
m_rio
= rot.
m_rio
;
71
m_detEl
= rot.
m_detEl
;
72
}
73
return
*
this
;
74
}
75
76
MsgStream&
TgcClusterOnTrack::dump
( MsgStream& stream)
const
77
{
78
stream << MSG::INFO<<
"TgcClusterOnTrack {"
<<std::endl;
79
80
MuonClusterOnTrack::dump
(stream);
81
82
stream<<
"}"
<<
endmsg
;
83
return
stream;
84
}
85
86
std::ostream&
TgcClusterOnTrack::dump
( std::ostream& stream)
const
87
{
88
stream <<
"TgcClusterOnTrack {"
<<std::endl;
89
90
MuonClusterOnTrack::dump
(stream);
91
92
stream<<
"}"
<<std::endl;
93
return
stream;
94
}
95
96
97
}
98
99
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:54
LocalParameters.h
TgcClusterOnTrack.h
ElementLinkToIDC_TGC_Container
ElementLink< Muon::TgcPrepDataContainer > ElementLinkToIDC_TGC_Container
Definition
TgcClusterOnTrack.h:27
MuonGM::TgcReadoutElement
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
Definition
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:42
Muon::MuonClusterOnTrack::positionAlongStrip
virtual double positionAlongStrip() const
Definition
MuonClusterOnTrack.h:68
Muon::MuonClusterOnTrack::MuonClusterOnTrack
MuonClusterOnTrack()
Pool constructor.
Definition
MuonClusterOnTrack.cxx:12
Muon::MuonClusterOnTrack::operator=
MuonClusterOnTrack & operator=(const MuonClusterOnTrack &)
Definition
MuonClusterOnTrack.cxx:42
Muon::MuonClusterOnTrack::dump
virtual MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
Definition
MuonClusterOnTrack.cxx:52
Muon::TgcClusterOnTrack
Class to represent calibrated clusters formed from TGC strips.
Definition
TgcClusterOnTrack.h:46
Muon::TgcClusterOnTrack::detectorElement
virtual const MuonGM::TgcReadoutElement * detectorElement() const
Returns the detector element, assoicated with the PRD of this class.
Definition
TgcClusterOnTrack.h:140
Muon::TgcClusterOnTrack::dump
virtual MsgStream & dump(MsgStream &stream) const
Dumps information about the PRD.
Definition
TgcClusterOnTrack.cxx:76
Muon::TgcClusterOnTrack::TgcClusterOnTrack
TgcClusterOnTrack()
Definition
TgcClusterOnTrack.cxx:22
Muon::TgcClusterOnTrack::m_rio
ElementLinkToIDC_TGC_Container m_rio
PrepRawData object assoicated with this measurement.
Definition
TgcClusterOnTrack.h:112
Muon::TgcClusterOnTrack::m_detEl
const MuonGM::TgcReadoutElement * m_detEl
The detector element, assoicated with this measurement.
Definition
TgcClusterOnTrack.h:115
Muon::TgcClusterOnTrack::~TgcClusterOnTrack
virtual ~TgcClusterOnTrack()
Destructor.
Definition
TgcClusterOnTrack.cxx:59
Muon::TgcClusterOnTrack::operator=
TgcClusterOnTrack & operator=(const TgcClusterOnTrack &)
Definition
TgcClusterOnTrack.cxx:65
Muon::TgcPrepData
Class to represent TGC measurements.
Definition
TgcPrepData.h:32
Trk::LocalParameters
Definition
LocalParameters.h:100
Trk::RIO_OnTrack::identify
Identifier identify() const
return the identifier -extends MeasurementBase
Definition
RIO_OnTrack.h:152
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition
EventPrimitives.h:27
Identifier
Definition
IdentifierFieldParser.cxx:14
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0