Message: Is it possible to remove all physical objects copeis ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Is it possible to remove all physical objects copeis ? 

Forum: Geometry
Date: 03 Apr, 2006
From: lexaxl <lexaxl>

For exmpl we have :

 for(int i=0; i<ProbeNumber; i++){
    Probe1Position = G4ThreeVector( +x0, y0 + dy*i, z0); 
    Probe2Position = G4ThreeVector( -x0, y0 + dy*i, z0);
    ProbePhysical  = new G4PVPlacement(0,Probe1Position,ProbeLogical,"ProbePhysical",HallLogical,0,i);
    ProbePhysical  = new G4PVPlacement(0,Probe2Position,ProbeLogical,"ProbePhysical",HallLogical,0,i+10);
  }

20 physical objects created. Due to geometry modification there are should be removed and then created again. How it's possible to do?

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

1 None: Re: Is it possible to remove all physical objects copeis ?   (Makoto Asai - 03 Apr, 2006)
(_ None: Re: Is it possible to remove all physical objects copeis ?   (lexaxl - 04 Apr, 2006)
(_ More: Re: Is it possible to remove all physical objects copeis ?   (Gabriele Cosmo - 06 Apr, 2006)
 Add Message Add Message
to: "Is it possible to remove all physical objects copeis ?"

 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 ]