Hi John,
Yes, sorry for not being too specific hereabove. What I meant is, increasing the verbosity to the G4Cerenkov
process module to 2, where I get something along:
GenerationInit INFO +++ Initializing event 14. Within run:4 event 1.
Gun INFO Shoot [13] [40.000 , 40.000] GeV proton pos:(-100.000 0.000 0.000)[mm] dir:( 1.000 0.000 0.000)
Gun INFO Particle [0] proton Mom:40.000 GeV vertex:(-100.000 0.000 0.000)[mm] direction:( 1.000 0.000 0.000)
Gun INFO +-> Interaction [0] [40.000 , 40.000] GeV proton pos:(-100.000 0.000 0.000)[mm]
Gun INFO +++ +-> ID: 0 proton status:00000002 PDG: 2212 Vtx:(-1.00e+02,+0.00e+00,+0.00e+00)[mm] time: +0.00e+00 [ns] #Dau: 0 #Par:0
PrimaryHandler INFO +++++ G4PrimaryVertex at (-1.00e+02,+0.00e+00,+0.00e+00) [mm] +0.00e+00 [ns]
ParticleHandler INFO +++ Event 0 Begin event action. Access event related information.
Exiting from G4Cerenkov::DoIt -- NumberOfSecondaries = 3
Exiting from G4Cerenkov::DoIt -- NumberOfSecondaries = 4
Exiting from G4Cerenkov::DoIt -- NumberOfSecondaries = 2
Exiting from G4Cerenkov::DoIt -- NumberOfSecondaries = 2
Exiting from G4Cerenkov::DoIt -- NumberOfSecondaries = 1
Exiting from G4Cerenkov::DoIt -- NumberOfSecondaries = 6
Exiting from G4Cerenkov::DoIt -- NumberOfSecondaries = 2
Exiting from G4Cerenkov::DoIt -- NumberOfSecondaries = 4
Exiting from G4Cerenkov::DoIt -- NumberOfSecondaries = 2
Exiting from G4Cerenkov::DoIt -- NumberOfSecondaries = 4
1 event has been kept for refreshing and/or reviewing.
"/vis/reviewKeptEvents" to review one by one.
To see accumulated, "/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild".
But, using the /tracking/verbose 2
flag (on another event), I can see that the full production/parentage seem correct:
GenerationInit INFO +++ Initializing event 3. Within run:2 event 1.
Gun INFO Shoot [2] [40.000 , 40.000] GeV proton pos:(-100.000 0.000 0.000)[mm] dir:( 1.000 0.000 0.000)
Gun INFO Particle [0] proton Mom:40.000 GeV vertex:(-100.000 0.000 0.000)[mm] direction:( 1.000 0.000 0.000)
Gun INFO +-> Interaction [0] [40.000 , 40.000] GeV proton pos:(-100.000 0.000 0.000)[mm]
Gun INFO +++ +-> ID: 0 proton status:00000002 PDG: 2212 Vtx:(-1.00e+02,+0.00e+00,+0.00e+00)[mm] time: +0.00e+00 [ns] #Dau: 0 #Par:0
PrimaryHandler INFO +++++ G4PrimaryVertex at (-1.00e+02,+0.00e+00,+0.00e+00) [mm] +0.00e+00 [ns]
ParticleHandler INFO +++ Event 0 Begin event action. Access event related information.
*********************************************************************************************************
* G4Track Information: Particle = proton, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -100 0 0 3.91e+04 0 0 0 RP_0 initStep
1 -10 0 0 3.91e+04 1.27e-09 90 90 Quartz_vol_0 Transportation
2 -3.12 0 0 3.91e+04 2.07 6.88 96.9 Quartz_vol_0 hIoni
:----- List of 2ndaries - #SpawnInStep= 1(Rest= 0,Along= 0,Post= 1), #SpawnTotal= 1 ---------------
: -3.12 0 0 1.24 e-
:----------------------------------------------------------------- EndOf2ndaries Info ---------------
3 10 -0.000483 0.000566 3.91e+04 4.26 13.1 110 RP_0 Transportation
4 250 -0.00799 0.00501 3.91e+04 3.38e-09 240 350 ScoringPlaneWall_2 Transportation
Exiting from G4Cerenkov::DoIt -- NumberOfSecondaries = 3
5 250 -0.00799 0.00501 3.91e+04 0.00474 0.02 350 RP_0 Transportation
:----- List of 2ndaries - #SpawnInStep= 3(Rest= 0,Along= 0,Post= 3), #SpawnTotal= 4 ---------------
: 250 -0.00799 0.00501 1.83e-06 opticalphoton
: 250 -0.00799 0.00501 5.31e-06 opticalphoton
: 250 -0.00799 0.00501 4.88e-06 opticalphoton
:----------------------------------------------------------------- EndOf2ndaries Info ---------------
*********************************************************************************************************
* G4Track Information: Particle = opticalphoton, Track ID = 5, Parent ID = 1
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 250 -0.00799 0.00501 4.88e-06 0 0 0 ScoringPlaneWall_2 initStep
1 250 -0.00891 0.00569 4.88e-06 4.88e-06 0.00142 0.00142 RP_0 Transportation
*********************************************************************************************************
* G4Track Information: Particle = opticalphoton, Track ID = 4, Parent ID = 1
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 250 -0.00799 0.00501 5.31e-06 0 0 0 ScoringPlaneWall_2 initStep
1 250 -0.018 -0.00722 5.31e-06 5.31e-06 0.0195 0.0195 RP_0 Transportation
*********************************************************************************************************
* G4Track Information: Particle = opticalphoton, Track ID = 3, Parent ID = 1
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 250 -0.00799 0.00501 1.83e-06 0 0 0 ScoringPlaneWall_2 initStep
1 250 -0.00827 0.00513 1.83e-06 1.83e-06 0.000374 0.000374 RP_0 Transportation
where this ScoringPlaneWall
is the sensitive part (tracking detector, in the convention of DD4hep).