Skip to content

Commit

Permalink
Adjusitng test input files
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvbrt committed May 2, 2024
1 parent b18acaf commit aa77ffd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions e4hsource/test/analysis_stage1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 4 additions & 3 deletions examples/FCCee/higgs/mH-recoil/mumu/analysis_stage1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -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
Expand Down

0 comments on commit aa77ffd

Please sign in to comment.