CMS 3D CMS Logo

AlignmentProducer_cff.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 # can add more:
00004 import FWCore.ParameterSet.Config as cms
00005 
00006 # misalignment scenarios
00007 from Alignment.TrackerAlignment.Scenarios_cff import *
00008 #  replace TrackerShortTermScenario.TPBs.scale = 10.
00009 #  replace TrackerShortTermScenario.TPEs.scale = 10.
00010 # algorithms
00011 from Alignment.hIPAlignmentAlgorithm.HIPAlignmentAlgorithm_cfi import *
00012 from Alignment.millePedeAlignmentAlgorithm.MillePedeAlignmentAlgorithm_cfi import *
00013 from Alignment.kalmanAlignmentAlgorithm.KalmanAlignmentAlgorithm_cfi import *
00014 # parameters
00015 from Alignment.CommonAlignmentAlgorithm.AlignmentParameterStore_cfi import *
00016 looper = cms.Looper("AlignmentProducer",
00017     # include configuration for alignmentParameterStore
00018     alignmentParameterStore,
00019     # Save alignment corrections to DB: if true, requires configuration of PoolDBOutputService
00020     # See DBConfiguration.cff for an example
00021     saveToDB = cms.bool(False),
00022     doMuon = cms.untracked.bool(False),
00023     MisalignmentScenario = cms.PSet(
00024         NoMovementsScenario
00025     ),
00026     # number of selected alignables to be kept fixed
00027     nFixAlignables = cms.int32(0),
00028     # Misalignment from database: if true, requires configuration of PoolDBESSource
00029     # See DBConfiguration.cff for an example
00030     applyDbAlignment = cms.untracked.bool(False),
00031     monitorConfig = cms.PSet(
00032         monitors = cms.untracked.vstring()
00033     ),
00034     maxLoops = cms.untracked.uint32(1),
00035     # Choose one algorithm
00036     algoConfig = cms.PSet(
00037         hIPAlignmentAlgorithm
00038     ),
00039     ParameterBuilder = cms.PSet(
00040         Selector = cms.PSet(
00041             # selection of alignables and their parameters:
00042             # comma separated pairs of detector parts/levels as defined in AlinmentParameterSelector
00043             # (note special meaning if the string contains "SS" or "DS" or ends with "Layers"
00044             # followed by two digits)
00045             # and of d.o.f. to be aligned (x,y,z,alpha,beta,gamma) in local frame:
00046             # '0' means: deselect, '1' select. Others as 1, but might be interpreted in a special
00047             # way in the used algorithm (e.g. 'f' means fixed for millepede)
00048             alignParams = cms.vstring('PixelHalfBarrelLayers,111000')
00049         )
00050     ),
00051     # simple misalignment applied to selected alignables and selected dof
00052     parameterSelectorSimple = cms.string('-1'),
00053     randomShift = cms.double(0.0),
00054     doTracker = cms.untracked.bool(True),
00055     # misalignment scenario
00056     doMisalignmentScenario = cms.bool(False),
00057     randomRotation = cms.double(0.0),
00058     tjTkAssociationMapTag = cms.InputTag("TrackRefitter"),
00059     # Read survey info from DB: if true, requires configuration of PoolDBESSource
00060     # See Alignment/SurveyAnalysis/test/readDB.cfg for an example
00061     useSurvey = cms.bool(False)
00062 )
00063 
00064 

Generated on Tue Jun 9 17:24:01 2009 for CMSSW by  doxygen 1.5.4