Next Previous Contents

9. Running Over Monte Carlo Files

If the Monte Carlo files have been reconstructed, you can run TMBAnalyze_x as usual on them, except that you should select the proper RCP file. There are variations runTMBTreeMaker_MC.rcp for running over local files, as well as a version for SAM, runTMBTreeMakerSAM_MC.rcp.

To apply smearing to the Monte Carlo, use the runTMBTreeMaker_MCSmear.rcp file instead.

9.1 Running over pure Monte Carlo Files

If you have a Monte Carlo file without d0reco thumbnails, these standard RCP files will not work. Instead, you should use a modified version as shown below. This will only produce the various Monte Carlo particles, vertices and event infos and nothing else in the output tree.

string InterfaceName = "process"
string Packages = "geo read config tmb_core tmb_mc tmb_tree dump"

RCP geo      = <geometry_management geometry_management>
RCP read     = <d0reco D0recoReadEvent>
RCP config   = <run_config_fwk RunConfigPkg>
RCP tmb_core = <tmb_tree_maker TMBCorePkg>
RCP tmb_mc   = <mc_analyze TMBTreeMCPkg>
RCP tmb_refs = <tmb_analyze TMBTRefsPkg>
RCP tmb_tree = <tmb_tree_maker TMBTreePkg>

RCP dump     = <thumbnail tmbDumpEvent>

int DumpPeriod = 1


Next Previous Contents