CMS 3D CMS Logo

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