![]() |
ATLAS Offline Software
|
#include <MuonCalibMdtTruthHit.h>
Public Member Functions | |
MuonCalibMdtTruthHit ()=default | |
default constructor More... | |
MuonCalibMdtTruthHit (const MuonCalibMdtTruthHit &truth)=default | |
copyconstructor More... | |
~MuonCalibMdtTruthHit ()=default | |
destructor More... | |
MuonCalibMdtTruthHit & | operator= (const MuonCalibMdtTruthHit &rhs)=default |
assignment operator More... | |
MuonCalibMdtTruthHit (MuonFixedId id, int barCode, double driftRadius, double positionAlongTube, Amg::Vector3D globPos, double time) | |
std::ostream & | dump (std::ostream &stream) const |
dump to be used for operator<<() to dump the MuonCalibMdtTruthHit More... | |
MuonFixedId | identify () const |
retrieve the MuonFixedId More... | |
int | barCode () const |
retrieve the barcode More... | |
double | driftRadius () const |
retrieve the driftradius More... | |
double | positionAlongTube () const |
retrieve the position along tube More... | |
double | gpositionX () const |
retrieve the global X position More... | |
double | gpositionY () const |
retrieve the global Y position More... | |
double | gpositionZ () const |
retrieve the global Z position More... | |
double | time () const |
retrieve the time More... | |
void | setIdentifier (MuonFixedId id) |
sets the MuonFixedId More... | |
void | setBarCode (int barCode) |
sets the barcode More... | |
void | setDriftRadius (double driftRadius) |
sets the driftradius More... | |
void | setPositionAlongTube (double positionAlongTube) |
sets the position along tube More... | |
void | setgPositionX (double gpositionX) |
sets the global X position More... | |
void | setgPositionY (double gpositionY) |
sets the global Y position More... | |
void | setgPositionZ (double gpositionZ) |
sets the global Z position More... | |
void | setgPosition (Amg::Vector3D newPos) |
void | setTime (double time) |
sets the time More... | |
Private Attributes | |
MuonFixedId | m_ID {0} |
identifier of the truth hit, (a MuonFixedId, not an Identifier) More... | |
int | m_barCode {0} |
barcode More... | |
double | m_driftRadius {0.} |
drift radius More... | |
double | m_positionAlongTube {0.} |
position along tube More... | |
Amg::Vector3D | m_pos {0., 0., 0.} |
double | m_time {0.} |
time More... | |
Class with truth information of a MDT hit, containing:
Definition at line 21 of file MuonCalibMdtTruthHit.h.
|
default |
default constructor
|
default |
copyconstructor
|
default |
destructor
MuonCalib::MuonCalibMdtTruthHit::MuonCalibMdtTruthHit | ( | MuonFixedId | id, |
int | barCode, | ||
double | driftRadius, | ||
double | positionAlongTube, | ||
Amg::Vector3D | globPos, | ||
double | time | ||
) |
Definition at line 28 of file MuonCalibMdtTruthHit.cxx.
int MuonCalib::MuonCalibMdtTruthHit::barCode | ( | ) | const |
double MuonCalib::MuonCalibMdtTruthHit::driftRadius | ( | ) | const |
std::ostream & MuonCalib::MuonCalibMdtTruthHit::dump | ( | std::ostream & | stream | ) | const |
dump to be used for operator<<() to dump the MuonCalibMdtTruthHit
Definition at line 32 of file MuonCalibMdtTruthHit.cxx.
double MuonCalib::MuonCalibMdtTruthHit::gpositionX | ( | ) | const |
double MuonCalib::MuonCalibMdtTruthHit::gpositionY | ( | ) | const |
double MuonCalib::MuonCalibMdtTruthHit::gpositionZ | ( | ) | const |
MuonFixedId MuonCalib::MuonCalibMdtTruthHit::identify | ( | ) | const |
|
default |
assignment operator
double MuonCalib::MuonCalibMdtTruthHit::positionAlongTube | ( | ) | const |
void MuonCalib::MuonCalibMdtTruthHit::setBarCode | ( | int | barCode | ) |
sets the barcode
Definition at line 20 of file MuonCalibMdtTruthHit.cxx.
void MuonCalib::MuonCalibMdtTruthHit::setDriftRadius | ( | double | driftRadius | ) |
void MuonCalib::MuonCalibMdtTruthHit::setgPosition | ( | Amg::Vector3D | newPos | ) |
Definition at line 27 of file MuonCalibMdtTruthHit.cxx.
void MuonCalib::MuonCalibMdtTruthHit::setgPositionX | ( | double | gpositionX | ) |
void MuonCalib::MuonCalibMdtTruthHit::setgPositionY | ( | double | gpositionY | ) |
void MuonCalib::MuonCalibMdtTruthHit::setgPositionZ | ( | double | gpositionZ | ) |
void MuonCalib::MuonCalibMdtTruthHit::setIdentifier | ( | MuonFixedId | id | ) |
void MuonCalib::MuonCalibMdtTruthHit::setPositionAlongTube | ( | double | positionAlongTube | ) |
void MuonCalib::MuonCalibMdtTruthHit::setTime | ( | double | time | ) |
double MuonCalib::MuonCalibMdtTruthHit::time | ( | ) | const |
|
private |
barcode
Definition at line 53 of file MuonCalibMdtTruthHit.h.
|
private |
drift radius
Definition at line 54 of file MuonCalibMdtTruthHit.h.
|
private |
identifier of the truth hit, (a MuonFixedId, not an Identifier)
Definition at line 52 of file MuonCalibMdtTruthHit.h.
|
private |
Definition at line 56 of file MuonCalibMdtTruthHit.h.
|
private |
position along tube
Definition at line 55 of file MuonCalibMdtTruthHit.h.
|
private |
time
Definition at line 57 of file MuonCalibMdtTruthHit.h.