Ejemplo n.º 1
0
###############################################################################
from Gaudi.Configuration import *
import GaudiKernel.SystemOfUnits as units
from TrackMonitors.BGIRecoConf import BGIRecoConf
from Configurables import CondDB, CondDBAccessSvc, RecSysConf

#RecSysConf().RecoSequence = ["Decoding", "VELO", "Tr", "Vertex", "TT"]

from Configurables import Escher
theApp = Escher()
theApp.DataType   = "2012" # Check that this is true
from Configurables import CondDB
CondDB(LatestGlobalTagByDataType=theApp.DataType)
# theApp.CondDBtag = "sim-20130522-vc-md100"#'sim-20111111-vc-md100'
# theApp.DDDBtag = "dddb-20130929"#'MC11-20111102'
theApp.Simulation = True
#theApp.WithMC = True
theApp.InputType  = "DST" #"MDF"
theApp.PrintFreq = 5000
theApp.EvtMax = 3 #00 #2000#160000 #20000
#theApp.SkipEvents = 20 
theApp.DatasetName = 'Align'
#theApp.UseFileStager = True

from Configurables import UpdateManagerSvc
UpdateManagerSvc().ConditionsOverride += [ "Conditions/Alignment/TT/TTaXLayerR1Module1T := double_v dPosXYZ = 0.05 0. 0.; double_v dRotXYZ = -0.005 0. 0.;" ]


### VERTEX SELECTION ##############
from TAlignment.VertexSelections import configuredPVSelection
Ejemplo n.º 2
0
#     BGIRecoConf().RecoVELOSeq = GaudiSequencer("RecoVELOSeq")
#     BGIRecoConf().RecoVertexSeq = GaudiSequencer("RecoVertexSeq")
#     BGIRecoConf().PV3DTuning = False
#     BGIRecoConf().PVAlgorithm = 'PatPV3D'
#     BGIRecoConf().PVSeedTool = 'PVSeed3DTool'
#     BGIRecoConf().PVFitterTool = 'LSAdaptPV3DFitter'
#     BGIRecoConf().PrimaryVertices = "Rec/Vertex/Primary"

from Configurables import Escher
theApp = Escher()
theApp.DataType   = "2012" # Check that this is true
from Configurables import CondDB
CondDB(LatestGlobalTagByDataType=theApp.DataType)
# theApp.CondDBtag = "sim-20130522-vc-md100"#'sim-20111111-vc-md100'
# theApp.DDDBtag = "dddb-20130929"#'MC11-20111102'
theApp.Simulation = False
#theApp.WithMC = True
theApp.InputType  = "DST" #"MDF"
theApp.PrintFreq = 5000
theApp.EvtMax = 3 #00 #2000#160000 #20000
#theApp.SkipEvents = 20 
theApp.DatasetName = 'Align'
#theApp.UseFileStager = True

# Refit Velo segment of long tracks to not be biased by Tracker

# from Configurables import GaudiSequencer
# trackRefitSeq = GaudiSequencer("TrackRefitSeq")

# # create a track list for tracks with velo hits
# from Configurables import TrackContainerCopy, TrackSelector