FCCSW modifications

From Charm-Tau Detector
(Difference between revisions)
Jump to: navigation, search
(Created page with "This page summarizes changes of the FCC software Category:Software")
 
 
Line 1: Line 1:
 
This page summarizes changes of the FCC software
 
This page summarizes changes of the FCC software
 +
 +
== Code style ==
 +
 +
== Support of the HepMC3 package ==
 +
=== HepMCToEDMConverter ===
 +
# <b>No <code>HepMC::Units::conversion_factor</code> in HepMC3</b>
 +
 +
HepMC2 code (before):
 +
 +
<code>
 +
const double hepmc2EdmLength = HepMC::Units::conversion_factor(event->length_unit(), gen::hepmcdefault::length) * gen::hepmc2edm::length;
 +
</code>
 +
 +
HepMC3 code (after):
 +
 +
<code>
 +
const double hepmc2EdmLength = gen::hepmc2edm::length;
 +
</code>
  
 
[[Category:Software]]
 
[[Category:Software]]

Latest revision as of 09:54, 12 January 2018

This page summarizes changes of the FCC software

[edit] Code style

[edit] Support of the HepMC3 package

[edit] HepMCToEDMConverter

  1. No HepMC::Units::conversion_factor in HepMC3

HepMC2 code (before):

const double hepmc2EdmLength = HepMC::Units::conversion_factor(event->length_unit(), gen::hepmcdefault::length) * gen::hepmc2edm::length;

HepMC3 code (after):

const double hepmc2EdmLength = gen::hepmc2edm::length;

Personal tools