33 stream <<
"MuonCalibMdtTruthHit: " << std::endl;
34 stream <<
" ID = " <<
identify() << std::endl;
35 stream <<
" barCode = " <<
barCode() << std::endl;
36 stream <<
" driftRadius = " <<
driftRadius() << std::endl;
38 stream <<
" gpositionX = " <<
gpositionX() << std::endl;
39 stream <<
" gpositionY = " <<
gpositionY() << std::endl;
40 stream <<
" gpositionZ = " <<
gpositionZ() << std::endl;
41 stream <<
" Time = " <<
time() << std::endl;
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MuonCalibMdtTruthHit &truth)
Class with truth information of a MDT hit, containing:
double time() const
retrieve the time
MuonFixedId m_ID
identifier of the truth hit, (a MuonFixedId, not an Identifier)
double gpositionX() const
retrieve the global X position
std::ostream & dump(std::ostream &stream) const
dump to be used for operator<<() to dump the MuonCalibMdtTruthHit
MuonFixedId identify() const
retrieve the MuonFixedId
void setBarCode(int barCode)
sets the barcode
double gpositionZ() const
retrieve the global Z position
void setPositionAlongTube(double positionAlongTube)
sets the position along tube
void setgPositionY(double gpositionY)
sets the global Y position
void setIdentifier(MuonFixedId id)
sets the MuonFixedId
int barCode() const
retrieve the barcode
double driftRadius() const
retrieve the driftradius
double positionAlongTube() const
retrieve the position along tube
double m_positionAlongTube
position along tube
void setTime(double time)
sets the time
double gpositionY() const
retrieve the global Y position
void setgPosition(Amg::Vector3D newPos)
void setgPositionZ(double gpositionZ)
sets the global Z position
double m_driftRadius
drift radius
MuonCalibMdtTruthHit()=default
default constructor
void setDriftRadius(double driftRadius)
sets the driftradius
void setgPositionX(double gpositionX)
sets the global X position
Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration...
Eigen::Matrix< double, 3, 1 > Vector3D
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.