# Can not read database file of Heed++

**URL:** <https://root-forum.cern.ch/t/can-not-read-database-file-of-heed/58529>\
**Category:** Garfield++\
**Created:** [March 14, 2024, 12:12am UTC](https://root-forum.cern.ch/t/can-not-read-database-file-of-heed/58529 "2024-03-14T00:12:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crisps](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/crisps/32/39101_2.png) [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Post date:** [March 14, 2024, 12:12am UTC](https://root-forum.cern.ch/t/can-not-read-database-file-of-heed/58529/1 "2024-03-14T00:12:10Z")

</div>

Dear experts

I want to simulate the particle transportation in gas using `TrackHeed::TransportPhoton()` and `TrackHeed::TransportDeltaElectron()`, but I got error below:

```auto
MediumMagboltz::LoadMobility:
    Read 22 values from file /group/had/muon/ssun/ICEDUST_master/ICEDUST_install/SimDetectorResponse/parameters/IonMobility_He+_He.txt
Sensor::SetTimeWindow: Resetting all signals.
ExAtomPhotoAbsCS::ExAtomPhotoAbsCS(...) const: ERROR:
cannot open file /database/shelllist.dat
FunNameStack: s_init=1 qname=1
  0 ExAtomPhotoAbsCS::ExAtomPhotoAbsCS(...) const 
File is /group/had/muon/ssun/ICEDUST_master/ICEDUST_externals_source_LFS/GARFIELD/garfield_5.0/Heed/heed++/code/PhotoAbsCS.cpp , line number is 1042
spexit_action: the streams will be now flushed
spexit_action: the abort function is called
Aborted

```

I confirmed that I have this `shelllist.dat` in the source directory and also install directory, how can it can’t find the file?

---

<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:** [March 14, 2024, 5:27am UTC](https://root-forum.cern.ch/t/can-not-read-database-file-of-heed/58529/2 "2024-03-14T05:27:55Z")

</div>

Did you maybe forget to source the `setupGarfield.sh` script?

---

<div class="post-metadata">

**Author:** ![Crisps](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/crisps/32/39101_2.png) [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Post date:** [March 14, 2024, 6:34am UTC](https://root-forum.cern.ch/t/can-not-read-database-file-of-heed/58529/3 "2024-03-14T06:34:00Z")

</div>

Yes you are right…  
There is some problem of env in my application. Thank you!

---

<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 28, 2024, 6:34am UTC](https://root-forum.cern.ch/t/can-not-read-database-file-of-heed/58529/4 "2024-03-28T06:34:32Z")

</div>

Closed on March 28, 2024, 6:34am UTC

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