Generator level heavy flavour jet origin/flavour identification

Original implementation of the code for finding flavour, origin and leptonic decay of heavi flavour hadrons/jets.
This implementation still uses a copy of GenJetParticles module to inject ghost hadrons into generator jets.
This could be replaced by an existing new implementation of jet flavour identification which already injects wide range of particles into jets. In order to use reclustered jets from jet flavour ID one would need to replace the input genJets collections in the PhysicsTools/JetMCAlgos/python/sequences/GenHFHadronMatching_cff.py sequences.

A very simple test config file has been added: PhysicsTools/JetMCAlgos/test/genHFHadronMatcher.py

It doesn't produce any input since this would need to write information into some ROOT file. It just checks whether the algorithm runs in the particular release.

This code has been tested to compile and run in CMSSW_7_1_6 release on lxplus0185.
Hi,

I am sorry I am slowly trying to understand each line.
This line, I would expect that we should skip all jet constituents if the status is 1, final stable particles.
Because ghost B hadron is provided, which is not status 1 particle and we are looking for this ghost B hadron to identify b-jet?

Except this ghost B hadron, all input particles are status 1 by default?
I must have missed something.

Thank you again.

Regards,
Taejeong