Message: Charged Gammas??? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Charged Gammas??? 

Keywords: charged gamma photon
Forum: Particles
Date: 19 Feb, 2003
From: Alexander Brandt <alexander.brandt@physik.uni-muenchen.de>

"Charged gammas" seem to be flooding around my detector producing lots of hits. I must have made a mistake somewhere, but I've no idea anymore.

Okay, here are the first few line of my ProcessHits:

G4bool MDTSD::ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) {
G4StepPoint* preStepPoint = aStep->GetPreStepPoint();
if (preStepPoint->GetCharge() == 0.0) return true;
cout << "debug: Charge " << preStepPoint->GetCharge() << endl;
[...]
cout << "debug: Producing Hit!" << endl;
[...]

Then, if I use verbose tracking I suddenly get this:

*********************************************************************************************************
* G4Track Information:   Particle = gamma,   Track ID = 229,   Parent ID = 43
*********************************************************************************************************

Step#    X(mm)    Y(mm)    Z(mm) KinE(MeV)  dE(MeV) StepLeng TrackLeng  NextVolume ProcName
    0      179     -120     -773     0.171        0        0         0 DriftWall           initStep
[...]
    3      180     -121     -773     0.171        0    0.785     0.934 DriftGas           Transportation
    4      224     -146     -783     0.171        0     51.4      52.4 DriftWall           Transportation
debug: Charge -1
debug: Producing Hit!
    5      224     -147     -783     0.171        0    0.785      53.1 MultiLayer           Transportation
    6      229     -149     -784     0.171        0     5.68      58.8 DriftWall           Transportation
[...]

Thanks in advance!

Alexander

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

 Add Message Add Message
to: "Charged Gammas???"

 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 ]