CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlignmentProducer_cff.py
Go to the documentation of this file.
2 
3 # misalignment scenarios
5 
6 # algorithms
10 # parameters
12 
13 looper = cms.Looper("AlignmentProducer",
14  AlignmentParameterStore, # configuration of AlignmentParameterStore
15  maxLoops = cms.untracked.uint32(1),
16  doTracker = cms.untracked.bool(True),
17  doMuon = cms.untracked.bool(False),
18  useExtras = cms.untracked.bool(False),
19  # Read survey info from DB: true requires configuration of PoolDBESSource
20  # See Alignment/SurveyAnalysis/test/readDB.cfg for an example
21  useSurvey = cms.bool(False),
22 
23  # (Mis-)alignment including surface deformations from database
24  # true requires configuration of PoolDBESSource
25  applyDbAlignment = cms.untracked.bool(False),
26 
27  # Checks the IOV of the alignment to be applied. Only has an effect
28  # if applyDbAlignment is True as well. If set to True, the alignment
29  # record to be applied is expected to have a validity from 1 to INF
30  checkDbAlignmentValidity = cms.untracked.bool(True),
31 
32  # misalignment scenario
33  MisalignmentScenario = cms.PSet(NoMovementsScenario), # why not by reference?
34  doMisalignmentScenario = cms.bool(False),
35  # simple misalignment of selected alignables and selected dof (deprecated!)
36  randomShift = cms.double(0.0),
37  randomRotation = cms.double(0.0),
38  parameterSelectorSimple = cms.string('-1'),
39 
40  # selection of alignables and their parameters
41  # see twiki: SWGuideAlignmentAlgorithms
42  ParameterBuilder = cms.PSet(parameterTypes = cms.vstring('Selector,RigidBody'),
43  Selector = cms.PSet(alignParams = cms.vstring('PixelHalfBarrelLayers,111000'))
44  ),
45  # number of selected alignables to be kept fixed (deprecated!)
46  nFixAlignables = cms.int32(0), # i.e. removed from selection above...
47 
48  # event input
49  tjTkAssociationMapTag = cms.InputTag("TrackRefitter"),
50  beamSpotTag = cms.InputTag("offlineBeamSpot"),
51  hitPrescaleMapTag = cms.InputTag(""), # not used if empty
52  # run input
53  tkLasBeamTag = cms.InputTag(""), # not used if empty
54 
55  # Choose one algorithm with configuration, HIP is default
56  algoConfig = cms.PSet(HIPAlignmentAlgorithm), # why not by reference?
57  # choose monitors (default is none)
58  monitorConfig = cms.PSet(monitors = cms.untracked.vstring()),
59 
60  # VPSet that allows splitting of alignment parameters into various
61  # run ranges. The default is a run range independent alignment
62  RunRangeSelection = cms.VPSet(
63  #cms.PSet(RunRanges = cms.vstring('-1','140401','143488')
64  # selector = cms.vstring('TrackerTPBHalfBarrel,001000',
65  # 'TrackerTPEHalfDisk,111000')
66  #)
67  ),
68 
69  # Save alignment to DB: true requires configuration of PoolDBOutputService
70  saveToDB = cms.bool(False), # save alignment?
71  saveApeToDB = cms.bool(False), # save APE?
72  saveDeformationsToDB = cms.bool(False) # save surface deformations (bows, etc.)?
73  )