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],
 )

示例#2
0
                   OutputLevel=INFO)
out.outputCommands = ["keep *"]
out.filename = 'output_hcal_geantscan.root'

from Configurables import ChronoAuditor
chronoauditor = ChronoAuditor()

from Configurables import MemStatAuditor
memauditor = MemStatAuditor()

from Configurables import MemoryAuditor
memauditor2 = MemoryAuditor()

from Configurables import AuditorSvc
auditorsvc_handle = AuditorSvc()
auditorsvc_handle.Auditors = [ chronoauditor, memauditor, memauditor2, ]




from Configurables import ApplicationMgr
ApplicationMgr( TopAlg = [ gen, hepmc_converter, geantsim, out],
                EvtSel = 'NONE',
                EvtMax   = 5000,
                # order is important, as GeoSvc is needed by SimG4Svc
                ExtSvc = [auditorsvc_handle, podioevent, geoservice, geantservice,],
                OutputLevel=DEBUG,
)

for svc in ApplicationMgr().ExtSvc:
  svc.AuditInitialize = True
示例#3
0
                                                 nEtaFinal=7,
                                                 nPhiFinal=15,
                                                 energyThreshold=8,
                                                 OutputLevel=DEBUG)
createclusters.clusters.Path = "caloClusters"

out = PodioOutput("output",
                  filename="output_ecalReco_noiseFromFile_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
mergelayers.AuditExecute = True
out.AuditExecute = True

ApplicationMgr(
    TopAlg=[
        podioinput, mergelayers, createcells, createemptycells, createclusters,
        out
    ],
    EvtSel='NONE',
    EvtMax=1,
    ExtSvc=[podioevent, geoservice],
)
示例#4
0
out.filename = 'output_hcal_geantscan.root'

from Configurables import ChronoAuditor
chronoauditor = ChronoAuditor()

from Configurables import MemStatAuditor
memauditor = MemStatAuditor()

from Configurables import MemoryAuditor
memauditor2 = MemoryAuditor()

from Configurables import AuditorSvc
auditorsvc_handle = AuditorSvc()
auditorsvc_handle.Auditors = [
    chronoauditor,
    memauditor,
    memauditor2,
]

from Configurables import ApplicationMgr
ApplicationMgr(
    TopAlg=[gen, hepmc_converter, geantsim, out],
    EvtSel='NONE',
    EvtMax=5000,
    # order is important, as GeoSvc is needed by SimG4Svc
    ExtSvc=[
        auditorsvc_handle,
        podioevent,
        geoservice,
        geantservice,
    ],