CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/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 from database: true requires configuration of PoolDBESSource
00024                     applyDbAlignment = cms.untracked.bool(False),
00025                     # apply surface deformations from database: true requires configuration of PoolDBESSource
00026                     applyDbDeformations = cms.untracked.bool(False),
00027                     
00028                     # misalignment scenario
00029                     MisalignmentScenario = cms.PSet(NoMovementsScenario), # why not by reference?
00030                     doMisalignmentScenario = cms.bool(False),
00031                     # simple misalignment of selected alignables and selected dof (deprecated!)
00032                     randomShift = cms.double(0.0),
00033                     randomRotation = cms.double(0.0),
00034                     parameterSelectorSimple = cms.string('-1'),
00035                     
00036                     # selection of alignables and their parameters
00037                     # see twiki: SWGuideAlignmentAlgorithms
00038                     ParameterBuilder = cms.PSet(parameterTypes = cms.vstring('Selector,RigidBody'),
00039                                                 Selector = cms.PSet(alignParams = cms.vstring('PixelHalfBarrelLayers,111000'))
00040                                                 ),
00041                     # number of selected alignables to be kept fixed (deprecated!)
00042                     nFixAlignables = cms.int32(0), # i.e. removed from selection above...
00043 
00044                     # event input
00045                     tjTkAssociationMapTag = cms.InputTag("TrackRefitter"),
00046                     beamSpotTag           = cms.InputTag("offlineBeamSpot"),
00047                     hitPrescaleMapTag     = cms.InputTag(""), # not used if empty
00048                     # run input
00049                     tkLasBeamTag          = cms.InputTag(""), # not used if empty
00050                     
00051                     # Choose one algorithm with configuration, HIP is default
00052                     algoConfig = cms.PSet(HIPAlignmentAlgorithm), # why not by reference?
00053                     # choose monitors (default is none)
00054                     monitorConfig = cms.PSet(monitors = cms.untracked.vstring()),
00055 
00056                     # Save Alignment to DB: true requires configuration of PoolDBOutputService
00057                     saveToDB = cms.bool(False),            # save Alignment?
00058                     saveApeToDB = cms.bool(False),         # save APE?
00059                     saveDeformationsToDB = cms.bool(False) # save surface deformations (bows, etc.)?
00060                     )
00061 
00062