if hasattr(runArgs, "InDetBeamSpotExampleJobOption"): if len(runArgs.InDetBeamSpotExampleJobOption) > 0: print "Including: JobOption", runArgs.InDetBeamSpotExampleJobOption for i in runArgs.InDetBeamSpotExampleJobOption: include(i) else: print "No jobOption specified" else: print "No jobOption specified" #ToolSvc.InDetDetailedTrackSelectorTool.nHitSct = 0 #ToolSvc.InDetDetailedTrackSelectorTool.nHitSi = 0 #include the fragment that makes the dpd files include("InDetBeamSpotFinder/DPD_BeamSpotFragment.py") print InDetFlags.doNtupleCreation() print InDetKeys.trkValidationNtupleName() print InDetFlags.doVtxNtuple() #print XXX print InDetFlags print InputTrackCollection #include("InDetRecExample/InDetRecConditionsAccess.py") print "JW Detector summary" print "DetFlags.haveRIO.pixel_on()", DetFlags.haveRIO.pixel_on() print "InDetFlags.usePixelDCS()", InDetFlags.usePixelDCS() print "InDetFlags.useSctDCS", InDetFlags.useSctDCS() print "DetFlags.haveRIO.SCT_on", DetFlags.haveRIO.SCT_on() print "DetFlags.haveRIO.TRT_on()", DetFlags.haveRIO.TRT_on()
# statistics if InDetFlags.doStatistics(): if InDetFlags.doVeryLowPt(): cuts = InDetNewTrackingCutsVeryLowPt elif InDetFlags.doLowPt(): cuts = InDetNewTrackingCutsLowPt else: cuts = InDetNewTrackingCuts include("InDetRecExample/ConfiguredInDetValidation.py") InDetValidation = ConfiguredInDetValidation( "", True, InDetFlags.doTruth(), cuts, TrackCollectionKeys, TrackCollectionTruthKeys) # ntuple creation for validation purposes if (InDetFlags.doNtupleCreation() or InDetFlags.doStandardPlots()): include("InDetRecExample/InDetRecNtupleCreation.py") # D3PD Creation if (InDetFlags.doD3PDCreation()): include("InDetRecExample/InDetRecD3PDCreation.py") if not InDetFlags.doMonitoring(): # --- Delete spacepoint collections from InDetRecExample.ConfiguredInDetSGDeletion import InDetSGDeletionAlg InDetSGDeletionAlg(container="SpacePointOverlapCollection#", key=InDetKeys.OverlapSpacePoints()) # Delete Pixel and Silicon space points from InDetRecExample.ConfiguredInDetSGDeletion import InDetSGDeletionAlg InDetSGDeletionAlg(container="SpacePointContainer#",
# statistics if InDetFlags.doStatistics(): if InDetFlags.doVeryLowPt(): cuts = InDetNewTrackingCutsVeryLowPt elif InDetFlags.doLowPt(): cuts = InDetNewTrackingCutsLowPt else: cuts = InDetNewTrackingCuts include("InDetRecExample/ConfiguredInDetValidation.py") InDetValidation = ConfiguredInDetValidation( "", True, InDetFlags.doTruth(), cuts, TrackCollectionKeys, TrackCollectionTruthKeys) # ntuple creation for validation purposes if (InDetFlags.doNtupleCreation() or InDetFlags.doPhysValMon()): include("InDetRecExample/InDetRecNtupleCreation.py") # D3PD Creation if (InDetFlags.doD3PDCreation()): include("InDetRecExample/InDetRecD3PDCreation.py") if not InDetFlags.doMonitoring(): # --- Delete spacepoint collections from InDetRecExample.ConfiguredInDetSGDeletion import InDetSGDeletionAlg InDetSGDeletionAlg(container="SpacePointOverlapCollection#", key=InDetKeys.OverlapSpacePoints()) # Delete Pixel and Silicon space points from InDetRecExample.ConfiguredInDetSGDeletion import InDetSGDeletionAlg InDetSGDeletionAlg(container="SpacePointContainer#",