Skip to content

Commit

Permalink
Remove unrelated formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jul 30, 2024
1 parent ac902ad commit f26dcde
Show file tree
Hide file tree
Showing 5 changed files with 138 additions and 174 deletions.
32 changes: 10 additions & 22 deletions DRdigi/test/runDigi.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,25 @@
from Configurables import ApplicationMgr

from Configurables import k4DataSvc

dataservice = k4DataSvc("EventDataSvc", input="sim.root")

from Configurables import PodioInput

podioinput = PodioInput(
"PodioInput",
collections=[
"RawTimeStructs",
"RawCalorimeterHits",
"SimCalorimeterHits",
"Sim3dCalorimeterHits",
"RawWavlenStructs",
"GenParticles",
"Leakages",
],
OutputLevel=DEBUG,
)
podioinput = PodioInput("PodioInput", collections = ["RawTimeStructs", "RawCalorimeterHits", "SimCalorimeterHits", "Sim3dCalorimeterHits", "RawWavlenStructs", "GenParticles", "Leakages"], OutputLevel = DEBUG)

from Configurables import DigiSiPM

digi = DigiSiPM("DigiSiPM", OutputLevel=DEBUG)

from Configurables import PodioOutput

podiooutput = PodioOutput("PodioOutput", filename="digi.root", OutputLevel=DEBUG)
podiooutput = PodioOutput("PodioOutput", filename = "digi.root", OutputLevel = DEBUG)
podiooutput.outputCommands = ["keep *"]

ApplicationMgr(
TopAlg=[podioinput, digi, podiooutput],
EvtSel="NONE",
EvtMax=10,
ExtSvc=[dataservice],
TopAlg = [
podioinput,
digi,
podiooutput
],
EvtSel = 'NONE',
EvtMax = 10,
ExtSvc = [dataservice]
)
62 changes: 25 additions & 37 deletions DRdigi/test/runDigi_S13615-1025.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,52 +2,40 @@
from Configurables import ApplicationMgr

from Configurables import k4DataSvc

dataservice = k4DataSvc("EventDataSvc", input="sim.root")

from Configurables import PodioInput

podioinput = PodioInput(
"PodioInput",
collections=[
"RawTimeStructs",
"RawCalorimeterHits",
"SimCalorimeterHits",
"RawWavlenStructs",
"GenParticles",
"Leakages",
],
OutputLevel=DEBUG,
)
podioinput = PodioInput("PodioInput", collections = ["RawTimeStructs", "RawCalorimeterHits", "SimCalorimeterHits", "RawWavlenStructs", "GenParticles", "Leakages"], OutputLevel = DEBUG)

from Configurables import DigiSiPM

digi = DigiSiPM(
"DigiSiPM",
# Hamamatsu S13615-1025
signalLength=500.0,
SiPMsize=1.0,
DCR=100e3,
Xtalk=0.03,
sampling=0.1,
recovery=20.0,
cellpitch=25.0,
afterpulse=0.03,
falltimeFast=50.0,
risetime=1.0,
SNR=30.0,
gateLength=240.0,
OutputLevel=DEBUG,
digi = DigiSiPM("DigiSiPM",
# Hamamatsu S13615-1025
signalLength = 500.,
SiPMsize = 1.,
DCR = 100e3,
Xtalk = 0.03,
sampling = 0.1,
recovery = 20.,
cellpitch = 25.,
afterpulse = 0.03,
falltimeFast = 50.,
risetime = 1.,
SNR = 30.,
gateLength = 240.,
OutputLevel = DEBUG
)

from Configurables import PodioOutput

podiooutput = PodioOutput("PodioOutput", filename="digi.root", OutputLevel=DEBUG)
podiooutput = PodioOutput("PodioOutput", filename = "digi.root", OutputLevel = DEBUG)
podiooutput.outputCommands = ["keep *"]

ApplicationMgr(
TopAlg=[podioinput, digi, podiooutput],
EvtSel="NONE",
EvtMax=10,
ExtSvc=[dataservice],
TopAlg = [
podioinput,
digi,
podiooutput
],
EvtSel = 'NONE',
EvtMax = 10,
ExtSvc = [dataservice]
)
51 changes: 27 additions & 24 deletions DRreco/test/runDRcalib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,45 @@
from Configurables import ApplicationMgr

from Configurables import k4DataSvc

dataservice = k4DataSvc("EventDataSvc", input="digi.root")

from Configurables import PodioInput

podioinput = PodioInput(
"PodioInput",
collections=[
"DigiCalorimeterHits",
"DigiWaveforms",
"RawTimeStructs",
"RawCalorimeterHits",
"SimCalorimeterHits",
"RawWavlenStructs",
"GenParticles",
"Leakages",
],
OutputLevel=DEBUG,
podioinput = PodioInput("PodioInput",
collections = [
"DigiCalorimeterHits",
"DigiWaveforms",
"RawTimeStructs",
"RawCalorimeterHits",
"SimCalorimeterHits",
"RawWavlenStructs",
"GenParticles",
"Leakages"
],
OutputLevel = DEBUG
)

from Configurables import GeoSvc

geoservice = GeoSvc("GeoSvc", detectors=["file:share/compact/DRcalo.xml"])
geoservice = GeoSvc(
"GeoSvc",
detectors = [
'file:share/compact/DRcalo.xml'
]
)

from Configurables import DRcalib2D

calib2d = DRcalib2D("DRcalib2D", OutputLevel=DEBUG)

from Configurables import PodioOutput

podiooutput = PodioOutput("PodioOutput", filename="reco.root", OutputLevel=DEBUG)
podiooutput = PodioOutput("PodioOutput", filename = "reco.root", OutputLevel = DEBUG)
podiooutput.outputCommands = ["keep *"]

ApplicationMgr(
TopAlg=[podioinput, calib2d, podiooutput],
EvtSel="NONE",
EvtMax=10,
ExtSvc=[dataservice, geoservice],
TopAlg = [
podioinput,
calib2d,
podiooutput
],
EvtSel = 'NONE',
EvtMax = 10,
ExtSvc = [dataservice, geoservice]
)
53 changes: 28 additions & 25 deletions DRreco/test/runDRcalib3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,49 @@
from Configurables import ApplicationMgr

from Configurables import k4DataSvc

dataservice = k4DataSvc("EventDataSvc", input="digi.root")

from Configurables import PodioInput

podioinput = PodioInput(
"PodioInput",
collections=[
"DigiCalorimeterHits",
"DigiWaveforms",
"RawTimeStructs",
"RawCalorimeterHits",
"SimCalorimeterHits",
"Sim3dCalorimeterHits",
"RawWavlenStructs",
"GenParticles",
"Leakages",
],
podioinput = PodioInput("PodioInput",
collections = [
"DigiCalorimeterHits",
"DigiWaveforms",
"RawTimeStructs",
"RawCalorimeterHits",
"SimCalorimeterHits",
"Sim3dCalorimeterHits",
"RawWavlenStructs",
"GenParticles",
"Leakages"
]
)

from Configurables import GeoSvc

geoservice = GeoSvc("GeoSvc", detectors=["file:share/compact/DRcalo.xml"])
geoservice = GeoSvc(
"GeoSvc",
detectors = [
'file:share/compact/DRcalo.xml'
]
)

from Configurables import DRcalib2D

calib2d = DRcalib2D("DRcalib2D")

from Configurables import DRcalib3D

calib3d = DRcalib3D("DRcalib3D")

from Configurables import PodioOutput

podiooutput = PodioOutput("PodioOutput", filename="reco.root")
podiooutput = PodioOutput("PodioOutput", filename = "reco.root")
podiooutput.outputCommands = ["keep *"]

ApplicationMgr(
TopAlg=[podioinput, calib2d, calib3d, podiooutput],
EvtSel="NONE",
EvtMax=10,
ExtSvc=[dataservice, geoservice],
TopAlg = [
podioinput,
calib2d,
calib3d,
podiooutput
],
EvtSel = 'NONE',
EvtMax = 10,
ExtSvc = [dataservice, geoservice]
)
Loading

0 comments on commit f26dcde

Please sign in to comment.