12 #include "NicaEvent.h"
18 fTotalTracksNo =
event->GetTotalTrackNo();
19 fTracks->ExpandCreateFast(fTotalTracksNo);
21 for (
int i = 0;
i < fTotalTracksNo;
i++) {
25 NicaEvent* temp_event = from->GetEvent();
28 from->SetEvent(temp_event);
29 to->GetLink()->SetLink(0,
i);
34 NicaExpEvent::ShallowCopyEvent(event);
42 : NicaExpEvent(other) {
51 TLorentzVector start = interface->GetVertex();
52 fVertex->SetXYZT(start.X(), start.Y(), start.Z(), start.T());
53 fTracks->ExpandCreateFast(fTotalTracksNo);
54 for (
int i = 0;
i < fTotalTracksNo;
i++) {
57 tr_nica->SetEvent(
this);
58 tr_nica->
Update(tr_cbm, interface);
59 tr_nica->SetEvent(
this);
60 tr_nica->GetLink()->SetLink(0,
i);
65 : NicaExpEvent(classname) {}
72 return CheckBranches(2,
"PrimaryVertex.",
"GlobalTrack");