Skip to content

Commit

Permalink
Avoid row_wise_branch in 10.5 output
Browse files Browse the repository at this point in the history
Avoid saving trees with row_wise_branch when using G4-10.5.
  • Loading branch information
lopezzot committed Feb 1, 2024
1 parent c042e21 commit d4ba2ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/HGCALTBRunAction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ HGCALTBRunAction::HGCALTBRunAction(HGCALTBEventAction* eventAction)
analysisManager->SetVerboseLevel(1);
analysisManager->SetNtupleMerging(1);

#if G4VERSION_NUMBER > 1050 && G4VERSION_NUMBER < 1060
analysisManager->SetNtupleRowWise(false);
#endif

analysisManager->CreateNtuple("HGCALTBout", "HGCALTBoutput");
analysisManager->CreateNtupleDColumn("edep");
analysisManager->CreateNtupleDColumn("CEETot");
Expand Down

0 comments on commit d4ba2ce

Please sign in to comment.