IAP GITLAB

Skip to content
Snippets Groups Projects

"Need for writing first interaction information"

Closed Alan Coleman requested to merge first_interaction_writer into master

Solves #639 (closed)

Writes out the

  • pdg ID
  • position
  • momentum vector
  • time
  • dX
Edited by Alan Coleman

Merge request reports

Merge request pipeline #12733 canceled

Merge request pipeline canceled for c61c1581

Closed by Alan ColemanAlan Coleman 1 year ago (Mar 14, 2024 1:07pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • assigned to @acoleman

  • Alan Coleman added 1 commit

    added 1 commit

    • d2777471 - 2nd draft of first interaction reader

    Compare with previous version

  • Author Maintainer

    Some example output...

    During runtime:

    [corsika:info    (InteractionWriter.inl:33)] First interaction at dX 681.071 m-2 kg
    [corsika:info    (InteractionWriter.inl:34)] Primary: p+, E 9.98636e+11 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pbar-, E 2.04211e+11 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: n0, E 3.72797e+10 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: eta, E 7.64838e+10 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi+, E 1.4975e+10 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi0, E 2.83823e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: eta, E 1.34672e+10 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi0, E 2.60091e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: p+, E 5.30668e+11 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: n0, E 7.45634e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi0, E 1.49465e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: eta, E 4.79861e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi0, E 1.60475e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: omega, E 9.0343e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi-, E 9.73207e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi+, E 1.96308e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi+, E 3.86158e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi0, E 1.74864e+10 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi-, E 7.07719e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: eta', E 7.99082e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: omega, E 2.75409e+10 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi+, E 3.99029e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi-, E 6.67836e+08 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi+, E 1.33283e+09 eV
    [corsika:info    (InteractionWriter.inl:70)]  2ndary: pi-, E 2.10445e+09 eV

    In the parquet file:

        shower  primary   pdg    x          y             z        px        py          pz          time         dX
    0        0     True  2212  0.0 -66.090599  18844.923828  0.000000 -1.407008 -999.572876  313233.83077  68.107079
    1        0    False -2212  0.0 -66.090599  18844.923828  0.422944 -0.738701 -205.145355  313233.83077  68.107079
    2        0    False  2112  0.0 -66.090599  18844.923828  0.016000  0.230206  -38.207035  313233.83077  68.107079
    3        0    False   221  0.0 -66.090599  18844.923828 -0.726837  0.169006  -77.026131  313233.83077  68.107079
    4        0    False   211  0.0 -66.090599  18844.923828  0.359174 -0.160716  -15.108753  313233.83077  68.107079
    5        0    False   111  0.0 -66.090599  18844.923828 -0.095578 -0.109628   -2.966579  313233.83077  68.107079
    6        0    False   221  0.0 -66.090599  18844.923828 -0.094242 -0.103083  -14.003630  313233.83077  68.107079
    7        0    False   111  0.0 -66.090599  18844.923828  0.118538  0.212962   -2.721668  313233.83077  68.107079
    8        0    False  2212  0.0 -66.090599  18844.923828 -0.307172 -0.375401 -531.605225  313233.83077  68.107079
    9        0    False  2112  0.0 -66.090599  18844.923828  0.175217 -0.203428   -8.338851  313233.83077  68.107079
    10       0    False   111  0.0 -66.090599  18844.923828 -0.019408 -0.090838   -1.621376  313233.83077  68.107079
    11       0    False   221  0.0 -66.090599  18844.923828  0.055082 -0.121305   -5.316644  313233.83077  68.107079
    12       0    False   111  0.0 -66.090599  18844.923828  0.096281  0.018738   -1.731706  313233.83077  68.107079
    13       0    False   223  0.0 -66.090599  18844.923828 -0.669471 -0.108360   -9.762173  313233.83077  68.107079
    14       0    False  -211  0.0 -66.090599  18844.923828 -0.817512  1.250343   -9.756948  313233.83077  68.107079
    15       0    False   211  0.0 -66.090599  18844.923828 -0.046147 -0.228899   -2.084979  313233.83077  68.107079
    16       0    False   211  0.0 -66.090599  18844.923828 -0.293602 -0.287101   -3.977574  313233.83077  68.107079
    17       0    False   111  0.0 -66.090599  18844.923828  0.280971  0.073660  -17.618471  313233.83077  68.107079
    18       0    False  -211  0.0 -66.090599  18844.923828 -0.030002 -0.228231   -7.211742  313233.83077  68.107079
    19       0    False   331  0.0 -66.090599  18844.923828  0.317193 -0.511717   -8.876800  313233.83077  68.107079
    20       0    False   223  0.0 -66.090599  18844.923828 -0.290429  0.340236  -28.309183  313233.83077  68.107079
    21       0    False   211  0.0 -66.090599  18844.923828  0.420016  0.272221   -4.097044  313233.83077  68.107079
    22       0    False  -211  0.0 -66.090599  18844.923828 -0.233600 -0.150469   -0.745127  313233.83077  68.107079
    23       0    False   211  0.0 -66.090599  18844.923828  0.419989  0.057230   -1.403149  313233.83077  68.107079
    24       0    False  -211  0.0 -66.090599  18844.923828  0.942596 -0.613733   -1.936753  313233.83077  68.107079
  • Alan Coleman changed the description

    changed the description

  • Alan Coleman changed milestone to %Beta Release

    changed milestone to %Beta Release

  • Alan Coleman added 13 commits

    added 13 commits

    Compare with previous version

  • Alan Coleman added 1 commit

    added 1 commit

    Compare with previous version

  • Alan Coleman added 4 commits

    added 4 commits

    • 2cf691dc - Add python examples to CI
    • b24a7ff3 - Debug finding artifacts
    • 4beb4d01 - Fix overwriting of primary writer by startOfLibrary command
    • 7b98fe9b - clang-a-rang

    Compare with previous version

  • Alan Coleman added 6 commits

    added 6 commits

    Compare with previous version

  • Alan Coleman added 3 commits

    added 3 commits

    Compare with previous version

  • Alan Coleman added 1 commit

    added 1 commit

    Compare with previous version

  • Alan Coleman added 1 commit

    added 1 commit

    Compare with previous version

  • Alan Coleman marked this merge request as ready

    marked this merge request as ready

  • Alan Coleman requested review from @riehn

    requested review from @riehn

  • Felix Riehn
  • Felix Riehn
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading