ATLAS Offline Software
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 
8 namespace 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() ),
21  m_stripDriftDists(std::move(stripDriftDists)),
22  m_stripDriftDistErrors(std::move(stripDriftDistErrors)) {
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 ),
38  m_stripDriftDists(stripDriftDists),
39  m_stripDriftDistErrors(stripDriftDistErrors)
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 
Trk::LocalParameters
Definition: LocalParameters.h:98
xAOD::identify
const Identifier & identify(const UncalibratedMeasurement *meas)
Returns the associated identifier from the muon measurement.
Definition: MuonSpectrometer/MuonPhaseII/Event/xAOD/xAODMuonPrepData/Root/UtilFunctions.cxx:61
Muon::MMPrepData
Class to represent MM measurements.
Definition: MMPrepData.h:22
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:27
Muon::MuonClusterOnTrack::dump
virtual MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
Definition: MuonClusterOnTrack.cxx:62
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
MMClusterOnTrack.h
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
Muon::MMClusterOnTrack::MMClusterOnTrack
MMClusterOnTrack()=default
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
Muon::MMClusterOnTrack::m_rio
ElementLinkToIDC_MM_Container m_rio
PrepRawData object assoicated with this measurement.
Definition: MMClusterOnTrack.h:105
LocalParameters.h
MuonGM::MMReadoutElement
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
Definition: MMReadoutElement.h:25
Muon::MMClusterOnTrack::dump
virtual MsgStream & dump(MsgStream &stream) const
Dumps information about the PRD.
Definition: MMClusterOnTrack.cxx:45
Muon::MuonClusterOnTrack
Base class for Muon cluster RIO_OnTracks.
Definition: MuonClusterOnTrack.h:34
Identifier
Definition: IdentifierFieldParser.cxx:14