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