Skip to content
Snippets Groups Projects
Commit fdd8fe1a authored by Carl Gwilliam's avatar Carl Gwilliam
Browse files

Add ECAL to runG4.py and runG4Cosmics.py

parent 8ea7818a
Branches
No related tags found
No related merge requests found
......@@ -65,6 +65,8 @@ if __name__ == "__main__":
ConfigFlags.Detector.GeometryPreshower = True
ConfigFlags.Detector.SimulateFaserSCT = True
ConfigFlags.Detector.GeometryFaserSCT = True
ConfigFlags.Detector.SimulateEcal = True
ConfigFlags.Detector.GeometryEcal = True
ConfigFlags.Detector.SimulateUpstreamDipole = True
ConfigFlags.Detector.SimulateCentralDipole = True
ConfigFlags.Detector.SimulateDownstreamDipole = True
......@@ -108,7 +110,8 @@ if __name__ == "__main__":
"McEventCollection#TruthEvent",
"McEventCollection#GEN_EVENT",
"ScintHitCollection#*",
"FaserSiHitCollection#*"
"FaserSiHitCollection#*",
"CaloHitCollection#*"
], disableEventTag=True))
acc.getEventAlgo("OutputStreamHITS").AcceptAlgs = ["G4FaserAlg"] # optional
acc.getEventAlgo("OutputStreamHITS").WritingTool.ProcessingTag = "StreamHITS" # required
......
......@@ -66,6 +66,8 @@ if __name__ == "__main__":
ConfigFlags.Detector.GeometryPreshower = True
ConfigFlags.Detector.SimulateFaserSCT = True
ConfigFlags.Detector.GeometryFaserSCT = True
ConfigFlags.Detector.SimulateEcal = True
ConfigFlags.Detector.GeometryEcal = True
ConfigFlags.Detector.SimulateUpstreamDipole = True
ConfigFlags.Detector.SimulateCentralDipole = True
ConfigFlags.Detector.SimulateDownstreamDipole = True
......@@ -108,7 +110,8 @@ if __name__ == "__main__":
"McEventCollection#TruthEvent",
"McEventCollection#GEN_EVENT",
"ScintHitCollection#*",
"FaserSiHitCollection#*"
"FaserSiHitCollection#*",
"CaloHitCollection#*"
], disableEventTag=True))
acc.getEventAlgo("OutputStreamHITS").AcceptAlgs = ["G4FaserAlg"] # optional
acc.getEventAlgo("OutputStreamHITS").WritingTool.ProcessingTag = "StreamHITS" # required
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment