CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/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                     # Checks the IOV of the Alignment to be applied. Only has an effect
00028                     # if applyDbAlignment is True as well. If set to True, the Alignment
00029                     # record to be applied is expected to have a validity from 1 to INF
00030                     checkDbAlignmentValidity = cms.untracked.bool(True),
00031 
00032                     # misalignment scenario
00033                     MisalignmentScenario = cms.PSet(NoMovementsScenario), # why not by reference?
00034                     doMisalignmentScenario = cms.bool(False),
00035                     # simple misalignment of selected alignables and selected dof (deprecated!)
00036                     randomShift = cms.double(0.0),
00037                     randomRotation = cms.double(0.0),
00038                     parameterSelectorSimple = cms.string('-1'),
00039                     
00040                     # selection of alignables and their parameters
00041                     # see twiki: SWGuideAlignmentAlgorithms
00042                     ParameterBuilder = cms.PSet(parameterTypes = cms.vstring('Selector,RigidBody'),
00043                                                 Selector = cms.PSet(alignParams = cms.vstring('PixelHalfBarrelLayers,111000'))
00044                                                 ),
00045                     # number of selected alignables to be kept fixed (deprecated!)
00046                     nFixAlignables = cms.int32(0), # i.e. removed from selection above...
00047 
00048                     # event input
00049                     tjTkAssociationMapTag = cms.InputTag("TrackRefitter"),
00050                     beamSpotTag           = cms.InputTag("offlineBeamSpot"),
00051                     hitPrescaleMapTag     = cms.InputTag(""), # not used if empty
00052                     # run input
00053                     tkLasBeamTag          = cms.InputTag(""), # not used if empty
00054                     
00055                     # Choose one algorithm with configuration, HIP is default
00056                     algoConfig = cms.PSet(HIPAlignmentAlgorithm), # why not by reference?
00057                     # choose monitors (default is none)
00058                     monitorConfig = cms.PSet(monitors = cms.untracked.vstring()),
00059 
00060                     # VPSet that allows splitting of Alignment parameters into various
00061                     # run ranges. The default is a run range independent Alignment
00062                     RunRangeSelection = cms.VPSet(
00063                       #cms.PSet(RunRanges = cms.vstring('-1','140401','143488')
00064                       #         selector = cms.vstring('TrackerTPBHalfBarrel,001000',
00065                       #                                'TrackerTPEHalfDisk,111000')
00066                       #)
00067                     ),
00068 
00069                     # Save Alignment to DB: true requires configuration of PoolDBOutputService
00070                     saveToDB = cms.bool(False),            # save Alignment?
00071                     saveApeToDB = cms.bool(False),         # save APE?
00072                     saveDeformationsToDB = cms.bool(False) # save surface deformations (bows, etc.)?
00073                     )