CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Alignment/CommonAlignmentProducer/python/AlignmentProducer_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # misalignment scenarios
00004 from Alignment.TrackerAlignment.Scenarios_cff import *
00005 
00006 # algorithms
00007 from Alignment.HIPAlignmentAlgorithm.HIPAlignmentAlgorithm_cfi import *
00008 from Alignment.MillePedeAlignmentAlgorithm.MillePedeAlignmentAlgorithm_cfi import *
00009 from Alignment.KalmanAlignmentAlgorithm.KalmanAlignmentAlgorithm_cfi import *
00010 # parameters
00011 from Alignment.CommonAlignmentAlgorithm.AlignmentParameterStore_cfi import *
00012 
00013 looper = cms.Looper("AlignmentProducer",
00014                     AlignmentParameterStore, # configuration of AlignmentParameterStore
00015                     maxLoops = cms.untracked.uint32(1),
00016                     doTracker = cms.untracked.bool(True),
00017                     doMuon = cms.untracked.bool(False),
00018                     useExtras = cms.untracked.bool(False),
00019                     # Read survey info from DB: true requires configuration of PoolDBESSource
00020                     # See Alignment/SurveyAnalysis/test/readDB.cfg for an example
00021                     useSurvey = cms.bool(False),
00022                     
00023                     # (Mis-)Alignment including surface deformations from database
00024                     # true requires configuration of PoolDBESSource
00025                     applyDbAlignment = cms.untracked.bool(False),
00026                     
00027                     # misalignment scenario
00028                     MisalignmentScenario = cms.PSet(NoMovementsScenario), # why not by reference?
00029                     doMisalignmentScenario = cms.bool(False),
00030                     # simple misalignment of selected alignables and selected dof (deprecated!)
00031                     randomShift = cms.double(0.0),
00032                     randomRotation = cms.double(0.0),
00033                     parameterSelectorSimple = cms.string('-1'),
00034                     
00035                     # selection of alignables and their parameters
00036                     # see twiki: SWGuideAlignmentAlgorithms
00037                     ParameterBuilder = cms.PSet(parameterTypes = cms.vstring('Selector,RigidBody'),
00038                                                 Selector = cms.PSet(alignParams = cms.vstring('PixelHalfBarrelLayers,111000'))
00039                                                 ),
00040                     # number of selected alignables to be kept fixed (deprecated!)
00041                     nFixAlignables = cms.int32(0), # i.e. removed from selection above...
00042 
00043                     # event input
00044                     tjTkAssociationMapTag = cms.InputTag("TrackRefitter"),
00045                     beamSpotTag           = cms.InputTag("offlineBeamSpot"),
00046                     hitPrescaleMapTag     = cms.InputTag(""), # not used if empty
00047                     # run input
00048                     tkLasBeamTag          = cms.InputTag(""), # not used if empty
00049                     
00050                     # Choose one algorithm with configuration, HIP is default
00051                     algoConfig = cms.PSet(HIPAlignmentAlgorithm), # why not by reference?
00052                     # choose monitors (default is none)
00053                     monitorConfig = cms.PSet(monitors = cms.untracked.vstring()),
00054 
00055                     # VPSet that allows splitting of Alignment parameters into various
00056                     # run ranges. The default is a run range independent Alignment
00057                     RunRangeSelection = cms.VPSet(
00058                       #cms.PSet(RunRanges = cms.vstring('-1:140400','140401:143487','143488:-1')
00059                       #         selector = cms.vstring('TrackerTPBHalfBarrel,001000',
00060                       #                                'TrackerTPEHalfDisk,111000')
00061                       #)
00062                     ),
00063 
00064                     # Save Alignment to DB: true requires configuration of PoolDBOutputService
00065                     saveToDB = cms.bool(False),            # save Alignment?
00066                     saveApeToDB = cms.bool(False),         # save APE?
00067                     saveDeformationsToDB = cms.bool(False) # save surface deformations (bows, etc.)?
00068                     )