Home » PANDA » PandaRoot » Tracking » Global Problems
fDetectorType [message #10093 is a reply to message #10090] |
Wed, 03 February 2010 18:41 |
StefanoSpataro
Messages: 2736 Registered: June 2005 Location: Torino
|
first-grade participant |
From: *9-87-r.retail.telecomitalia.it
|
|
I try to explain the original meaning of fDetectorType, regardless of its name.
In the genfit reco hit factory you associates each kind of reco hits poing to a TCA with a number, and that number is that fDetectorType. The reason of many mvd types is that you have different TCA for strips and pixels, and if you do not define them properly you have no idea on where to find the corresponding hit.
In PndTrackCand fDetectorType points to the corresponding data type, this means that for stt hit it must be fSttHit, for stt helix hit it mujt be fSttHelixHit, and so on.
If you use two integers, i.e. detector + type, it does not mean that you add only one integer... First of all, you cannot threat separately mvd strip and pixels (or you ahve to define two kind of detectors). Second, if you have a track made of 50 hits, you are adding 50 integers. Moreover, you have to do a mapping from "detector"+"type" into -> data TClonesArray. This works at the moment properly with only one integer.
This is the original working definition of fDetectorType.
|
|
|
Goto Forum:
Current Time: Thu Oct 03 15:53:09 CEST 2024
Total time taken to generate the page: 0.00807 seconds
|