Message: Re: AnalysisManager root performance for large numbers of ntuples Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: AnalysisManager root performance for large numbers of ntuples 

Forum: Analysis
Re: None AnalysisManager root performance for large numbers of ntuples (Sebastian Heil)
Re: None Re: AnalysisManager root performance for large numbers of ntuples (Ivana Hrivnacova)
Date: 02 Jan, 2014
From: Sebastian Heil <Sebastian Heil>

Hi Ivana,

with this I get
Nof ntuple columns: 2000
MyRunAction.EndOfRun: System time used: 0 s
MyRunAction.EndOfRun: Real time used: 0.2 s


and I found the cause of the problem, though I don't fully understand it:

in MyRunAction::MyRunAction() the loop for creating the tuples takes the name from the mentioned properties object. A pointer to that object is given to the constructor of MyRunAction and stored as properties.
G4String* Properties::getDetectorID(G4int) returns the entry of an std::vector<G4String*>.


for (int i = 0; i < properties->getDetectorNumber(); i++) {
  analysisManager->CreateNtupleDColumn(*(properties->getDetectorID(i)));
}

If I change the name to a constant String like in your code the problem is gone. Yet I rely on the individual IDs, which are produced during runtime.


Thank you very much,
Sebastian

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

1 None: Re: AnalysisManager root performance for large numbers of ntuples   (Sebastian Heil - 02 Jan, 2014)
(_ None: Re: AnalysisManager root performance for large numbers of ntuples   (Ivana Hrivnacova - 03 Jan, 2014)
 Add Message Add Message
to: "Re: AnalysisManager root performance for large numbers of ntuples"

 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 ]