Purity and Efficiency Studies
To determine the optimal cut for our b-tagging, a purity vs. efficiency study was performed. One can use the MakePurityVsEfficiencyRootPlot.C macro provided by the LCFIVertex package. Note that LCFI must be compiled with ROOT if one wants .root output from PlotProcessor (instead of .txt). For this, add as usual
FIND_PACKAGE( ROOT REQUIRED )
FOREACH( pkg ROOT )
IF( ${pkg}_FOUND )
INCLUDE_DIRECTORIES( ${${pkg}_INCLUDE_DIRS} )
ADD_DEFINITIONS( ${${pkg}_DEFINITIONS} )
ENDIF()
ENDFOREACH()
to the LCFIVertex/CMakeLists.txt file, source the root environment, then run cmake and make install . We also had to provide MyPlot with the actual name of the TrueJetFlavourCollection:
<parameter name="TrueJetFlavourCollection" type="string">TrueJetFlavour_4Jets </parameter>
Customise the MakePurityVsEfficiencyRootPlot.C macro and run it to produce the purity vs. efficiency plots. |