Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sampling_fractions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ with the following lines edited to match your configuration:
\# Electron momentum in GeV
momentum = 40

evtsvc.input = "root/allegro_v03_evts_10000_*sim.root"
iosvc.Input = "root/allegro_v03_evts_10000_*sim.root"

This will produce a file histSF_fccee_turbineECalEndcap.root.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@
thetaMin = 0.
thetaMax = 50.

# Data service
#from Configurables import FCCDataSvc
#podioevent = FCCDataSvc("EventDataSvc")
from Configurables import EventDataSvc
from k4FWCore import ApplicationMgr, IOSvc

from Configurables import k4DataSvc, PodioInput
evtsvc = k4DataSvc('EventDataSvc')
evtsvc.input = "root/allegro_v03_evts_10000_*sim.root"
podioevent = k4DataSvc("EventDataSvc")
podioevent = EventDataSvc("EventDataSvc")

inp = PodioInput('InputReader')
inp.collections = [
iosvc = IOSvc()
iosvc.Input = "root/allegro_v03_evts_10000_*sim.root"
iosvc.CollectionNames = [
'EventHeader',
'MCParticles',
'ECalEndcapTurbine',
Expand Down Expand Up @@ -66,19 +63,12 @@
#geantsim.AuditExecute = True
hist.AuditExecute = True

from Configurables import PodioOutput
### PODIO algorithm
out = PodioOutput("out",OutputLevel=INFO)
out.outputCommands = ["drop *"]
out.filename = "fccee_samplingFraction_inclinedEcal.root"

#from Configurables import EventCounter
#event_counter = EventCounter('event_counter')
#event_counter.Frequency = 10

# ApplicationMgr
from Configurables import ApplicationMgr
ApplicationMgr( TopAlg = [inp, hist, out],
ApplicationMgr( TopAlg = [hist],
EvtSel = 'NONE',
EvtMax = -1,
# order is important, as GeoSvc is needed by G4SimSvc
Expand Down
Loading