############################################################################### # File for running alignment with D0 reconstructed from HLT sel reports ############################################################################### # Syntax is: # gaudiiter.py Escher-AlignHltJpsi.py <someDataFiles>.py ############################################################################### from Configurables import Escher # Just instantiate the configurable... theApp = Escher() theApp.DataType = "2012" theApp.InputType = "MDF" theApp.PrintFreq = 10 theApp.EvtMax = 100 theApp.DatasetName = 'AlignHltD0' # COND DB theApp.DDDBtag = 'dddb-20130503-1' theApp.CondDBtag = 'cond-20130710' # specify the input to the alignment from Configurables import TAlignment from TAlignment.ParticleSelections import defaultHLTD0Selection TAlignment().ParticleSelections = [defaultHLTD0Selection()] from TAlignment.TrackSelections import NoPIDTracksFromHlt TAlignment().TrackSelections = [NoPIDTracksFromHlt()] # specify what we actually align for
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 ### TRACK SELECTION ############## from TAlignment.TrackSelections import GoodLongTracks
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.CondDBtag = "sim-20130522-vc-md100"#'sim-20111111-vc-md100' theApp.DDDBtag = "dddb-20130929"#'MC11-20111102' theApp.DataType = "2011" # Check that this is true theApp.Simulation = True #theApp.WithMC = True theApp.InputType = "DST" theApp.PrintFreq = 5000 theApp.EvtMax = 300 #2000#160000 #20000 #theApp.SkipEvents = 20 theApp.DatasetName = 'AlignCollisions' #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 velotrackselector = TrackContainerCopy("TracksWithVeloHits", inputLocation = "Rec/Track/Best",
############################################################################### # File for running alignment with J/psi reconstructed from HLT sel reports ############################################################################### # Syntax is: # gaudiiter.py Escher-AlignMUON.py <someDataFiles>.py ############################################################################### from Configurables import Escher # Just instantiate the configurable... theApp = Escher() theApp.DataType = "2012" #theApp.InputType = "MDF" theApp.InputType = "DST" theApp.PrintFreq = 10 theApp.EvtMax = 10000 theApp.DatasetName = 'AlignHlt1JpsiMUON' # COND DB theApp.DDDBtag = 'dddb-20130111' theApp.CondDBtag = 'cond-20130114' # trigger requirements theApp.HltFilterCode = "HLT_PASS_RE( 'Hlt2ExpressJPsiDecision' )" # specify the input to the alignment from Configurables import TAlignment #from TAlignment.ParticleSelections import muonTracksFORmuonAlignment # Stefania #TAlignment().ParticleSelections = [ muonTracksFORmuonAlignment() ] # Stefania from TAlignment.TrackSelections import BestMuonTracks
############################################################################### # File for running alignment with J/psi reconstructed from HLT sel reports ############################################################################### # Syntax is: # gaudiiter.py Escher-AlignHltJpsi.py <someDataFiles>.py ############################################################################### from Configurables import Escher # Just instantiate the configurable... theApp = Escher() theApp.DataType = "2012" theApp.InputType = "MDF" theApp.PrintFreq = 10000 theApp.EvtMax = 200000 theApp.DatasetName = 'AlignHltD0' #theApp.DatasetName += '-IgnoreVelo' #theApp.HltFilterCode = "HLT_PASS_RE( 'Hlt2ExpressDStar2D0PiDecision' )" theApp.HltFilterCode = "HLT_PASS_RE( 'Hlt2ExpressD02KPiDecision' )" #theApp.HltFilterCode = "HLT_PASS_RE( 'Hlt2CharmHadD02HH_D02KPiDecision' )" # COND DB theApp.DDDBtag = 'head-20120316' theApp.CondDBtag = 'head-20120316' # add the filestager theApp.UseFileStager = True # specify the input to the alignment from Configurables import TAlignment from TAlignment.ParticleSelections import defaultHLTD0Selection