Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The org.lcsim framework and the WIRED4 event display are not tied to each other, instead there is code in org.lcsim which converts the event into intermediate HepRep objects.

If You Don't Like To Read Long Docs

Let's go through the example of how to put a list of Hep3Vectors into the event and transform it to a list of HepRep object that can be displayed by WIRED. The full code is in the class org.lcsim.util.heprep.Hep3VectorConverter

...

We just have to make sure there is a line to register a new instance of the class we just wrote. As you can see, it's already there.
That's all there is to it. If you want to know more about the inner workings, read on, reader.

If You Have To Read Longer Docs

Let's go through the code step by step:
The basic skeleton looks like this:

...