ATLAS Offline Software
Loading...
Searching...
No Matches
MMClusterOnTrack.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
7
8namespace Muon
9{
10
11
12 // Constructor with parameters
14 Trk::LocalParameters&& locpos,
15 Amg::MatrixX&& locerr,
16 double positionAlongStrip,
17 std::vector<float>&& stripDriftDists,
18 std::vector<Amg::MatrixX>&& stripDriftDistErrors) :
19 MuonClusterOnTrack(std::move(locpos), std::move(locerr), RIO->identify(), positionAlongStrip),
20 m_detEl( RIO->detectorElement() ),
23 //Set EL
24 m_rio.setElement(RIO);
25 }
26
28 Trk::LocalParameters&& locpos,
29 Amg::MatrixX&& locerr,
30 const Identifier& id,
31 const MuonGM::MMReadoutElement* detEl,
32 double positionAlongStrip,
33 std::vector<float>&& stripDriftDists,
34 std::vector<Amg::MatrixX>&& stripDriftDistErrors) :
35 MuonClusterOnTrack(std::move(locpos), std::move(locerr), id, positionAlongStrip), // call base class constructor
36 m_rio( RIO ),
37 m_detEl( detEl ),
40 {
41 }
42
43
44
45 MsgStream& MMClusterOnTrack::dump( MsgStream& stream) const
46 {
47 stream << MSG::INFO<<"MMClusterOnTrack {"<<std::endl;
48
50
51 stream<<"}"<<endmsg;
52 return stream;
53 }
54
55 std::ostream& MMClusterOnTrack::dump( std::ostream& stream) const
56 {
57 stream << "MMClusterOnTrack {"<<std::endl;
58
60
61 stream<<"}"<<std::endl;
62 return stream;
63 }
64
65
66}
67
68
#define endmsg
ElementLink< Muon::MMPrepDataContainer > ElementLinkToIDC_MM_Container
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
const MuonGM::MMReadoutElement * m_detEl
The detector element, assoicated with this measurement.
virtual MsgStream & dump(MsgStream &stream) const
Dumps information about the PRD.
std::vector< float > m_stripDriftDists
std::vector< Amg::MatrixX > m_stripDriftDistErrors
ElementLinkToIDC_MM_Container m_rio
PrepRawData object assoicated with this measurement.
const std::vector< float > & stripDriftDists() const
const std::vector< Amg::MatrixX > & stripDriftDistErrors() const
virtual const MuonGM::MMReadoutElement * detectorElement() const
Returns the detector element, assoicated with the PRD of this class.
Class to represent MM measurements.
Definition MMPrepData.h:22
virtual double positionAlongStrip() const
MuonClusterOnTrack()
Pool constructor.
virtual MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
Identifier identify() const
return the identifier -extends MeasurementBase
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
STL namespace.