Skip to content
Snippets Groups Projects
Commit 3fb574b9 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

WIP: try to use glob to load all slcio files. The current problem: some slcio...

WIP: try to use glob to load all slcio files. The current problem: some slcio files are failed to open.
parent d00abf16
No related branches found
No related tags found
No related merge requests found
...@@ -8,9 +8,14 @@ dsvc = k4DataSvc("EventDataSvc") ...@@ -8,9 +8,14 @@ dsvc = k4DataSvc("EventDataSvc")
# read LCIO files # read LCIO files
from Configurables import k4LCIOInput from Configurables import k4LCIOInput
lcioinput = k4LCIOInput("k4LCIOInput") lcioinput = k4LCIOInput("k4LCIOInput")
lcioinput.inputs = [
"/cefs/higgs/yudan/CEPC240/Reco_tpc_1800/qqh/Reco_qqh__00001.slcio" import glob
]
# inputlists = ["/cefs/higgs/yudan/CEPC240/Reco_tpc_1800/qqh/Reco_qqh__00001.slcio"]
inputlists = ["/cefs/higgs/yudan/CEPC240/Reco_tpc_1800/qqh/Reco_qqh__00003.slcio"]
# inputlists = glob.glob("/cefs/higgs/yudan/CEPC240/Reco_tpc_1800/qqh/Reco_qqh__*.slcio")
lcioinput.inputs = inputlists
lcioinput.collections = [ lcioinput.collections = [
"MCParticle:MCParticle", "MCParticle:MCParticle",
"CalorimeterHit:ECALBarrel", "CalorimeterHit:ECALBarrel",
...@@ -36,7 +41,7 @@ from Configurables import ApplicationMgr ...@@ -36,7 +41,7 @@ from Configurables import ApplicationMgr
ApplicationMgr( ApplicationMgr(
TopAlg = [lcioinput, total_inv_mass], TopAlg = [lcioinput, total_inv_mass],
EvtSel = 'NONE', EvtSel = 'NONE',
EvtMax = 10, EvtMax = -1,
ExtSvc = [dsvc], ExtSvc = [dsvc],
OutputLevel=INFO #DEBUG OutputLevel=INFO #DEBUG
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment