CMS 3D CMS Logo

AlignmentProducer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # misalignment scenarios
5 
6 # algorithms
9 
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  # Some algorithms support integrated calibrations, which to use is defined
58  # by the string 'calibrationName' in the PSet of each calibration.
59  calibrations = cms.VPSet(),
60  # choose monitors (default is none)
61  monitorConfig = cms.PSet(monitors = cms.untracked.vstring()),
62 
63  # VPSet that allows splitting of alignment parameters into various
64  # run ranges. The default is a run range independent alignment
65  RunRangeSelection = cms.VPSet(
66  #cms.PSet(RunRanges = cms.vstring('-1','140401','143488')
67  # selector = cms.vstring('TrackerTPBHalfBarrel,001000',
68  # 'TrackerTPEHalfDisk,111000')
69  #)
70  ),
71 
72 
73  # Save alignment to DB: true requires configuration of PoolDBOutputService
74  saveToDB = cms.bool(False), # save alignment?
75  saveApeToDB = cms.bool(False), # save APE?
76  saveDeformationsToDB = cms.bool(False), # save surface deformations (bows, etc.)?
77 
78  # update alignables if triggered by corresponding input IOV boundary
79  enableAlignableUpdates = cms.bool(False),
80  )
81 DTGeometryAlignmentProducer = cms.ESProducer("DTGeometryESModule",
82  appendToDataLabel = cms.string('idealForAlignmentProducerBase'),
83  applyAlignment = cms.bool(False),
84  alignmentsLabel = cms.string(''),
85  fromDDD = cms.bool(True)
86 )
87 CSCGeometryAlignmentProducer = cms.ESProducer("CSCGeometryESModule",
88  appendToDataLabel = cms.string('idealForAlignmentProducerBase'),
89  debugV = cms.untracked.bool(False),
90  useGangedStripsInME1a = cms.bool(False),
91  alignmentsLabel = cms.string(''),
92  useOnlyWiresInME1a = cms.bool(False),
93  useRealWireGeometry = cms.bool(True),
94  useCentreTIOffsets = cms.bool(False),
95  applyAlignment = cms.bool(False),
96  fromDDD = cms.bool(True),
97  fromDD4hep = cms.bool(False)
98 )
Scenarios_cff
MillePedeAlignmentAlgorithm_cfi
HIPAlignmentAlgorithm_cfi
AlignmentParameterStore_cfi