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.
Hello Tae Jeong,

in this part of the code b hadrons are skipped because the chain is scanned starting from the final state jet constituents. Injected b hadrons are used for hadron-jet matching later: lines 388-402