Skip to content
Snippets Groups Projects

GeneratorObjectsTPCnv: Fix more P->T bugs.

Closed Scott Snyder requested to merge ssnyder/athena:bugs.GeneratorObjectsTPCnv-20210322 into master
1 unresolved thread
  • Need to add a GenRunInfo object.
  • Can't add attributes to vertices/particles that aren't associated with an event.
  • Screwed up 4-vectors.

cc Andrii @averbyts

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
189 195 }
190 196
191 197 HepMC::GenParticlePtr
192 GenEventCnv_p1::createGenParticle( const GenParticle_p1& persPart,
198 GenEventCnv_p1::createGenParticle( [[maybe_unused]] HepMC::GenEvent* genEvt,
199 const GenParticle_p1& persPart,
193 200 ParticlesMap_t& partToEndVtx,
194 201 HepMC::DataPool& datapools) const
195 202 {
196 203 HepMC::GenParticlePtr p = datapools.getGenParticle();
197 204
198 205 #ifdef HEPMC3
206 genEvt->add_particle (p);
  • Hi @ssnyder ,

    as the MRs are almost identical (apart from the difference discussed above) and !41754 (merged) is merged, my suggestion would be to

    • freeze this MR (but not delete)
    • continue with the !41862 (merged)
    • look if the "adding to vertex approach" is sufficient. If yes, close this MR. If no -- reuse parts of this MR or edit it.

    In general "adding to a vertex" is a more robust approach, as it assures a correct hierarchy in the event. However, there might be cases in Athena where it might not be sufficient.

    What is your opinion?

    Best regards,

    Andrii

  • Author Developer

    Thanks. There's probably no difference in the end, so i'll just close this.

  • closed

  • Please register or sign in to reply
    Loading