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 import Geometry.TrackerGeometryBuilder.trackerGeometryConstants_cfi as trackerGeometryConstants_cfi
3 
4 # misalignment scenarios
6 
7 # algorithms
11 # parameters
13 
14 looper = cms.Looper("AlignmentProducer",
15  AlignmentParameterStore, # configuration of AlignmentParameterStore
16  maxLoops = cms.untracked.uint32(1),
17  doTracker = cms.untracked.bool(True),
18  doMuon = cms.untracked.bool(False),
19  useExtras = cms.untracked.bool(False),
20  # Read survey info from DB: true requires configuration of PoolDBESSource
21  # See Alignment/SurveyAnalysis/test/readDB.cfg for an example
22  useSurvey = cms.bool(False),
23 
24  # (Mis-)alignment including surface deformations from database
25  # true requires configuration of PoolDBESSource
26  applyDbAlignment = cms.untracked.bool(False),
27 
28  # Checks the IOV of the alignment to be applied. Only has an effect
29  # if applyDbAlignment is True as well. If set to True, the alignment
30  # record to be applied is expected to have a validity from 1 to INF
31  checkDbAlignmentValidity = cms.untracked.bool(True),
32 
33  # misalignment scenario
34  MisalignmentScenario = cms.PSet(NoMovementsScenario), # why not by reference?
35  doMisalignmentScenario = cms.bool(False),
36  # simple misalignment of selected alignables and selected dof (deprecated!)
37  randomShift = cms.double(0.0),
38  randomRotation = cms.double(0.0),
39  parameterSelectorSimple = cms.string('-1'),
40 
41  # selection of alignables and their parameters
42  # see twiki: SWGuideAlignmentAlgorithms
43  ParameterBuilder = cms.PSet(parameterTypes = cms.vstring('Selector,RigidBody'),
44  Selector = cms.PSet(alignParams = cms.vstring('PixelHalfBarrelLayers,111000'))
45  ),
46  # number of selected alignables to be kept fixed (deprecated!)
47  nFixAlignables = cms.int32(0), # i.e. removed from selection above...
48 
49  # event input
50  tjTkAssociationMapTag = cms.InputTag("TrackRefitter"),
51  beamSpotTag = cms.InputTag("offlineBeamSpot"),
52  hitPrescaleMapTag = cms.InputTag(""), # not used if empty
53  # run input
54  tkLasBeamTag = cms.InputTag(""), # not used if empty
55 
56  # Choose one algorithm with configuration, HIP is default
57  algoConfig = cms.PSet(HIPAlignmentAlgorithm), # why not by reference?
58  # Some algorithms support integrated calibrations, which to use is defined
59  # by the string 'calibrationName' in the PSet of each calibration.
60  calibrations = cms.VPSet(),
61  # choose monitors (default is none)
62  monitorConfig = cms.PSet(monitors = cms.untracked.vstring()),
63 
64  # VPSet that allows splitting of alignment parameters into various
65  # run ranges. The default is a run range independent alignment
66  RunRangeSelection = cms.VPSet(
67  #cms.PSet(RunRanges = cms.vstring('-1','140401','143488')
68  # selector = cms.vstring('TrackerTPBHalfBarrel,001000',
69  # 'TrackerTPEHalfDisk,111000')
70  #)
71  ),
72 
73  # Tracker constants: different for SLHC pixel topology
74  trackerGeometryConstants = cms.PSet(trackerGeometryConstants_cfi.trackerGeometryConstants),
75 
76  # Save alignment to DB: true requires configuration of PoolDBOutputService
77  saveToDB = cms.bool(False), # save alignment?
78  saveApeToDB = cms.bool(False), # save APE?
79  saveDeformationsToDB = cms.bool(False) # save surface deformations (bows, etc.)?
80  )