Message: Re: Memory use by ROOT histograms Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Memory use by ROOT histograms 

Forum: Analysis
Re: Question Memory use by ROOT histograms (Alexander Zyazin)
Re: None Re: Memory use by ROOT histograms (Andreas Pfeiffer)
Date: 23 May, 2014
From: Ivana Hrivnacova <Ivana Hrivnacova>

Hi Alexandr, Andreas,

From the code sample, it is clear that Alexandr uses the Geant4 analysis tools based on g4tools.

In Geant4 examples, we instantiate G4AnalysisManager both on workers and on master (and create histograms per thread) so that we need not to lock filling the histograms what would be required if we use just one shared object. The design however does not prevent you from creating the analysis manager only on master and use from the workers with locking the filling operation. What is required by the design is that the master object must be instantiated if you have instances on workers and use histograms.

From the provided code, it is however not clear how you create your event action class, as usually the event action class is created on workers (in ActionInitialization::Build method), and so moving the analysis code here does not change the situation.

Best regards,

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

1 None: Re: Memory use by ROOT histograms   (Alexander Zyazin - 23 May, 2014)
(_ None: Re: Memory use by ROOT histograms   (Ivana Hrivnacova - 27 May, 2014)
(_ None: Re: Memory use by ROOT histograms   (Alexander Zyazin - 28 May, 2014)
 Add Message Add Message
to: "Re: Memory use by ROOT histograms"

 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 ]