10 #include "NicaRunSim.h"
13 : NicaGeneratorWrite(4, 3, 1, 0, 9, 9, 0, 0) {
17 Register(4,
"Nes",
"Step_nr",
"Npa",
"Nr");
19 Register(3,
"B",
"Phi",
"Step_t");
32 Register(9,
"px",
"py",
"pz",
"e",
"frx",
"fry",
"frz",
"frt",
"weight");
36 InitStatus stat = NicaGeneratorWrite::Init();
37 NicaRunSim* manager = NicaRunSim::Instance();
38 manager->GetTree()->Branch(
"event", &
fEvent);
39 LOG(info) <<
"Data will be set to Unigen format";
55 Int_t child[2] = {fTrackParameters->GetInt(8), fTrackParameters->GetInt(9)};
57 fTrackParameters->GetInt(2),
58 fTrackParameters->GetInt(3),
59 fTrackParameters->GetInt(4),
60 fTrackParameters->GetInt(5),
61 fTrackParameters->GetInt(6),
62 fTrackParameters->GetInt(7),
64 fTrackParameters->GetDouble(1),
65 fTrackParameters->GetDouble(2),
66 fTrackParameters->GetDouble(3),
67 fTrackParameters->GetDouble(4),
68 fTrackParameters->GetDouble(5),
69 fTrackParameters->GetDouble(6),
70 fTrackParameters->GetDouble(7),
71 fTrackParameters->GetDouble(8),
72 fTrackParameters->GetDouble(9));