Exemple #1
0
# 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
from TAlignment.AlignmentScenarios import *

configure2012DataAlignment()
Exemple #2
0
isBeamGas = dataset != 'D02KPi'


if isBeamGas:
    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")
###############################################################################
# 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 = 'AlignHltJpsi'

# COND DB
theApp.DDDBtag = 'dddb-20130111'
theApp.CondDBtag = 'cond-20130114'

# specify the input to the alignment
from Configurables import TAlignment
from TAlignment.ParticleSelections import defaultHLTJPsiSelection
TAlignment().ParticleSelections = [defaultHLTJPsiSelection()]

from TAlignment.TrackSelections import NoPIDTracksFromHlt
TAlignment().TrackSelections = [NoPIDTracksFromHlt(RerunVeloTracking=True)]

# specify what we actually align for
from TAlignment.AlignmentScenarios import *
configure2012DataAlignment(True)
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
TAlignment().ParticleSelections = [ defaultHLTD0Selection() ]
from TAlignment.TrackSelections import NoPIDTracksFromHlt
TAlignment().TrackSelections = [ NoPIDTracksFromHlt() ]

# specify what we actually align for
from TAlignment.AlignmentScenarios import *
#configurePromptAlignment()