jpata / tthbb13

2 stars 5 forks source link

top jet and subjet association #3

Closed jpata closed 10 years ago

jpata commented 10 years ago

Create an index-based association between top jets and subjets in the ntuplizer.

Every top jet will have an index to the first subjet belonging to it in the subjet vector. top_jet_idx = 4 --> subjets [4, 4+nConstituents) belong to this top jet

Also, every subjet will have an index to the parent top jet: subjet_parent_idx = 3 --> top_jet 3 is the parent of this jet.