Message: Re: G4VPVParameterisation of G4Sphere Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: G4VPVParameterisation of G4Sphere 

Forum: Geometry
Re: None G4VPVParameterisation of G4Sphere (Alex Leatherland)
Re: None Re: G4VPVParameterisation of G4Sphere (Makoto Asai)
Date: 17 Aug, 2011
From: Alex Leatherland <Alex Leatherland>

> Hi,
> 
> Could you please make sure there is no gap (or overlap) between your
> atmosphere layers? For example, please shoot a geantino to see if it
> travels through layers.
> 
> Makoto
> 

I printed my geometry data to 9 significant figures and found no overlaps or gaps so far, will keep checking just in case though

Tried the geantino test, still getting the same issue and the skipped sections of data output and mysterious jumps to the world volume are still there.

*********************************************************************************************************
* G4Track Information:   Particle = geantino,   Track ID = 1,   Parent ID = 0
*********************************************************************************************************

Step#    X(mm)    Y(mm)    Z(mm) KinE(MeV)  dE(MeV) StepLeng TrackLeng  NextVolume ProcName
    0 -3.669e+09 7.377e+08 1.412e+09 1.977e+04 0.000e+00 0.000e+00 0.000e+00   marsWorld initStep
    1 -3.212e+09 6.458e+08 1.236e+09 1.977e+04 0.000e+00 4.983e+08 4.983e+08   Atm_1_0_0 Transportation
    2 -3.157e+09 6.347e+08 1.215e+09 1.977e+04 0.000e+00 6.000e+07 5.583e+08   marsWorld Transportation
2       Atm_1_0_0       Atm_1_0_0       marsWorld       Atm_1_0_0       marsWorld       10      97      1       0.0000000000000000e+00
    3 -3.157e+09 6.347e+08 1.215e+09 1.977e+04 0.000e+00 0.000e+00 5.583e+08   Atm_0_0_0 Transportation
    4 -3.102e+09 6.237e+08 1.194e+09 1.977e+04 0.000e+00 6.000e+07 6.183e+08   Sur_0_0_0 Transportation
4       Sur_0_0_0       Sur_0_0_0       Sur_0_0_0       Sur_0_0_0       Sur_0_0_0       0       97      1       0.0000000000000000e+00
    5 -3.102e+09 6.237e+08 1.194e+09 1.977e+04 0.000e+00 1.000e+01 6.183e+08   Sur_1_0_0 Transportation
5       Sur_1_0_0       Sur_1_0_0       Sur_1_0_0       Sur_1_0_0       Sur_1_0_0       2       97      1       0.0000000000000000e+00
    6 -3.102e+09 6.237e+08 1.194e+09 1.977e+04 0.000e+00 1.000e+01 6.183e+08   Sur_2_0_0 Transportation
6       Sur_2_0_0       Sur_2_0_0       Sur_2_0_0       Sur_2_0_0       Sur_2_0_0       4       97      1       0.0000000000000000e+00
    7 -3.102e+09 6.237e+08 1.194e+09 1.977e+04 0.000e+00 1.000e+01 6.183e+08   Sur_3_0_0 Transportation
7       Sur_3_0_0       Sur_3_0_0       Sur_3_0_0       Sur_3_0_0       Sur_3_0_0       6       97      1       0.0000000000000000e+00
    8 -3.102e+09 6.237e+08 1.194e+09 1.977e+04 0.000e+00 1.000e+01 6.183e+08   Sur_4_0_0 Transportation
8       Sur_4_0_0       Sur_4_0_0       Sur_4_0_0       Sur_4_0_0       Sur_4_0_0       8       97      1       0.0000000000000000e+00
    9 -3.102e+09 6.237e+08 1.194e+09 1.977e+04 0.000e+00 1.000e+01 6.183e+08     Sub_0_0 Transportation
9       Sub_0_0 Sub_0_0 Sub_0_0 Sub_0_0 Sub_0_0 10      97      1       0.0000000000000000e+00
   10 -9.172e+06 1.844e+06 3.531e+06 1.977e+04 0.000e+00 3.372e+09 3.990e+09        Core Transportation
10      Core    Core    Core    Core    Core    10      97      1       0.0000000000000000e+00

Note that the lines of sensitive detector output are slightly different, I changed the G4cout commands to:

	G4cout << astep->GetTrack()->GetCurrentStepNumber();
	G4cout << "\t" << thePhysical->GetName();
	G4cout << "\t" << astep->GetTrack()->GetVolume()->GetName();
	G4cout << "\t" << astep->GetTrack()->GetNextVolume()->GetName();
	G4cout << "\t" << astep->GetPreStepPoint()->GetPhysicalVolume()->GetName();
	G4cout << "\t" << astep->GetPostStepPoint()->GetPhysicalVolume()->GetName();
	G4cout << "\t" << location << "\t" << bin << "\t" << value << "\t" << energyDeposit/MeV;
	G4cout << G4endl;

Thank you,

Alex

 Add Message Add Message
to: "Re: G4VPVParameterisation of G4Sphere"

 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 ]