Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reboost-hpge needed features #6

Open
11 of 16 tasks
tdixon97 opened this issue Nov 9, 2024 · 2 comments
Open
11 of 16 tasks

reboost-hpge needed features #6

tdixon97 opened this issue Nov 9, 2024 · 2 comments
Assignees

Comments

@tdixon97
Copy link
Collaborator

tdixon97 commented Nov 9, 2024

For a first basic (but complete) HPGe simulation we need the following features:

hit tier

HPGe dead layer model

  • extraction of detector positions from GDML (for DLs)
  • Create a legend-pygeom-hpges HPGe object per detector, from GDML or metadata?
  • processors for distance to surface

Run grouping

Note

this could probably also be done in the evt tier or elsewhere, need some general solution.

  • possibility to read multiple files
  • just read n evtids
    I think the code should be do this as early as possible but maybe should be flexible (any tier can read just n rows).

Energy response / other heuristics

  • possibility of a more advanced smearing functionality i.e. mixture models
  • consider a mode of processors of sampling where instead of:

$$ x^{\text{new}}_i = f(\overbrace{\vec{x_i}}^{\text{other vars.}}, \theta) \rightarrow x^{\text{new}}_i \sim p(x,\vec{x_i}, \theta) $$

Where p is some PDF.

HPGe usability

Should this come in the hit part of the code or in evt, current L-200 simflow puts it in evt but I think it makes more sense in hit so that the hit tier sims are already directly comparable to hit tier data.

evt tier

  • start thinking about a prototype
  • should we directly build a TCM like object? - in future yes for now probably not
  • start prototyping a basic example
  • how do we merge the optical info (@ManuelHu )
    Should we also find a way to use some pygama functionality? probably not needed yet

vtx tier

Probably does not belong in reboost but we should think about vertex and primary generation. I think it is easier and better to have another python program eg for generating events on HPGe surfaces, or for $\beta$ (also $\beta\beta$) decay kinematics from theorists.

  • decide the format where to place this etc
  • package for generating kinematics https://github.com/tdixon97/pyvertexgen/tree/main
  • do we add a mode to remage then to not save vertexs (save space)? probably not vertices dont take much space
  • allow remage to read an LH5 file of vertexs? how should the format look?
  • will it be too much disk space (also of events maybe have no hits)? probably not vertices dont take much space
@tdixon97
Copy link
Collaborator Author

tdixon97 commented Nov 9, 2024

From discussion with @gipert about evt tier.

  • we shouldn't have the distinction in hpge/optical, or at least there should be a unified build_hit() interface
  • consider whether to build events via a TCM like object (needed?)
  • should we split files by run at hit or evt (hit is closer to data but might mean we have to often rerun both steps)

@tdixon97
Copy link
Collaborator Author

tdixon97 commented Nov 16, 2024

Processors:

  • map evaluation (eg. drift time map)
  • vectorised expression over many inputs (higher dim VoV)
  • clustering, how?
  • R90 / other heuristics,
  • pileup / delayed coincidences
    Interested in helping with this @willquinn ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants