Skip to main content

Electron and Photon Instructions generator for XENON

Project description

epix

PyPI version shields.io CodeFactor

Electron and Photon Instructions generator for XENON

The job of epix is to load XENONnT Geant4 MC data and produce inputs for wfsim, using nestpy for the quanta generation and DBSCAN for the clustering of the individual steps.

Installation

With all requirements fulfilled (e.g., on top of the XENONnT montecarlo_environment):

pip install epix

or install in editable mode from source:

git clone https://github.com/XENONnT/epix
pip install -e epix

Usage

Only an input file is needed to run epix:

bin/run_epix --InputFile <path_and_filename>

The other keyword arguments are:

Argument Description Default
--Detector Detector to be used. Has to be defined in epix.detectors XENONnT
--DetectorConfigOverride Config file to overwrite default epix.detectors settings; see examples in the configs folder in epix.detectors
--CutOnEventid If selected, the next two arguments act on the G4 event id, and not the entry number (default) false
--EntryStart First event to be read 0
--EntryStop How many entries from the ROOT file you want to process all
--MicroSeparation DBSCAN clustering distance (mm) 0.05
--MicroSeparationTime Clustering time (ns) 10
--TagClusterBy decide if you tag the cluster (particle type, energy depositing process) according to first interaction in it (time) or most energetic (energy) time
--MaxDelay Time after which we cut the rest of the event (ns) 1e7
--SourceRate Event rate for event separation
- 0 for no time shift (G4 time remains)
- -1 for clean time shift between events
- >0 (Hz) for random spacing
0
--JobNumber Job number in full chain simulation. Offset is computed as JobNumber * n_simulated_events/SourceRate, where n_simulated_events is read from file. 0
--OutputPath Output file path Same directory as input file
--Debug Tell epix if you want timing outputs false

0.1.2 (2021-06-09)

  • Add sklearn to requirements (#31)
  • Fix Kr83m NEST-related issues (#30)

0.1.1 (2021-04-09)

  • Automatic PyPi upload (#24)
  • PyPi and codefactor integration

0.1.0 (2021-03-30)

  • E-Field format change (#23)
  • strax interface (#19)

0.0.6 (2021-02-12)

  • Set e- recoil type as default (#15)

0.0.5 (2021-02-08)

  • Change detector naming (#13)

0.0.4 (2021-02-08)

  • New Efield format loading (#11)
  • Store NEST id as recoil type (#10)

0.0.3 (2021-01-26)

  • Clustering and event separation (#6)

0.0.2 (2021-01-25)

  • Added detector volumes (#8)

0.0.1 (2020-01-21)

  • Initial working release as python package

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epix-0.1.2.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

epix-0.1.2-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file epix-0.1.2.tar.gz.

File metadata

  • Download URL: epix-0.1.2.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.13

File hashes

Hashes for epix-0.1.2.tar.gz
Algorithm Hash digest
SHA256 67f5403a2451094d7d435f10664fed2558de52a1217fdbb120ca9d9c550fdfb7
MD5 fd54b6b7b2ce910037562c9dfd1c4b87
BLAKE2b-256 65e03a6f6c3d9c749b2bd9d76c6297656111642f046da7212b8f93c94b1b59a2

See more details on using hashes here.

File details

Details for the file epix-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: epix-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.13

File hashes

Hashes for epix-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66b6ac4c45e81a00076d0b0544c2cdefadd354b12de0cc005f58c23800712efb
MD5 72045fa567bcb0c88856839b65899735
BLAKE2b-256 19f4e9be4bbb350036fba1a42a9e39cd85a0acbe7c3d6f97279c485592007451

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page