Common analysis steps¶
Remarks:
-
commands bellow assume that
ERAvariable is set. E.g.Alternatively you can addERA=Run2_2016ERA=Run2_2016; ...in front of each command. -
versionargument alows to produce different versions of the same task. In the command below--version devis used for illustration purposes. You can replace it with your version naming. --workflowcan behtcondororlocal. It is recommended to develop and test locally and then switch tohtcondorfor production. In examples below--workflow localis used for illustration purposes.- when running on
htcondorit is recommended to add--transfer-logsto the command to transfer logs to local. --customisationsargument is used to pass custom parameters to the task in form param1=value1,param2=value2,... IMPORTANT for HHbbTauTau analysis: if running using deepTau 2p5 add--customisations deepTauVersion=2p5- if you want to run only on few files, you can specify list of branches to run using
--branchesargument. E.g.--branches 2,7-10,17. - to get status, use
--print-stauts N,Kwhere N is depth for task dependencies, K is depths for file dependencies. E.g.--print-status 3,1. - to remove task output use
--remove-output N,a, where N is depth for task dependencies. E.g.--remove-output 0,a. - it is highly recommended to limitate the maximum number of parallel jobs running adding
--parallel-jobs Mwhere M is the number of the parallel jobs (e.g. M=100)
Create input file list¶
law run InputFileTask --period ${ERA} --version dev
Create anaCache¶
law run AnaCacheTask --period ${ERA} --version dev
Create anaTuple¶
law run AnaTupleTask --period ${ERA} --version dev
Merge data¶
law run DataMergeTask --period ${ERA} --version dev
- note: It's very important to first run
InputFileTaskthen the other tasks dependencies are automatically fixed (e.g. if runningAnaTupleTaskwithoutAnaCacheTask, it will first runAnaCacheTaskthenAnaTupleTask). If you do not runInputFileTask, running other tasks will raise error.