CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/Alignment/CommonAlignmentProducer/python/AlignmentProducer_cff.py

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