Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.03 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.03 KB

"Use Docker" documentation to setup environment and run

To run

tdis
-pnthreads=1
-pjana:nevents=10
-ppodio:output_file=/mnt/data/test_output_v01.root
-pacts:geometry=/mnt/data/g4sbs_mtpc.root
-pacts:round_tgeo_values=0
-pacts:output_obj=/mnt/data/acts_geom.obj
-pacts:output_ply=/mnt/data/acts_geom.ply
-ptracking:hit_reco:log_level=trace
/mnt/data/g4sbsout_EPCEvents_200000.txt

To print specific collection before the output

-ppodio:print_collections=TrackerHit

Geometry IDs

The geometry description is gives us that each pad is identified by plane, ring, pad:

  • plane The mTPC will consist of 10 separate TPC volumes. Numbered 0 - 9 from upstream to downstream.
  • ring The pads are arranged into 21 concentric rings, The rings are numbered from 0 to 20 sequentially, with 0 being the innermost ring.
  • pad Each ring has 122 pads, 0 is at or closest to phi=0 and numbering is clockwise

This is convenient to encode in a singe uint32_t ID.

1 000 000 * plane + 1 000 * ring + pad