ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalibTgcTruthHit.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 MuonCalibTgcTruthHit::time() const { return m_time; }
12
16
18
19 std::ostream &MuonCalibTgcTruthHit::dump(std::ostream &stream) const {
20 stream << "MuonCalibTgcTruthHit: " << std::endl;
21 stream << " ID = " << identify() << std::endl;
22 stream << " barCode = " << barCode() << std::endl;
23 stream << " Time = " << time() << std::endl;
24 return stream;
25 }
26
27} // namespace MuonCalib
28
29std::ostream &operator<<(std::ostream &stream, const MuonCalib::MuonCalibTgcTruthHit &truth) { return truth.dump(stream); }
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MuonCalibTgcTruthHit &truth)
Class with truth information of a RPC hit, containing:
void setTime(double time)
sets the time
MuonCalibTgcTruthHit()=default
default constructor
const MuonFixedId & identify() const
retrieve the MuonFixedId
double time() const
retrieve the time
MuonFixedId m_ID
identifier of the truth hit, (is a MuonFixedId, not an Identifier)
void setBarCode(int barCode)
sets the barcode
void setIdentifier(MuonFixedId id)
sets the MuonFixedId
std::ostream & dump(std::ostream &stream) const
dump to be used for operator<<() to dump the MuonCalibTgcTruthHit
int barCode() const
retrieve 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.