ATLAS Offline Software
Loading...
Searching...
No Matches
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
8namespace 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)
24 , m_time(time)
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)
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
#define endmsg
This is a "hash" representation of an Identifier.
An sTgcReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station c...
virtual MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
int charge() const
Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC.
std::vector< uint16_t > m_stripNumbers
@list of strip numbers, time and charge, of the strips associated to the PRD
std::vector< short int > m_stripTimes
strip times for the sTGCs will be available for the commissioning of the NSW.
const std::vector< uint16_t > & stripNumbers() const
returns the list of strip numbers
short int time() const
sTgcPrepData()=default
const std::vector< int > & stripCharges() const
returns the list of charges
virtual MsgStream & dump(MsgStream &stream) const override final
Dumps information about the PRD.
const MuonGM::sTgcReadoutElement * m_detEl
Cached pointer to the detector element - should never be zero.
const std::vector< short int > & stripTimes() const
returns the list of times
std::vector< int > m_stripCharges
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.