# TrackHeed TransportDeltaElectron

**URL:** <https://root-forum.cern.ch/t/trackheed-transportdeltaelectron/53719>\
**Category:** Garfield++\
**Created:** [February 21, 2023, 3:17pm UTC](https://root-forum.cern.ch/t/trackheed-transportdeltaelectron/53719 "2023-02-21T15:17:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zql21](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/zql21/32/33487_2.png) [@zql21](https://root-forum.cern.ch/u/zql21)\
**Post date:** [February 21, 2023, 3:17pm UTC](https://root-forum.cern.ch/t/trackheed-transportdeltaelectron/53719/1 "2023-02-21T15:17:09Z")

</div>

Hi experts, me again!  
I want to know what I get when I run fTrackHeed- \> TransportDeltaElectron and then fTrackHeed- \> GetElectron ( ).The UserGuide says it’s the information of the “conduction” electron. Does it make sense to pass this information to GasBoxHit？Here are the codes.

```auto
if(particleName == "e-"){
        G4AutoLock lock(&aMutex);
        fTrackHeed->TransportDeltaElectron(x_cm, y_cm, z_cm, t, eKin_eV, dx, dy,dz, nc, ni);
    }
    else{
        G4AutoLock lock(&aMutex);
        fTrackHeed->TransportPhoton(x_cm, y_cm, z_cm, t, eKin_eV, dx, dy,dz, nc);
    }
    for (int cl = 0; cl < nc; cl++) {
        double xe, ye, ze, te;
        double ee, dxe, dye, dze;
        fTrackHeed->GetElectron(cl, xe, ye, ze, te, ee, dxe, dye, dze);
        GasBoxHit* gbh = new GasBoxHit();
        gbh->SetPos(G4ThreeVector(xe*CLHEP::cm,ye*CLHEP::cm,ze*CLHEP::cm));  
        gbh->SetTime(te);
        fGasBoxSD->InsertGasBoxHit(gbh);
        if(G4VVisManager::GetConcreteInstance() && cl % 100 == 0)
            Drift(xe,ye,ze,te);
    }

```

Thanks!

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [February 21, 2023, 6:03pm UTC](https://root-forum.cern.ch/t/trackheed-transportdeltaelectron/53719/2 "2023-02-21T18:03:17Z")

</div>

Hi,  
I’m afraid I don’t know what’s a GasBoxHit but yes, the coordinates you get when calling `GetElectron` after `TransportDeltaElectron` are those of the low-energy (kinetic energy below the ionisation potential of the gas) electrons produced in the ionisation cascade of a delta electron.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [March 7, 2023, 6:03pm UTC](https://root-forum.cern.ch/t/trackheed-transportdeltaelectron/53719/3 "2023-03-07T18:03:25Z")

</div>

Closed on March 7, 2023, 6:03pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
