This shows you the differences between two versions of the page.
davinci:mcassoc [2010/07/15 15:40] – created decianm | davinci:mcassoc [2010/07/16 14:02] (current) – decianm | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to implement a MC associator ====== | ====== How to implement a MC associator ====== | ||
+ | ===== Idea ===== | ||
+ | Sometimes it may be necessary to associate a Particle to a MCParticle (truthmatching) in a self written C++-code. | ||
===== Implementation ===== | ===== Implementation ===== | ||
- | To associate a MCParticle to a Particle in DaVinci, implement the following. | + | To associate a MCParticle to a Particle in DaVinci, implement the following |
Header: | Header: |