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

WIP add creator G4 process to particle vertex point #3354

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ycorrales
Copy link
Contributor

  • ycm - Add G4 process information:
  • ycm - create PHG4VtxPointv2
  • ycm - fill PHG4VtxPointv2 with G4track process

WIP, This is a first attempt to include G4 creator process to secondaries particles.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work for users)
  • Requiring change in macros repository (Please provide links to the macros pull request in the last section)
  • I am a member of GitHub organization of sPHENIX Collaboration, EIC, or ECCE (contact Chris Pinkenburg to join)

What kind of change does this PR introduce? (Bug fix, feature, ...)

New feature to MC simulation
comment: <> ( What does this PR do? Linking to talk in software meeting encouraged )
It get the G4Track creator process and propagate it to the PHG4VtxPointv2

TODOs (if applicable)

Links to other PRs in macros and calibration repositories (if applicab,gg,,le)

Yasser Morales and others added 3 commits January 16, 2025 11:23
  - Add helper code to get G4 process information (similar to VMC https://vmc-project.github.io/geant4_vmc/g4vmc_html)
  - use list subtitution in make to generate pcm list [$(VARIABLE:OLD_PREFIX%OLD_SUFFIX=NEW_PREFIX%NEW_SUFFIX)]
    e.g $(ROOTHITDICTS:.cc=_rdict.pcm)
@ycorrales
Copy link
Contributor Author

As entitled, this is still work in progress and it need some test check, also I need to figured out how we treat primary particles from event generators.

@sphenix-jenkins-ci
Copy link

Build & test report

Report for commit d1ea967bad38b96b46d64bc361bd3a87c7e47ec3:
Jenkins passed


Automatically generated by sPHENIX Jenkins continuous integration
sPHENIX             jenkins.io

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

Successfully merging this pull request may close these issues.

1 participant