-
Notifications
You must be signed in to change notification settings - Fork 8
/
corrections.json
1 lines (1 loc) · 2.58 KB
/
corrections.json
1
{"schema_version": 2, "corrections": [{"name": "event_systematics", "description": "Calculates a multiplicative event weight for the selected systematic variation", "version": 1, "inputs": [{"name": "syst_name", "type": "string", "description": "Systematic name"}, {"name": "direction", "type": "string", "description": "Variation direction"}, {"name": "pt", "type": "real", "description": "One specific object pt from each event"}], "output": {"name": "weight", "type": "real", "description": "Multiplicative event weight"}, "data": {"nodetype": "category", "input": "syst_name", "content": [{"key": "scale_var", "value": {"nodetype": "category", "input": "direction", "content": [{"key": "up", "value": 1.025}, {"key": "down", "value": 0.975}], "default": 1.0}}, {"key": "btag_var", "value": {"nodetype": "category", "input": "direction", "content": [{"key": "up", "value": {"nodetype": "formula", "expression": "1.0 + (x*0.075 / 50)", "parser": "TFormula", "variables": ["pt"]}}, {"key": "down", "value": {"nodetype": "formula", "expression": "1.0 - (x*0.075 / 50)", "parser": "TFormula", "variables": ["pt"]}}], "default": 1.0}}, {"key": "btag_var_1", "value": {"nodetype": "category", "input": "direction", "content": [{"key": "up", "value": {"nodetype": "formula", "expression": "1.0 + (x*0.075 / 50)", "parser": "TFormula", "variables": ["pt"]}}, {"key": "down", "value": {"nodetype": "formula", "expression": "1.0 - (x*0.075 / 50)", "parser": "TFormula", "variables": ["pt"]}}], "default": 1.0}}, {"key": "btag_var_2", "value": {"nodetype": "category", "input": "direction", "content": [{"key": "up", "value": {"nodetype": "formula", "expression": "1.0 + (x*0.075 / 50)", "parser": "TFormula", "variables": ["pt"]}}, {"key": "down", "value": {"nodetype": "formula", "expression": "1.0 - (x*0.075 / 50)", "parser": "TFormula", "variables": ["pt"]}}], "default": 1.0}}, {"key": "btag_var_3", "value": {"nodetype": "category", "input": "direction", "content": [{"key": "up", "value": {"nodetype": "formula", "expression": "1.0 + (x*0.075 / 50)", "parser": "TFormula", "variables": ["pt"]}}, {"key": "down", "value": {"nodetype": "formula", "expression": "1.0 - (x*0.075 / 50)", "parser": "TFormula", "variables": ["pt"]}}], "default": 1.0}}, {"key": "btag_var_4", "value": {"nodetype": "category", "input": "direction", "content": [{"key": "up", "value": {"nodetype": "formula", "expression": "1.0 + (x*0.075 / 50)", "parser": "TFormula", "variables": ["pt"]}}, {"key": "down", "value": {"nodetype": "formula", "expression": "1.0 - (x*0.075 / 50)", "parser": "TFormula", "variables": ["pt"]}}], "default": 1.0}}], "default": 1.0}}]}