From aa77ffd0e5ca0f51383f5ec2a51b3b6a9ebf74c9 Mon Sep 17 00:00:00 2001 From: Juraj Smiesko Date: Fri, 8 Mar 2024 15:53:35 +0100 Subject: [PATCH] Adjusitng test input files --- e4hsource/test/analysis_stage1.py | 6 +++--- examples/FCCee/higgs/mH-recoil/mumu/analysis_stage1.py | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/e4hsource/test/analysis_stage1.py b/e4hsource/test/analysis_stage1.py index 3d740a7666..aeccc7e399 100644 --- a/e4hsource/test/analysis_stage1.py +++ b/e4hsource/test/analysis_stage1.py @@ -51,9 +51,9 @@ # Optional: # Test file location -# testFile = 'https://fccsw.web.cern.ch/fccsw/testsamples/' \ -# 'edm4hep1/p8_ee_WW_ecm240_edm4hep.root' -testFile = 'input/30k/p8_ee_ZH_ecm240_edm4hep.root' +testFile = 'https://fccsw.web.cern.ch/fccsw/testsamples/' \ + 'edm4hep1/p8_ee_WW_ecm240_edm4hep.root' +# testFile = 'input/30k/p8_ee_ZH_ecm240_edm4hep.root' # Mandatory: diff --git a/examples/FCCee/higgs/mH-recoil/mumu/analysis_stage1.py b/examples/FCCee/higgs/mH-recoil/mumu/analysis_stage1.py index 98f6f1214a..7e9ba5ca92 100644 --- a/examples/FCCee/higgs/mH-recoil/mumu/analysis_stage1.py +++ b/examples/FCCee/higgs/mH-recoil/mumu/analysis_stage1.py @@ -27,8 +27,8 @@ #compGroup = "group_u_FCC.local_gen" #Optional test file -# testFile ="/eos/experiment/fcc/ee/generation/DelphesEvents/spring2021/IDEA/p8_ee_ZH_ecm240/events_101027117.root" -testFile = 'input/30k/p8_ee_ZH_ecm240_edm4hep.root' +testFile ="/eos/experiment/fcc/ee/generation/DelphesEvents/spring2021/IDEA/p8_ee_ZH_ecm240/events_101027117.root" +# testFile = 'input/30k/p8_ee_ZH_ecm240_edm4hep.root' #Mandatory: RDFanalysis class where the use defines the operations on the TTree class RDFanalysis(): @@ -39,7 +39,8 @@ def analysers(df): df2 = ( df # define an alias for muon index collection - .Alias("Muon0", "Muon_objIdx.index") + .Alias("Muon0", "Muon#0.index") + # .Alias("Muon0", "Muon_objIdx.index") # define the muon collection .Define("muons", "ReconstructedParticle::get(Muon0, ReconstructedParticles)") #select muons on pT