CMS 3D CMS Logo

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