Message: Re: Double deletes in ~G4Track() Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Double deletes in ~G4Track() 

Forum: Event and Track Management
Re: None Double deletes in ~G4Track() (Tom Roberts)
Date: 18 Sep, 2012
From: Hisaya Kurashige <Hisaya Kurashige>

Hi, Tom

  Thank you for reporting the problem. But I can not reproduce it.

  In 9.5 release, G4DynamicParticle object is copied in copy constructor 0f G4Track (i.e. the pointer of copied track is set by using copy constructor of G4DynamicParticle ) As for the G4VUserTrackInformation, the pointer is always set to 0 for the copy track.
see: http://www-geant4.kek.jp/lxr/source/track/src/G4Track.cc?v=9.5

Cheers,
        Hisaya

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

1 None: Re: Double deletes in ~G4Track()   (Tom Roberts - 19 Sep, 2012)
 Add Message Add Message
to: "Re: Double deletes in ~G4Track()"

 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 ]