ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalibRpcTruthHit.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
7namespace MuonCalib {
8
11 double MuonCalibRpcTruthHit::time() const { return m_time; }
12
16
18 std::ostream &MuonCalibRpcTruthHit::dump(std::ostream &stream) const {
19 stream << "MuonCalibRpcTruthHit: " << std::endl;
20 stream << " ID = " << identify() << std::endl;
21 stream << " barCode = " << barCode() << std::endl;
22 stream << " Time = " << time() << std::endl;
23 return stream;
24 }
25
26} // end namespace MuonCalib
27
28std::ostream &operator<<(std::ostream &stream, const MuonCalib::MuonCalibRpcTruthHit &truth) { return truth.dump(stream); }
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MuonCalibRpcTruthHit &truth)
Class with truth information of a RPC hit, containing:
void setIdentifier(MuonFixedId id)
sets the MuonFixedId
std::ostream & dump(std::ostream &stream) const
dump to be used for operator<<() to dump the MuonCalibRpcTruthHit
int barCode() const
retrieve the barcode
void setTime(double time)
sets the time
double time() const
retrieve the time
const MuonFixedId & identify() const
retrieve the MuonFixedId
MuonCalibRpcTruthHit()=default
default constructor
MuonFixedId m_ID
identifier of the truth hit, (is a MuonFixedId, not an Identifier)
void setBarCode(int barCode)
sets the barcode
Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration...
Definition MuonFixedId.h:50
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.