ATLAS Offline Software
Loading...
Searching...
No Matches
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>
16#include "GaudiKernel/MsgStream.h"
17
18namespace Muon
19{
20
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
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:
49= default;
50
51// Default constructor:
54 m_detEl(nullptr),
55 m_bcBitMap(0)
56{ }
57
58//copy constructor:
60
61= default;
62
63//assignment operator
65{
66 if (&RIO !=this)
67 {
69 m_detEl = RIO.m_detEl ;
71 }
72 return *this;
73}
74
76{
77 return m_bcBitMap;
78}
79
80void TgcPrepData::setBcBitMap(const uint16_t bcBitMap)
81{
82 m_bcBitMap = bcBitMap;
83}
84
85MsgStream& 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
#define endmsg
This is a "hash" representation of an Identifier.
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
virtual MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
Class to represent TGC measurements.
Definition TgcPrepData.h:32
void setBcBitMap(const uint16_t)
set the bcBitMap for this PRD
const MuonGM::TgcReadoutElement * m_detEl
virtual ~TgcPrepData()
Destructor:
virtual MsgStream & dump(MsgStream &stream) const override final
Dumps information about the PRD.
uint16_t getBcBitMap() const
Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC.
TgcPrepData & operator=(const TgcPrepData &)
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Eigen::Matrix< double, 2, 1 > Vector2D
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
STL namespace.