ATLAS Offline Software
MuonCalibRawRpcHit.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 {
13  float MuonCalibRawRpcHit::t() const { return m_pars.t; }
14  float MuonCalibRawRpcHit::width() const { return m_pars.width; }
15  float MuonCalibRawRpcHit::length() const { return m_pars.length; }
19  void MuonCalibRawRpcHit::setT(float t) { m_pars.t = t; }
23 
24  std::ostream& MuonCalibRawRpcHit::dump(std::ostream& stream) const {
25  stream << "MuonCalibRawRpcHit with" << std::endl;
26  stream << " identifier " << identify() << std::endl;
27  stream << " global position " << globalPosition() << std::endl;
28  stream << " occupancy " << occupancy() << std::endl;
29  stream << " time " << t() << std::endl;
30  stream << " width " << width() << std::endl;
31  stream << " length " << length() << std::endl;
32  return stream;
33  }
34 
35 } // namespace MuonCalib
36 
37 std::ostream& operator<<(std::ostream& stream, const MuonCalib::MuonCalibRawRpcHit& hit) { return hit.dump(stream); }
MuonCalib::MuonCalibRawRpcHit::defineParams::occupancy
int occupancy
occupancy (-1 == not assigned to any segment)
Definition: MuonCalibRawRpcHit.h:37
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
MuonCalib::MuonCalibRawRpcHit::setLength
void setLength(float length)
sets the strip length
Definition: MuonCalibRawRpcHit.cxx:21
MuonCalib::MuonCalibRawRpcHit::defineParams::t
float t
time
Definition: MuonCalibRawRpcHit.h:38
MuonCalib::MuonCalibRawRpcHit::setT
void setT(float t)
sets the time
Definition: MuonCalibRawRpcHit.cxx:19
MuonCalib::MuonCalibRawRpcHit::m_pars
defineParams m_pars
Definition: MuonCalibRawRpcHit.h:62
MuonCalib::MuonCalibRawRpcHit::defineParams::glob_pos
Amg::Vector3D glob_pos
position of the hit in global coordinates
Definition: MuonCalibRawRpcHit.h:36
MuonCalib::MuonCalibRawRpcHit::MuonCalibRawRpcHit
MuonCalibRawRpcHit()=default
default constructor
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
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
MuonCalib::MuonCalibRawRpcHit::dump
std::ostream & dump(std::ostream &stream) const
dump to be used for operator<<() to dump the MuonCalibRawRpcHit
Definition: MuonCalibRawRpcHit.cxx:24
MuonCalib::MuonCalibRawRpcHit::width
float width() const
retrieve the strip width
Definition: MuonCalibRawRpcHit.cxx:14
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
MuonCalib::MuonCalibRawRpcHit::defineParams::id
MuonFixedId id
identifier of the raw hit, (is a MuonFixedId, not an Identifier)
Definition: MuonCalibRawRpcHit.h:35
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::MuonCalibRawRpcHit::defineParams
Definition: MuonCalibRawRpcHit.h:34
MuonCalib::MuonCalibRawRpcHit
Definition: MuonCalibRawRpcHit.h:27
MuonCalib::MuonFixedId
Definition: MuonFixedId.h:50
MuonCalib::MuonCalibRawRpcHit::setOccupancy
void setOccupancy(int occ)
sets the occupancy
Definition: MuonCalibRawRpcHit.cxx:18
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
MuonCalib::MuonCalibRawRpcHit::defineParams::length
float length
strip length
Definition: MuonCalibRawRpcHit.h:40
MuonCalib::MuonCalibRawRpcHit::setGlobalPosition
void setGlobalPosition(const Amg::Vector3D &glob)
sets the position expressed in global coordinates
Definition: MuonCalibRawRpcHit.cxx:17
MuonCalib::MuonCalibRawRpcHit::defineParams::width
float width
strip width
Definition: MuonCalibRawRpcHit.h:39
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
MuonCalib::MuonCalibRawRpcHit::setWidth
void setWidth(float width)
sets the strip width
Definition: MuonCalibRawRpcHit.cxx:20
operator<<
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MuonCalibRawRpcHit &hit)
Definition: MuonCalibRawRpcHit.cxx:37
MuonCalibRawRpcHit.h
MuonCalib::MuonCalibRawRpcHit::setId
void setId(MuonFixedId Id)
sets the MuonFixedId
Definition: MuonCalibRawRpcHit.cxx:16
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
length
double length(const pvec &v)
Definition: FPGATrackSimLLPDoubletHoughTransformTool.cxx:26