11 #include "NicaExpEvent.h"
14 : fFirstPoint(new TVector3(0, 0, 0)), fLastPoint(new TVector3(0, 0, 0)) {}
17 : NicaExpTrack(other) {
25 if (
this == &other)
return *
this;
26 NicaExpTrack::operator=(other);
38 fFirstPoint->SetXYZ(par->GetX(), par->GetY(), par->GetZ());
40 fLastPoint->SetXYZ(par2->GetX(), par2->GetY(), par2->GetZ());
42 GetMomentum()->SetXYZM(
45 const NicaExpEvent* ev = (NicaExpEvent*) GetEvent();
47 GetDCA()->SetXYZ(track_param->GetX() - ev->GetVertex()->X(),
48 track_param->GetY() - ev->GetVertex()->Y(),
49 track_param->GetZ() - ev->GetVertex()->Z());
50 Double_t qp = track_param->GetQp();
58 NicaExpTrack::CopyData(other);