doCellCalibration=True, calibTool=calibcells, addCellNoise=False, filterCellNoise=False, OutputLevel=DEBUG) createcells.hits.Path="ECalHits" createcells.cells.Path="caloCells" out = PodioOutput("out", filename="output_ecalInclinedDigi_test.root", OutputLevel=DEBUG) out.outputCommands = ["keep *"] #CPU information from Configurables import AuditorSvc, ChronoAuditor chra = ChronoAuditor() audsvc = AuditorSvc() audsvc.Auditors = [chra] geantsim.AuditExecute = True createcells.AuditExecute = True out.AuditExecute = True ApplicationMgr( TopAlg = [geantsim, createcells, out ], EvtSel = 'NONE', EvtMax = 1, ExtSvc = [podioevent, geoservice], )
#out.outputCommands = ["drop *", "keep ECalBarrelCells", "keep HCalBarrelCells", "keep GenParticles","keep GenVertices"] #Save all out.outputCommands = ["keep *"] import uuid out.filename = "output_fullCalo_SimAndDigi_"+str(momentum)+"GeV_"+uuid.uuid4().hex+".root" #CPU information from Configurables import AuditorSvc, ChronoAuditor chra = ChronoAuditor() audsvc = AuditorSvc() audsvc.Auditors = [chra] genalg_pgun.AuditExecute = True hepmc_converter.AuditExecute = True geantsim.AuditExecute = True createEcalBarrelCellsStep1.AuditExecute = True resegmentEcalBarrel.AuditExecute = True createEcalBarrelCells.AuditExecute = True createHcalBarrelCells.AuditExecute = True out.AuditExecute = True from Configurables import ApplicationMgr ApplicationMgr( TopAlg = [genalg_pgun, hepmc_converter, geantsim, createEcalBarrelCellsStep1, resegmentEcalBarrel, createEcalBarrelCells, createHcalBarrelCells, out
nEtaDuplicates=5, nPhiDuplicates=11, nEtaFinal=7, nPhiFinal=15, energyThreshold=8, OutputLevel=DEBUG) createclusters.clusters.Path = "caloClusters" out = PodioOutput("output", filename="output_ecalReco_flatNoise_test.root", OutputLevel=DEBUG) out.outputCommands = ["keep *"] #CPU information from Configurables import AuditorSvc, ChronoAuditor chra = ChronoAuditor() audsvc = AuditorSvc() audsvc.Auditors = [chra] podioinput.AuditExecute = True createclusters.AuditExecute = True createcells.AuditExecute = True out.AuditExecute = True ApplicationMgr( TopAlg=[podioinput, createcells, createclusters, out], EvtSel='NONE', EvtMax=1, ExtSvc=[podioevent, geoservice], )
positionsEcal = CreateVolumeCaloPositions("positionsEcal", OutputLevel=VERBOSE) positionsEcal.hits.Path = "ECalBarrelCells" positionsEcal.positionedHits.Path = "ECalBarrelPositions" out = PodioOutput("out", OutputLevel=DEBUG) out.outputCommands = ["keep *"] out.filename = "output_combCalo_" + str(particleType) + str(int( energy / GeV)) + "GeV.root" #CPU information from Configurables import AuditorSvc, ChronoAuditor chra = ChronoAuditor() audsvc = AuditorSvc() audsvc.Auditors = [chra] geantsim.AuditExecute = True createEcells.AuditExecute = True createHcells.AuditExecute = True createExtHcells.AuditExecute = True positions.AuditExecute = True positionsExt.AuditExecute = True resegment.AuditExecute = True resegmentExt.AuditExecute = True positions2.AuditExecute = True positionsExt2.AuditExecute = True out.AuditExecute = True ApplicationMgr( TopAlg=[ geantsim, createEcells, createHcells, createExtHcells, positions, positionsExt, resegment, resegmentExt, positions2, positionsExt2, positionsEcal, out
OutputLevel=DEBUG) createcellsEndcap.hits.Path = "ECalEndcapHits" createcellsEndcap.cells.Path = "ECalEndcapCells" out = PodioOutput("out", filename="output_ecalInclinedWithEndcapDigi_test.root", OutputLevel=DEBUG) out.outputCommands = ["keep *"] #CPU information from Configurables import AuditorSvc, ChronoAuditor chra = ChronoAuditor() audsvc = AuditorSvc() audsvc.Auditors = [chra] geantsim.AuditExecute = True createcellsBarrel.AuditExecute = True positionsEcalBarrel.AuditExecute = True resegmentEcal.AuditExecute = True createcellsEndcap.AuditExecute = True out.AuditExecute = True ApplicationMgr( TopAlg=[ geantsim, createcellsBarrel, positionsEcalBarrel, resegmentEcal, createcellsEndcap, out ], EvtSel='NONE', EvtMax=1, ExtSvc=[podioevent, geoservice], )
addCellNoise=False, filterCellNoise=False, OutputLevel=DEBUG) createcellsFwd.hits.Path="ECalFwdHits" createcellsFwd.cells.Path="ECalFwdCells" out = PodioOutput("out", filename="output_ecalInclinedWithEndcapandFwdDigi_test.root", OutputLevel=DEBUG) out.outputCommands = ["keep *"] #CPU information from Configurables import AuditorSvc, ChronoAuditor chra = ChronoAuditor() audsvc = AuditorSvc() audsvc.Auditors = [chra] geantsim.AuditExecute = True createcellsBarrel.AuditExecute = True positionsEcalBarrel.AuditExecute = True resegmentEcal.AuditExecute = True createcellsEndcap.AuditExecute = True createcellsFwd.AuditExecute = True out.AuditExecute = True ApplicationMgr( TopAlg = [geantsim, createcellsBarrel, positionsEcalBarrel, resegmentEcal, createcellsEndcap, createcellsFwd, out ],
out.outputCommands = [ "drop *", "keep ECalBarrelCells", "keep ECalEndcapCells", "keep ECalFwdCells", "keep HCalBarrelCells", "keep HCalExtBarrelCells", "keep HCalEndcapCells", "keep HCalFwdCells", "keep GenParticles", "keep GenVertices" ] out.filename = "output_fullCalo_SimAndDigi_e50GeV_" + str( num_events) + "events.root" #CPU information from Configurables import AuditorSvc, ChronoAuditor chra = ChronoAuditor() audsvc = AuditorSvc() audsvc.Auditors = [chra] geantsim.AuditExecute = True createEcalBarrelCellsStep1.AuditExecute = True positionsEcalBarrel.AuditExecute = True resegmentEcalBarrel.AuditExecute = True createEcalBarrelCells.AuditExecute = True createEcalEndcapCells.AuditExecute = True createEcalFwdCells.AuditExecute = True createHcalCells.AuditExecute = True createExtHcalCells.AuditExecute = True createHcalEndcapCells.AuditExecute = True createHcalFwdCells.AuditExecute = True out.AuditExecute = True ApplicationMgr( TopAlg=[ geantsim, createEcalBarrelCellsStep1, positionsEcalBarrel, resegmentEcalBarrel, createEcalBarrelCells, mergelayersEcalEndcap,
positionsEcal = CreateVolumeCaloPositions("positionsEcal", OutputLevel = VERBOSE) positionsEcal.hits.Path = "ECalCells" positionsEcal.positionedHits.Path = "ECalPositions" out = PodioOutput("out", OutputLevel=DEBUG) out.outputCommands = ["keep *"] out.filename = "output_combCalo_"+str(particleType)+str(int(energy/GeV))+"GeV.root" #CPU information from Configurables import AuditorSvc, ChronoAuditor chra = ChronoAuditor() audsvc = AuditorSvc() audsvc.Auditors = [chra] geantsim.AuditExecute = True createEcells.AuditExecute = True createHcells.AuditExecute = True positions.AuditExecute = True resegment.AuditExecute = True positions2.AuditExecute = True out.AuditExecute = True ApplicationMgr( TopAlg = [geantsim, createEcells, createHcells, positions, resegment, positions2, positionsEcal, out
positionsHFwdTool = HCalFwdcells, hits = "caloClusterBarrelCells", positionedHits = "caloClusterBarrelCellPositions", OutputLevel = INFO) out = PodioOutput("out", filename = "output_BarrelTopo_electrNoise_50GeVe_3ev.root", OutputLevel = DEBUG) out.outputCommands =["drop *", "keep GenParticles", "keep GenVertices", "keep caloClustersBarrel","keep caloClusterBarrelCells", "keep caloClusterBarrelCellPositions"] #CPU information from Configurables import AuditorSvc,ChronoAuditor chra = ChronoAuditor() audsvc = AuditorSvc() audsvc.Auditors =[chra] podioinput.AuditExecute = True createemptycells.AuditExecute =True createEcalBarrelCells.AuditExecute = True createHcalBarrelCells.AuditExecute =True createTopoClusters.AuditExecute = True positionsClusterBarrel.AuditExecute = True ApplicationMgr(TopAlg = [podioinput, createEcalBarrelCells, createHcalBarrelCells, createemptycells, createTopoClusters, positionsClusterBarrel, out ], EvtSel = 'NONE', EvtMax = 3,
out.outputCommands = [ "drop *", "keep GenParticles", "keep GenVertices", "keep TrackerHits", "keep TrackerPositionedHits", "keep TrackerDigiPostPoint", "keep ECalBarrelCells", "keep ECalEndcapCells", "keep ECalFwdCells", "keep HCalBarrelCells", "keep HCalExtBarrelCells", "keep HCalEndcapCells", "keep HCalFwdCells", "keep TailCatcherCells" ] out.filename = output_name #CPU information from Configurables import AuditorSvc, ChronoAuditor chra = ChronoAuditor() audsvc = AuditorSvc() audsvc.Auditors = [chra] geantsim.AuditExecute = True createEcalBarrelCellsStep1.AuditExecute = True positionsEcalBarrel.AuditExecute = True resegmentEcalBarrel.AuditExecute = True createEcalBarrelCells.AuditExecute = True createHcalCells.AuditExecute = True mergeLayersEcalEndcap.AuditExecute = True createEcalEndcapCells.AuditExecute = True mergeLayersHcalEndcap.AuditExecute = True createHcalEndcapCells.AuditExecute = True createHcalFwdCells.AuditExecute = True createTailCatcherCells.AuditExecute = True out.AuditExecute = True list_of_algorithms = [ geantsim, createEcalBarrelCellsStep1, positionsEcalBarrel, resegmentEcalBarrel, createEcalBarrelCells, createHcalCells,
addCellNoise=False, filterCellNoise=False, OutputLevel=INFO, hits="HCalExtBarrelCellsStep2", cells="ExtHCalCells") out = PodioOutput("out", filename="output_HCalCells_digitisation_noNoise.root", OutputLevel = DEBUG) out.outputCommands = ["keep *"] #CPU information from Configurables import AuditorSvc, ChronoAuditor chra = ChronoAuditor() audsvc = AuditorSvc() audsvc.Auditors = [chra] podioinput.AuditExecute = True createHcalBarrelCells.AuditExecute = True out.AuditExecute = True ApplicationMgr( TopAlg = [podioinput, resegmentHcalBarrel, resegmentHcalExtBarrel, rewriteHCal, rewriteExtHCal, createHcalBarrelTiles, createHcalExtBarrelTiles, createHcalBarrelCells, createHcalExtBarrelCells, out ], EvtSel = 'NONE',
OutputLevel=INFO) createHcalFwdCells.hits.Path="mergedHCalFwdHits" createHcalFwdCells.cells.Path="HCalFwdCells" out = PodioOutput("out", OutputLevel=INFO) out.outputCommands = ["drop *", "keep ECalBarrelCells", "keep ECalEndcapCells", "keep ECalFwdCells", "keep HCalBarrelCells", "keep HCalBarrelPositions", "keep HCalExtBarrelCells", "keep HCalEndcapCells", "keep HCalFwdCells", "keep GenParticles","keep GenVertices"] out.filename = "output_fullCalo_SimAndDigi_pi50GeV_"+str(num_events)+"events.root" #CPU information from Configurables import AuditorSvc, ChronoAuditor chra = ChronoAuditor() audsvc = AuditorSvc() audsvc.Auditors = [chra] geantsim.AuditExecute = True createEcalBarrelCellsStep1.AuditExecute = True positionsEcalBarrel.AuditExecute = True resegmentEcalBarrel.AuditExecute = True createEcalBarrelCells.AuditExecute = True createEcalEndcapCells.AuditExecute = True createEcalFwdCells.AuditExecute = True createHcalCells.AuditExecute = True createExtHcalCells.AuditExecute = True createHcalEndcapCells.AuditExecute = True createHcalFwdCells.AuditExecute = True out.AuditExecute = True ApplicationMgr( TopAlg = [geantsim, createEcalBarrelCellsStep1, positionsEcalBarrel,