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 Aug 27, 2024
1 parent 0888d34 commit 157d545
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 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
11 changes: 6 additions & 5 deletions examples/FCCee/higgs/mH-recoil/mumu/analysis_stage1.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ def __init__(self, cmdline_args):
# self.run_batch = False

# Optional: test file
# self.test_file = 'root://eospublic.cern.ch//eos/experiment/fcc/ee/' \
# 'generation/DelphesEvents/spring2021/IDEA/' \
# 'p8_ee_ZH_ecm240/events_101027117.root'
self.test_file = 'input/30k/p8_ee_ZH_ecm240_edm4hep.root'
self.test_file = 'root://eospublic.cern.ch//eos/experiment/fcc/ee/' \
'generation/DelphesEvents/spring2021/IDEA/' \
'p8_ee_ZH_ecm240/events_101027117.root'
# self.test_file = 'input/30k/p8_ee_ZH_ecm240_edm4hep.root'

# Mandatory: analyzers function to define the analysis graph, please make
# sure you return the dataframe, in this example it is dframe2
Expand All @@ -71,7 +71,8 @@ def analyzers(self, dframe):
dframe2 = (
dframe
# 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',
Expand Down

0 comments on commit 157d545

Please sign in to comment.