コード例 #1
0
InDetFlags.doVtxNtuple        = False 
InDetFlags.doConvVtxNtuple    = False 
InDetFlags.doV0VtxNtuple      = False 
InDetFlags.doRefit            = doRefitTracks
InDetFlags.doLowBetaFinder    = False
InDetFlags.doPrintConfigurables.set_Value_and_Lock(True)
InDetFlags.doStatistics = True

from InDetRecExample.ConfiguredNewTrackingCuts import ConfiguredNewTrackingCuts

InDetNewTrackingCutsHighD0 = ConfiguredNewTrackingCuts("HighD0")
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__minPT= 500. * Units.MeV
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxPT= 1. * Units.TeV
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxEta= 5
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxPrimaryImpact=300.0 * Units.mm
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxZImpact=1500.0 * Units.mm
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxSecondaryImpact=300.0 * Units.mm
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__minSecondaryPt=500.0 * Units.MeV
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__minClusters=7
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__minSiNotShared=5
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxShared=2
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxTracksPerSharedPRD=2
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__seedFilterLevel=1
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__minPixel=0

InDetNewTrackingCutsHighD0.printInfo()



###############################################################################
##now redo muon reco
コード例 #2
0
##### TEST FOR USING PRIMARY VERTEXING TO FIND DVs
##InDetFlags.primaryVertexCutSetup="StartUp"
##InDetFlags.useBeamConstraint.set_Value_and_Lock(False)
### END TEST

from InDetRecExample.ConfiguredNewTrackingCuts import ConfiguredNewTrackingCuts
#from ConfiguredNewTrackingCuts import ConfiguredNewTrackingCuts
#print "SiSpacePointsSeedMaker",SiSpacePointsSeedMaker

InDetNewTrackingCutsLowPt = ConfiguredNewTrackingCuts("LowPt")
#InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__minPT= 100. * Units.GeV
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__minPT = 500. * Units.MeV
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxPT = 1. * Units.TeV
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxEta = 5
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxPrimaryImpact = 300.0 * Units.mm
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxZImpact = 1500.0 * Units.mm
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxSecondaryImpact = 300.0 * Units.mm
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__minSecondaryPt = 500.0 * Units.MeV
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__minClusters = 7
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__minSiNotShared = 5
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxShared = 2
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxTracksPerSharedPRD = 2
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__seedFilterLevel = 1
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__minPixel = 0

InDetNewTrackingCutsLowPt.printInfo()

#=#
#=################################################################################
#=###now redo muon reco
#=###############################################################################
コード例 #3
0
rec.doEgamma.set_Value_and_Lock(False)
rec.doTau.set_Value_and_Lock(False)

from RecExConfig.RecAlgsFlags import recAlgs

recAlgs.doEgammaBremReco.set_Value_and_Lock(False)

from TrackD3PDMaker.VertexD3PDAnalysisFlags import VertexD3PDAnalysisFlags

VertexD3PDAnalysisFlags.useBeamspot.set_Value_and_Lock(True)

#Change tracking reconstruction cuts (Increase maximum z of tracking accpetance)
from InDetRecExample.ConfiguredNewTrackingCuts import ConfiguredNewTrackingCuts

InDetNewTrackingCuts = ConfiguredNewTrackingCuts("Offline")
InDetNewTrackingCuts._ConfiguredNewTrackingCuts__maxZImpact = 1700.
InDetNewTrackingCuts.printInfo()

InDetNewTrackingCutsLowPt = ConfiguredNewTrackingCuts("LowPt")
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxZImpact = 1700.
InDetNewTrackingCutsLowPt.printInfo()

#Change vertex reconstruction cuts (Increase maximum z of tracking accpetance)
from InDetRecExample.ConfiguredVertexingCuts import ConfiguredVertexingCuts

InDetPrimaryVertexingCuts = ConfiguredVertexingCuts("LowPt")
InDetPrimaryVertexingCuts._ConfiguredVertexingCuts__z0Max = 1700.
InDetPrimaryVertexingCuts._ConfiguredVertexingCuts__IPz0Max = 1700.
InDetPrimaryVertexingCuts._ConfiguredVertexingCuts__sigIPd0Max = 5.0
InDetPrimaryVertexingCuts.printInfo()
コード例 #4
0
##InDetFlags.primaryVertexCutSetup="StartUp"
##InDetFlags.useBeamConstraint.set_Value_and_Lock(False)
### END TEST


from InDetRecExample.ConfiguredNewTrackingCuts import ConfiguredNewTrackingCuts
#from ConfiguredNewTrackingCuts import ConfiguredNewTrackingCuts
#print "SiSpacePointsSeedMaker",SiSpacePointsSeedMaker

InDetNewTrackingCutsLowPt = ConfiguredNewTrackingCuts("LowPt")
#InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__minPT= 100. * Units.GeV
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__minPT= 500. * Units.MeV
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxPT= 1. * Units.TeV
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxEta= 5
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxPrimaryImpact=300.0 * Units.mm
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxZImpact=1500.0 * Units.mm
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxSecondaryImpact=300.0 * Units.mm
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__minSecondaryPt=500.0 * Units.MeV
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__minClusters=7
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__minSiNotShared=5
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxShared=2
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__maxTracksPerSharedPRD=2
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__seedFilterLevel=1
InDetNewTrackingCutsLowPt._ConfiguredNewTrackingCuts__minPixel=0

InDetNewTrackingCutsLowPt.printInfo()



#=#
#=################################################################################
コード例 #5
0
InDetFlags.doVtxNtuple = False
InDetFlags.doConvVtxNtuple = False
InDetFlags.doV0VtxNtuple = False
InDetFlags.doRefit = doRefitTracks
InDetFlags.doLowBetaFinder = False
InDetFlags.doPrintConfigurables.set_Value_and_Lock(True)
InDetFlags.doStatistics = True

from InDetRecExample.ConfiguredNewTrackingCuts import ConfiguredNewTrackingCuts

InDetNewTrackingCutsHighD0 = ConfiguredNewTrackingCuts("HighD0")
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__minPT = 500. * Units.MeV
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxPT = 1. * Units.TeV
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxEta = 5
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxPrimaryImpact = 300.0 * Units.mm
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxZImpact = 1500.0 * Units.mm
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxSecondaryImpact = 300.0 * Units.mm
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__minSecondaryPt = 500.0 * Units.MeV
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__minClusters = 7
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__minSiNotShared = 5
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxShared = 2
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__maxTracksPerSharedPRD = 2
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__seedFilterLevel = 1
InDetNewTrackingCutsHighD0._ConfiguredNewTrackingCuts__minPixel = 0

InDetNewTrackingCutsHighD0.printInfo()

###############################################################################
##now redo muon reco
##############################################################################
from MuonRecExample.MuonRecFlags import muonRecFlags, mooreFlags, muonboyFlags