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:29
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:49
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
sTgcPrepData.h
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
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:28
charge
double charge(const T &p)
Definition: AtlasPID.h:494
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
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
Definition: IdentifierHash.h:38