ATLAS Offline Software
sTgcPrepData.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include "GaudiKernel/MsgStream.h"
7 
8 namespace Muon {
9 
11  const IdentifierHash& idDE,
12  Amg::Vector2D&& locpos,
13  std::vector<Identifier>&& rdoList,
14  Amg::MatrixX&& locErrMat,
15  const MuonGM::sTgcReadoutElement* detEl,
16  const int charge,
17  const short int time,
18  std::vector<uint16_t>&& stripNumbers,
19  std::vector<short int>&& stripTimes,
20  std::vector<int>&& stripCharges)
21  : MuonCluster(RDOId, idDE, locpos, std::move(rdoList),std::move(locErrMat))
22  , m_detEl(detEl)
23  , m_charge(charge)
24  , m_time(time)
25  , m_stripNumbers(std::move(stripNumbers))
26  , m_stripTimes(std::move(stripTimes))
27  , m_stripCharges(std::move(stripCharges)) {}
28 
30  const IdentifierHash& idDE,
31  Amg::Vector2D&& locpos,
32  std::vector<Identifier>&& rdoList,
33  Amg::MatrixX&& locErrMat,
34  const MuonGM::sTgcReadoutElement* detEl,
35  const int charge,
36  const short int time)
37  : MuonCluster(RDOId, idDE, locpos, std::move(rdoList), std::move(locErrMat))
38  , m_detEl(detEl)
39  , m_charge(charge)
40  , m_time(time){}
41 
42  MsgStream& sTgcPrepData::dump( MsgStream& stream) const {
43  stream << MSG::INFO<<"sTgcPrepData {"<<std::endl;
45  stream<<"}"<<endmsg;
46  return stream;
47  }
48 
49  std::ostream& sTgcPrepData::dump( std::ostream& stream) const {
50  stream << "sTgcPrepData {"<<std::endl;
52  stream<<"}"<<std::endl;
53  return stream;
54  }
55  //end of classdef
56 }//end of ns
57 
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
Muon::sTgcPrepData::dump
virtual MsgStream & dump(MsgStream &stream) const override final
Dumps information about the PRD.
Definition: sTgcPrepData.cxx:42
Muon::sTgcPrepData::sTgcPrepData
sTgcPrepData()=default
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
sTgcPrepData.h
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
MuonGM::sTgcReadoutElement
An sTgcReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station c...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/sTgcReadoutElement.h:30
charge
double charge(const T &p)
Definition: AtlasPID.h:538
Muon::MuonCluster::dump
virtual MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
Definition: MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/src/MuonCluster.cxx:78
Muon::MuonCluster
Class representing clusters in the muon system.
Definition: MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/MuonPrepRawData/MuonCluster.h:37
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
Identifier
Definition: IdentifierFieldParser.cxx:14