13 Int_t status = NicaGeneratorReadTree::ReadEvent();
14 if (status != EventOk())
return status;
23 fTrackParameters->SetInt(part->
GetIndex(), fIndex_Id);
31 fTrackParameters->SetDouble(part->
Px(), fPx_Id);
32 fTrackParameters->SetDouble(part->
Py(), fPy_Id);
33 fTrackParameters->SetDouble(part->
Pz(), fPz_Id);
34 fTrackParameters->SetDouble(part->
E(), fE_Id);
35 fTrackParameters->SetDouble(part->
X(),
fX_Id);
36 fTrackParameters->SetDouble(part->
Y(),
fY_Id);
37 fTrackParameters->SetDouble(part->
Z(),
fZ_Id);
38 fTrackParameters->SetDouble(part->
T(),
fT_Id);
39 fTrackParameters->SetInt(part->
GetPdg(), fPdg_Id);
46 Int_t stat = NicaGeneratorReadTree::Reopen();
47 if (stat != FileOk()) {
return stat; }
56 : NicaGeneratorReadTree(name,
"events",
"event", multi_mode)
77 NicaGeneratorRead::CheckParameters();
85 fX_Id = CheckParameter(
"frx");
86 fY_Id = CheckParameter(
"fry");
87 fZ_Id = CheckParameter(
"frz");
88 fT_Id = CheckParameter(
"frt");