Skip to content
Snippets Groups Projects

Draft: Central SLB MinBias production

Closed Tommaso Fulghesu requested to merge tfulghes/minbias-sl-lines into master
1 unresolved thread
3 files
+ 26
15
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 4
5
@@ -16,7 +16,7 @@ import json
#read the data from fields.json
ap_base = os.environ['ANALYSIS_PRODUCTIONS_BASE']
json_path = f'{ap_base}/slb_central_analysis_production/fields.json'
json_path = f'{ap_base}/prod/fields.json'
with open(json_path, 'r') as f:
spruce_fields = json.load(f)
@@ -544,16 +544,15 @@ def tuple_b_had(pvs,
inputs=b_parts)
def main(options: Options, isMC: bool):
def main(options: Options, isMC: bool):
user_algorithms = {}
for line_name in spruce_line_names:
if any(substring in line_name
for substring in ["Fake", "SS", "WS", "NoPID"]):
continue
# get the primary vertices
pvs = get_pvs()
# get the B particles
b_parts = get_particles(f"/Event/Spruce/{line_name}/Particles")
Loading