Message: Re: Memory Leak/Implementation of THitsCollection Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Memory Leak/Implementation of THitsCollection 

Forum: Hits, Digitization and Pileup
Re: Sad Memory Leak/Implementation of THitsCollection (Nicole Ackerman)
Date: 14 May, 2012
From: Tsukasa Aso <Tsukasa Aso>

Hi,

   The HitsCollection will be deleted automatically in the end of every event.
This is called by G4RunManager -> G4Event -> G4HCofThisEvent sequences.
So, HitCollections have to be instanciated at the SD::Initialize().

  More information is necessary for solving this problem.
  Could you let us know a snippet code of your SD.cc?

 Tsukasa Aso

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

1 More: Re: Memory Leak/Implementation of THitsCollection   (Nicole Ackerman - 14 May, 2012)
(_ Ok: Re: Memory Leak/Implementation of THitsCollection   (Nicole Ackerman - 15 May, 2012)
 Add Message Add Message
to: "Re: Memory Leak/Implementation of THitsCollection"

 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 ]