[Halld-offline] DVertex from MC

David Lawrence davidl at jlab.org
Wed Feb 8 16:00:43 EST 2012


Hi Paul (and everyone else),

  Just a comment: For several of the tracking factories, we have made 
tagged versions using the tag "THROWN" to indicate that it uses truth 
information only available in MC data. See for example, 
DTrackWireBased_factory_THROWN. Using these objects is then selected by 
setting the DEFTAG:DTrackWireBased parameter to "THROWN". This has the 
small advantage of keeping the code in DTrackWireBased_factory_THROWN.cc 
a little cleaner, but the small disadvantage of having more source 
files. Not that I'm trying to make more work for you, but I'm thinking 
it might be nice to use the same convention where possible. Let me know 
what you think (after you've finished cursing my name).

Regards,
-David

On 2/8/12 3:46 PM, Paul Mattione wrote:
> I've added (and checked into svn) a new parameter to the libraries/PID/DVertex factory called "PID:VERTEX_FROM_MC."  Setting this parameter to 1 from the command line will cause the factory to generate only one DVertex, set it to the first thrown MC vertex (regardless of how many vertices were thrown within a given event), set the vertex time to zero, and assign all of the DChargedTracks to it.  This parameter is set to 0 by default (disabling this functionality).
>
>   - Paul
>
>
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline



More information about the Halld-offline mailing list