Message: Undesired branch Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Undesired branch  

Forum: Analysis
Date: Apr 04, 07:58
From: Volodymyr Rodin <Volodymyr Rodin>

Hi everyone,

I am using Stepping Action to store beam parameters in root ntuple:

    auto analysisManager = G4AnalysisManager::Instance();
    analysisManager->SetNtupleMerging(true);
    analysisManager->SetFileName(rootFileName);

    analysisManager->CreateNtuple("Hits", "Simulation results");
    ....
    analysisManager->CreateNtupleDColumn("Energy");

   analysisManager->FillNtupleDColumn(0,BranchId=3, aStep->GetTrack()- 
   >GetKineticEnergy());

After the recent Geant4 update it started adding undesired branch into root file. That creates some problems during conversion into txt format, please look on attached pictures.

How can I avoid branch creating?

Best regards,

Volodymyr

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2019/04/04/07.55-42910-Before.png
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2019/04/04/07.55-60381-ter_conversion_before.png
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2019/04/04/07.55-54023-Currently.png
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2019/04/04/07.55-96774-_conversion_Currently.png

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Undesired branch   (Ivana Hrivnacova - Apr 05, 03:27)
(_ None: Re: Undesired branch   (Volodymyr Rodin - Apr 05, 03:43)
 Add Message Add Message
to: "Undesired branch "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]