CMS 3D CMS Logo

Functions

KalmanAlignmentAlgorithm_Commons Namespace Reference

Functions

def loadKAACommons

Function Documentation

def KalmanAlignmentAlgorithm_Commons::loadKAACommons (   cms,
  process 
)

Definition at line 2 of file KalmanAlignmentAlgorithm_Commons.py.

00003                                    :
00004     #
00005     # magnetic field
00006     #
00007     process.load( "Configuration.StandardSequences.MagneticField_cff" )
00008     #
00009     # ideal geometry and interface
00010     #
00011     process.load( "Geometry.CMSCommonData.cmsIdealGeometryXML_cfi" )
00012     process.load( "Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi" )
00013     process.load( "Geometry.CommonDetUnit.bareGlobalTrackingGeometry_cfi" )
00014     #
00015     # beam spot
00016     #
00017     process.load( "RecoVertex.BeamSpotProducer.BeamSpot_cff" )
00018     #
00019     # track selector
00020     #
00021     process.load("Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi")
00022     #
00023     # track refitter (adapted to alignment needs)
00024     #
00025     process.load( "TrackingTools.KalmanUpdators.KFUpdatorESProducer_cfi" )
00026     process.load( "TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi" )
00027     process.load( "TrackingTools.TrackFitters.KFTrajectoryFitterESProducer_cfi" )
00028     process.load( "TrackingTools.TrackFitters.KFTrajectorySmootherESProducer_cfi" )
00029     process.load( "TrackingTools.TrackFitters.KFFittingSmootherESProducer_cfi" )
00030     process.load( "TrackingTools.MaterialEffects.MaterialPropagator_cfi" )
00031     process.load( "TrackingTools.GeomPropagators.AnalyticalPropagator_cfi" )
00032     process.load( "RecoTracker.TrackProducer.RefitterWithMaterial_cff" )
00033     process.load( "RecoTracker.TransientTrackingRecHit.TTRHBuilders_cff" )
00034     process.TrackRefitter.src = "AlignmentTrackSelector"
00035     process.TrackRefitter.TTRHBuilder = "WithAngleAndTemplate"
00036     process.TrackRefitter.TrajectoryInEvent = True
00037     #
00038     # alignment producer
00039     #
00040     process.load( "Alignment.CommonAlignmentProducer.AlignmentProducer_cff" )
00041     process.AlignmentProducer.algoConfig = cms.PSet( process.KalmanAlignmentAlgorithm )
00042     #
00043     # KAA specific includes
00044     #
00045     process.load( "Alignment.KalmanAlignmentAlgorithm.AlignmentUpdators_cff" )
00046     process.load( "Alignment.KalmanAlignmentAlgorithm.MetricsUpdators_cff" )
00047     process.load( "Alignment.ReferenceTrajectories.TrajectoryFactories_cff" )
00048     #
00049     # standard processing path for track-based alignment
00050     #
00051     process.p = cms.Path( process.AlignmentTrackSelector * process.offlineBeamSpot * process.TrackRefitter )