ATLAS Offline Software
|
#include <MuonCalibTruth.h>
Public Member Functions | |
MuonCalibTruth ()=default | |
default constructor More... | |
MuonCalibTruth (const MuonCalibTruth &truth)=default | |
copy constructor More... | |
MuonCalibTruth & | operator= (const MuonCalibTruth &rhs) |
assignement operator More... | |
~MuonCalibTruth ()=default | |
destructor More... | |
MuonCalibTruth (const Amg::Vector3D &pos, const Amg::Vector3D &momentum, double kinEnergy, int code, int barCode) | |
constructor initializing all attributes More... | |
void | setPosition (const Amg::Vector3D &pos) |
sets position More... | |
void | setMomentum (const Amg::Vector3D &mom) |
sets momentum More... | |
void | setKinEnergy (double kinEnergy) |
sets kinetic energy More... | |
void | setPDGCode (int code) |
sets PDG code More... | |
void | setBarCode (int barCode) |
sets barcode More... | |
void | setUniqueID (int uniqueID) |
sets unique ID More... | |
const Amg::Vector3D & | position () const |
retrieve position More... | |
const Amg::Vector3D & | momentum () const |
retrieve momentum More... | |
double | kinEnergy () const |
retrieve kinetic energy More... | |
int | PDGCode () const |
retrieve PDG code More... | |
int | barCode () const |
retrieve barcode More... | |
int | id () const |
retrieve unique ID More... | |
std::ostream & | dump (std::ostream &stream) const |
dump method to be used in operator<<() of the MuonCalibTruth for output More... | |
Private Attributes | |
Amg::Vector3D | m_position {0., 0., 0.} |
position More... | |
Amg::Vector3D | m_momentum {0., 0., 0.} |
momentum More... | |
double | m_kinEnergy {0.} |
kinetic energy More... | |
int | m_PDGCode {0} |
PDG code. More... | |
int | m_barCode {0} |
bar code More... | |
int | m_uniqueID {0} |
unique ID More... | |
Calib-EDM version of TrackRecord, given at the MuonSpectrometer entrance. It contains the following:
Definition at line 24 of file MuonCalibTruth.h.
|
default |
default constructor
|
default |
copy constructor
|
default |
destructor
MuonCalib::MuonCalibTruth::MuonCalibTruth | ( | const Amg::Vector3D & | pos, |
const Amg::Vector3D & | momentum, | ||
double | kinEnergy, | ||
int | code, | ||
int | barCode | ||
) |
constructor initializing all attributes
Definition at line 11 of file MuonCalibTruth.cxx.
int MuonCalib::MuonCalibTruth::barCode | ( | ) | const |
std::ostream & MuonCalib::MuonCalibTruth::dump | ( | std::ostream & | stream | ) | const |
dump method to be used in operator<<() of the MuonCalibTruth for output
Definition at line 38 of file MuonCalibTruth.cxx.
int MuonCalib::MuonCalibTruth::id | ( | ) | const |
double MuonCalib::MuonCalibTruth::kinEnergy | ( | ) | const |
const Amg::Vector3D & MuonCalib::MuonCalibTruth::momentum | ( | ) | const |
MuonCalibTruth& MuonCalib::MuonCalibTruth::operator= | ( | const MuonCalibTruth & | rhs | ) |
assignement operator
int MuonCalib::MuonCalibTruth::PDGCode | ( | ) | const |
const Amg::Vector3D & MuonCalib::MuonCalibTruth::position | ( | ) | const |
void MuonCalib::MuonCalibTruth::setBarCode | ( | int | barCode | ) |
void MuonCalib::MuonCalibTruth::setKinEnergy | ( | double | kinEnergy | ) |
void MuonCalib::MuonCalibTruth::setMomentum | ( | const Amg::Vector3D & | mom | ) |
void MuonCalib::MuonCalibTruth::setPDGCode | ( | int | code | ) |
void MuonCalib::MuonCalibTruth::setPosition | ( | const Amg::Vector3D & | pos | ) |
void MuonCalib::MuonCalibTruth::setUniqueID | ( | int | uniqueID | ) |
|
private |
bar code
Definition at line 54 of file MuonCalibTruth.h.
|
private |
kinetic energy
Definition at line 52 of file MuonCalibTruth.h.
|
private |
momentum
Definition at line 51 of file MuonCalibTruth.h.
|
private |
PDG code.
Definition at line 53 of file MuonCalibTruth.h.
|
private |
position
Definition at line 50 of file MuonCalibTruth.h.
|
private |
unique ID
Definition at line 55 of file MuonCalibTruth.h.