Skip to content
Snippets Groups Projects
Commit 158a7e62 authored by Dave Casper's avatar Dave Casper
Browse files

Merge branch 'master-22.0.29-ecal' into 'master'

Add ECAL to runG4.py and runG4Cosmics.py

See merge request faser/calypso!119
parents 8ea7818a fdd8fe1a
No related branches found
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.
Finish editing this message first!
Please register or to comment