#CondDB().addLayer( MUONAlignmentCondition ) CondDB().addLayer(OTAlignmentCondition) # ================================================================================================ # add all 'private' reconstruction to this sequence which is automatically added to the alignment sequence. # ================================================================================================ from Configurables import GaudiSequencer trackFilterSeq = GaudiSequencer("TrackFilterSeq") # ---------------------------------------------------------------------------------- # make a selection of the Best-tracks based on the chisquare # ---------------------------------------------------------------------------------- from Configurables import (TrackSelector, TrackContainerCopy) seedselectoralg = TrackContainerCopy("SeedSelection") seedselectoralg.addTool(TrackSelector("SeedSelector"), name="Selector") seedselectoralg.inputLocation = 'Rec/Track/Best' seedselectoralg.outputLocation = 'Rec/Track/SelectedBest' seedselectoralg.Selector.MaxChi2Cut = 5 #seedselectoralg.Selector.MinNOTHits = 12 trackFilterSeq.Members.append(seedselectoralg) ## # ---------------------------------------------------------------------------------- ## from Configurables import TrackListRefiner ## # ---------------------------------------------------------------------------------- ## longTrackSelector = TrackListRefiner("LongTrackSelector", ## inputLocation = "Rec/Track/SelectedBest", ## outputLocation = "Rec/Track/SeectedLong", ## Selector = TrackSelector()) ## longTrackSelector.Selector.TrackTypes = ["Long","Downstream"] ## trackFilterSeq.Members.append( longTrackSelector )
tmuonfit.Fitter.MeasProvider.IgnoreMuon = False if OTMuonMatching: trackFilterSeq.Members.append(matching) trackFilterSeq.Members.append(tmuonfit) # ------------------------------------------------------------------ from Configurables import TrackMonitor trackFilterSeq.Members.append( TrackMonitor("MyTMuonMonitor", TracksInContainer='Rec/Track/Best/TMuon')) from Configurables import (TrackSelector, TrackContainerCopy) tmuonselectoralg = TrackContainerCopy("TmuonSelection") tmuonselectoralg.addTool(TrackSelector, name="Selector") tmuonselectoralg.Selector.MaxChi2Cut = 10 tmuonselectoralg.Selector.OutputLevel = outputlevel tmuonselectoralg.inputLocation = 'Rec/Track/Best/TMuon' tmuonselectoralg.outputLocation = 'Rec/Track/AlignTracks' trackFilterSeq.Members.append(tmuonselectoralg) ##============================================================== #-- Use latest database tags for real data from Configurables import LHCbApp #LHCbApp().Monitors = ["MemoryAuditor"] Escher().DataType = "2010" LHCbApp().DDDBtag = "default" LHCbApp().CondDBtag = "default" Escher().DatasetName = 'Collision2010' Escher().Simulation = False #Escher().UseOracle = True