Skip to content
Snippets Groups Projects
Open Provide constructor for eic::VectorXYZT from dd4pod::VectorXYZ and double
  • View options
  • Provide constructor for eic::VectorXYZT from dd4pod::VectorXYZ and double

  • View options
  • Open Issue created by Wouter Deconinck

    Creating an eic::VectorXYZT fourvector from a dd4pod mcparticles entry requires individual x,y,z setters. Ideally, we'd have

        for (const auto& p : mcparts) {
          if (p.genStatus() == 4 && p.pdgID() == 11) {
            // Incoming electron
            eic::VectorXYZT ei(p.ps(), p.E());
            break;
          }
        }
    • Merge request
    • Branch

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading