ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonRecEvent
MuonPrepRawData
src
TgcPrepData.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// TgcPrepData.cxx
7
// Implementation file for class TgcPrepData
9
// (c) ATLAS Detector software
11
// Version 1.0 03/29/2005 Ketevi A. Assamagan
13
14
#include <new>
15
#include "
MuonPrepRawData/TgcPrepData.h
"
16
#include "GaudiKernel/MsgStream.h"
17
18
namespace
Muon
19
{
20
21
TgcPrepData::TgcPrepData
(
const
Identifier
& RDOId,
22
const
IdentifierHash
&idDE,
23
const
Amg::Vector2D
& locpos,
24
const
std::vector<Identifier>&
rdoList
,
25
const
Amg::MatrixX
& locErrMat,
26
const
MuonGM::TgcReadoutElement
* detEl,
27
const
uint16_t bcBitMap) :
28
MuonCluster
(RDOId, idDE, locpos,
rdoList
, locErrMat),
//call base class constructor
29
m_detEl
(detEl),
30
m_bcBitMap
(bcBitMap)
31
{ }
32
33
TgcPrepData::TgcPrepData
(
const
Identifier
& RDOId,
34
const
IdentifierHash
&idDE,
35
const
Amg::Vector2D
& locpos,
36
std::vector<Identifier>&&
rdoList
,
37
Amg::MatrixX
&& locErrMat,
38
const
MuonGM::TgcReadoutElement
* detEl,
39
const
uint16_t bcBitMap) :
40
MuonCluster
(RDOId, idDE, locpos,
std
::move(
rdoList
),
std
::move(locErrMat)),
//call base class constructor
41
m_detEl
(detEl),
42
m_bcBitMap
(bcBitMap)
43
{ }
44
45
46
47
// Destructor:
48
TgcPrepData::~TgcPrepData
()
49
=
default
;
50
51
// Default constructor:
52
TgcPrepData::TgcPrepData
():
53
MuonCluster
(),
54
m_detEl
(nullptr),
55
m_bcBitMap
(0)
56
{ }
57
58
//copy constructor:
59
TgcPrepData::TgcPrepData
(
const
TgcPrepData
& RIO)
60
61
=
default
;
62
63
//assignment operator
64
TgcPrepData
&
TgcPrepData::operator=
(
const
TgcPrepData
& RIO)
65
{
66
if
(&RIO !=
this
)
67
{
68
MuonCluster::operator=
(RIO);
69
m_detEl
= RIO.
m_detEl
;
70
m_bcBitMap
= RIO.
m_bcBitMap
;
71
}
72
return
*
this
;
73
}
74
75
uint16_t
TgcPrepData::getBcBitMap
()
const
76
{
77
return
m_bcBitMap
;
78
}
79
80
void
TgcPrepData::setBcBitMap
(
const
uint16_t bcBitMap)
81
{
82
m_bcBitMap
= bcBitMap;
83
}
84
85
MsgStream&
TgcPrepData::dump
( MsgStream& stream)
const
86
{
87
stream << MSG::INFO<<
"TgcPrepData {"
<<std::endl;
88
89
MuonCluster::dump
(stream);
90
91
stream<<
"} End TgcPrepData"
<<
endmsg
;
92
93
return
stream;
94
}
95
96
std::ostream&
TgcPrepData::dump
( std::ostream& stream)
const
97
{
98
stream <<
"TgcPrepData {"
<<std::endl;
99
100
MuonCluster::dump
(stream);
101
102
stream<<
"} End TgcPrepData"
<<std::endl;
103
return
stream;
104
}
105
//end of classdef
106
}
//end of ns
107
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:54
TgcPrepData.h
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
MuonGM::TgcReadoutElement
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
Definition
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:42
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::operator=
MuonCluster & operator=(const MuonCluster &)
Definition
MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/src/MuonCluster.cxx:58
Muon::MuonCluster::MuonCluster
MuonCluster()
Default constructor.
Definition
MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonPrepRawData/src/MuonCluster.cxx:41
Muon::TgcPrepData
Class to represent TGC measurements.
Definition
TgcPrepData.h:32
Muon::TgcPrepData::setBcBitMap
void setBcBitMap(const uint16_t)
set the bcBitMap for this PRD
Definition
TgcPrepData.cxx:80
Muon::TgcPrepData::m_detEl
const MuonGM::TgcReadoutElement * m_detEl
Definition
TgcPrepData.h:109
Muon::TgcPrepData::~TgcPrepData
virtual ~TgcPrepData()
Destructor:
Muon::TgcPrepData::m_bcBitMap
uint16_t m_bcBitMap
Definition
TgcPrepData.h:110
Muon::TgcPrepData::dump
virtual MsgStream & dump(MsgStream &stream) const override final
Dumps information about the PRD.
Definition
TgcPrepData.cxx:85
Muon::TgcPrepData::getBcBitMap
uint16_t getBcBitMap() const
Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC.
Definition
TgcPrepData.cxx:75
Muon::TgcPrepData::TgcPrepData
TgcPrepData()
Definition
TgcPrepData.cxx:52
Muon::TgcPrepData::operator=
TgcPrepData & operator=(const TgcPrepData &)
Definition
TgcPrepData.cxx:64
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.
Generated on
for ATLAS Offline Software by
1.17.0