Gen Vertex Miscalculated in L1TrackObjectNtupleMaker #1097
Labels
Ntuplisation
Anything to do with Ntuples produced with L1 content
Phase-2
Pertains to phase-2 development
Software Error
Bug causing segfaults, memory leaks, run time errors, or compilation problems
The current method used to calculate the generator level vertex gives erroneous values. This is particularly apparent in ttbar samples.
Currently the L1TrackObjectNtupleMaker code loops over genParticles collection selecting those with status = 1 (i.e. final state particle) then places the genpartIter->vz() values into a vector. The last entry in the loop is used to assign the gen vertex via the m_pv_MC member variable.
2 Alternative methods to calculate the gen vertex are:
I have done a preliminary investigation on using the alternative methods and attach the results here. I still need to follow up on an older study by Chris on SimVertex collection to make sure that it is safe everywhere. My preference would be to use the SimVertex collection if it is indeed safe.
GenVertex_230403.pdf
The text was updated successfully, but these errors were encountered: