Skip to content

Commit

Permalink
fix examples/WritingMacro.C according to PR HeavyIonAnalysis#134 Heav…
Browse files Browse the repository at this point in the history
  • Loading branch information
lubynets committed Jan 15, 2025
1 parent f3974fe commit 41db387
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/WritingMacro.C
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ void WritingMacro(int nEvents = 1000,
simtrack->Init(config_.GetBranchConfig(sim_tracks_->GetId()));

// Set default fields of it
simtrack->SetIsAllowedSetMassAndChargeExplicitly();
simtrack->SetMomentum(px_sim, py_sim, pz_sim);
simtrack->SetPid(3122);
simtrack->SetMass(1.115683);
Expand Down

0 comments on commit 41db387

Please sign in to comment.