Documentation of 'hep.physics.stdhep.convert.StdhepConverter' Java class
StdhepConverter
hep.physics.stdhep.convert

Class StdhepConverter



  • public class StdhepConverter
    extends java.lang.Object
    A class that converts MCEvent<-->StdhepEvent
    • Method Detail

      • convert

        public MCEvent convert(hep.io.stdhep.StdhepEvent hepevt)
        Convert from a StdhepEvent to an MCEvent. Useful when reading stdhep files.
      • convert

        public hep.io.stdhep.StdhepEvent convert(MCEvent event)
        Convert from an EventHeader to a StdhepEvent. Useful when writing stdhep files. Note the stdhep format requires all daughters to be stored consecutively. In principle we would have to do a sort on daughter to gaurantee that this could be accomodated. Right now we just throw a RuntimeException if it is not true.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.