2from __future__
import print_function
3import ROOT,os,sys,getopt,time
18timer=ROOT.TStopwatch()
24run.SetInputFile(inFile)
25run.SetOutputFile(outFile)
28ecalFiller=ROOT.ecalStructureFiller(
"ecalFiller", 1,
"ecal.geo")
29ecalFiller.SetUseMCPoints(ROOT.kTRUE)
30ecalFiller.StoreTrackInformation()
31run.AddTask(ecalFiller)
33ecalAna=ROOT.ecalAnalysisSimple(
"simpleAna",0)
36rtdb=run.GetRuntimeDb()
37kParameterMerged = ROOT.kTRUE
38parIo1=ROOT.FairParRootFileIo()
40rtdb.setFirstInput(parIo1)
43rtdb.printParamContexts()
51rtime = timer.RealTime()
52ctime = timer.CpuTime()
54print(
"Macro finished succesfully.")
55print(
"Output file is ", outFile)
56print(
"Parameter file is ",parFile)
57print(
"Real time ",rtime,
" s, CPU time ",ctime,
"s")
configure(darkphoton=None)