ATLAS Offline Software
MuonCalibRawRpcCoin.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #include <iostream>
8 
9 namespace MuonCalib {
10 
11  unsigned short MuonCalibRawRpcCoin::ijk() const { return m_pars.ijk; }
12  unsigned short MuonCalibRawRpcCoin::threshold() const { return m_pars.threshold; }
13  unsigned short MuonCalibRawRpcCoin::overlap() const { return m_pars.overlap; }
14  unsigned short MuonCalibRawRpcCoin::parentCmId() const { return m_pars.parentCmId; }
15  unsigned short MuonCalibRawRpcCoin::parentPadId() const { return m_pars.parentPadId; }
16  unsigned short MuonCalibRawRpcCoin::parentSectorId() const { return m_pars.parentSectorId; }
17  bool MuonCalibRawRpcCoin::lowPtCm() const { return m_pars.lowPtCm; }
19 
20  std::ostream &MuonCalibRawRpcCoin::dump(std::ostream &stream) const {
21  stream << "MuonCalibRawRpcCoin with" << std::endl;
22  stream << " identifier " << identify() << std::endl;
23  stream << " global position " << globalPosition() << std::endl;
24  stream << " occupancy " << occupancy() << std::endl;
25  stream << " time " << t() << std::endl;
26  stream << " width " << width() << std::endl;
27  stream << " length " << length() << std::endl;
28  return stream;
29  }
30 
31 } // namespace MuonCalib
32 
33 std::ostream &operator<<(std::ostream &stream, const MuonCalib::MuonCalibRawRpcCoin &hit) { return hit.dump(stream); }
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
MuonCalib::MuonCalibRawRpcCoin::dump
std::ostream & dump(std::ostream &stream) const
dump to be used for operator<<() to dump the MuonCalibRawRpcCoin
Definition: MuonCalibRawRpcCoin.cxx:20
MuonCalib::MuonCalibRawRpcCoin::parentCmId
unsigned short parentCmId() const
Definition: MuonCalibRawRpcCoin.cxx:14
MuonCalib::MuonCalibRawRpcCoin::MuonCalibRawRpcCoin
MuonCalibRawRpcCoin()=default
default constructor
MuonCalib::MuonCalibRawRpcCoin::coinPars::ijk
unsigned short ijk
Definition: MuonCalibRawRpcCoin.h:28
operator<<
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MuonCalibRawRpcCoin &hit)
Definition: MuonCalibRawRpcCoin.cxx:33
MuonCalib::MuonCalibRawRpcCoin::parentPadId
unsigned short parentPadId() const
Definition: MuonCalibRawRpcCoin.cxx:15
MuonCalib::MuonCalibRawRpcHit::t
float t() const
retrieve the time
Definition: MuonCalibRawRpcHit.cxx:13
MuonCalib::MuonCalibRawRpcHit::globalPosition
const Amg::Vector3D & globalPosition() const
retrieve the position expressed in global coordinates
Definition: MuonCalibRawRpcHit.cxx:11
MuonCalib::MuonCalibRawRpcHit::length
float length() const
retrieve the strip length
Definition: MuonCalibRawRpcHit.cxx:15
MuonCalib::MuonCalibRawRpcHit::width
float width() const
retrieve the strip width
Definition: MuonCalibRawRpcHit.cxx:14
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
MuonCalib::MuonCalibRawRpcCoin::coinPars::parentPadId
unsigned short parentPadId
Definition: MuonCalibRawRpcCoin.h:32
MuonCalib::MuonCalibRawRpcCoin::coinPars::threshold
unsigned short threshold
Definition: MuonCalibRawRpcCoin.h:29
MuonCalib::MuonCalibRawRpcCoin::coinPars::parentCmId
unsigned short parentCmId
Definition: MuonCalibRawRpcCoin.h:31
MuonCalib::MuonCalibRawRpcCoin::defPars
Definition: MuonCalibRawRpcCoin.h:37
MuonCalib::MuonCalibRawRpcCoin::parentSectorId
unsigned short parentSectorId() const
Definition: MuonCalibRawRpcCoin.cxx:16
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::MuonCalibRawRpcCoin::coinPars::parentSectorId
unsigned short parentSectorId
Definition: MuonCalibRawRpcCoin.h:33
MuonCalib::MuonCalibRawRpcCoin::m_pars
coinPars m_pars
Definition: MuonCalibRawRpcCoin.h:56
MuonCalib::MuonCalibRawRpcCoin::overlap
unsigned short overlap() const
Definition: MuonCalibRawRpcCoin.cxx:13
MuonCalibRawRpcCoin.h
MuonCalib::MuonCalibRawRpcCoin::coinPars::lowPtCm
bool lowPtCm
Definition: MuonCalibRawRpcCoin.h:34
MuonCalib::MuonCalibRawRpcHit
Definition: MuonCalibRawRpcHit.h:27
MuonCalib::MuonCalibRawRpcCoin
Definition: MuonCalibRawRpcCoin.h:20
MuonCalib::MuonCalibRawRpcCoin::threshold
unsigned short threshold() const
Definition: MuonCalibRawRpcCoin.cxx:12
MuonCalib::MuonCalibRawRpcCoin::lowPtCm
bool lowPtCm() const
Definition: MuonCalibRawRpcCoin.cxx:17
MuonCalib::MuonCalibRawRpcHit::identify
const MuonFixedId & identify() const
retrieve the MuonFixedId
Definition: MuonCalibRawRpcHit.cxx:10
MuonCalib::MuonCalibRawRpcHit::occupancy
int occupancy() const
retrieve the occupancy (-1 == not assigned to any segment)
Definition: MuonCalibRawRpcHit.cxx:12
MuonCalib::MuonCalibRawRpcCoin::coinPars::overlap
unsigned short overlap
Definition: MuonCalibRawRpcCoin.h:30
MuonCalib::MuonCalibRawRpcCoin::ijk
unsigned short ijk() const
Definition: MuonCalibRawRpcCoin.cxx:11