ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonRecEvent
MuonPrepRawData
src
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
5
#include "
MuonPrepRawData/sTgcPrepData.h
"
6
#include "GaudiKernel/MsgStream.h"
7
8
namespace
Muon
{
9
10
sTgcPrepData::sTgcPrepData
(
const
Identifier
& RDOId,
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
29
sTgcPrepData::sTgcPrepData
(
const
Identifier
& RDOId,
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;
44
MuonCluster::dump
(stream);
45
stream<<
"}"
<<
endmsg
;
46
return
stream;
47
}
48
49
std::ostream&
sTgcPrepData::dump
( std::ostream& stream)
const
{
50
stream <<
"sTgcPrepData {"
<<std::endl;
51
MuonCluster::dump
(stream);
52
stream<<
"}"
<<std::endl;
53
return
stream;
54
}
55
//end of classdef
56
}
//end of ns
57
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:61
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
MuonGM::sTgcReadoutElement
An sTgcReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station c...
Definition
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/sTgcReadoutElement.h:30
Muon::MuonCluster::dump
virtual MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
Definition
MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/src/MuonCluster.cxx:69
Muon::MuonCluster::MuonCluster
MuonCluster()
Default constructor.
Definition
MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/src/MuonCluster.cxx:41
Muon::sTgcPrepData::charge
int charge() const
Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC.
Definition
sTgcPrepData.h:153
Muon::sTgcPrepData::m_charge
int m_charge
Definition
sTgcPrepData.h:120
Muon::sTgcPrepData::m_stripNumbers
std::vector< uint16_t > m_stripNumbers
@list of strip numbers, time and charge, of the strips associated to the PRD
Definition
sTgcPrepData.h:123
Muon::sTgcPrepData::m_stripTimes
std::vector< short int > m_stripTimes
strip times for the sTGCs will be available for the commissioning of the NSW.
Definition
sTgcPrepData.h:130
Muon::sTgcPrepData::stripNumbers
const std::vector< uint16_t > & stripNumbers() const
returns the list of strip numbers
Definition
sTgcPrepData.h:157
Muon::sTgcPrepData::time
short int time() const
Definition
sTgcPrepData.h:155
Muon::sTgcPrepData::sTgcPrepData
sTgcPrepData()=default
Muon::sTgcPrepData::stripCharges
const std::vector< int > & stripCharges() const
returns the list of charges
Definition
sTgcPrepData.h:159
Muon::sTgcPrepData::dump
virtual MsgStream & dump(MsgStream &stream) const override final
Dumps information about the PRD.
Definition
sTgcPrepData.cxx:42
Muon::sTgcPrepData::m_detEl
const MuonGM::sTgcReadoutElement * m_detEl
Cached pointer to the detector element - should never be zero.
Definition
sTgcPrepData.h:119
Muon::sTgcPrepData::m_time
short int m_time
Definition
sTgcPrepData.h:121
Muon::sTgcPrepData::stripTimes
const std::vector< short int > & stripTimes() const
returns the list of times
Definition
sTgcPrepData.h:158
Muon::sTgcPrepData::m_stripCharges
std::vector< int > m_stripCharges
Definition
sTgcPrepData.h:131
Trk::PrepRawData::rdoList
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
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
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.
sTgcPrepData.h
Generated on
for ATLAS Offline Software by
1.17.0