Monte Carlo Access [message #4237] |
Tue, 15 May 2007 14:16 |
Sebastian Neubert
Messages: 282 Registered: March 2006 Location: Munich
|
first-grade participant |
From: *e18.physik.tu-muenchen.de
|
|
Hi!
I was thinking about the way to handle monte carlo information. Especially the question: Why could it be good to not put MonteCarlo info into the reco objects themselves but have associators which create maps between reco- and mctruth-objects.
The reason is a simple one: We want to use the same software for MCstudies as well as later for real data. real data has no MCtruth. so the corresponding members would be unused and initialized with some dummy value. In that case I would have to check always if there really is valid mctruth data available. A nuissance.
An associator is a good solution because it keeps reco objects free of unneeded references.
By the way: real data is not far away since we are already preparing to put TPC data from the test chamber into the framework.
Cheers! Sebastian.
Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592
|
|
|