Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:16

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # misalignment scenarios
0004 from Alignment.TrackerAlignment.Scenarios_cff import *
0005 
0006 # algorithms
0007 from Alignment.HIPAlignmentAlgorithm.HIPAlignmentAlgorithm_cfi import *
0008 from Alignment.MillePedeAlignmentAlgorithm.MillePedeAlignmentAlgorithm_cfi import *
0009 
0010 # parameters
0011 from Alignment.CommonAlignmentAlgorithm.AlignmentParameterStore_cfi import *
0012 
0013 looper = cms.Looper("AlignmentProducer",
0014                     AlignmentParameterStore, # configuration of AlignmentParameterStore
0015                     maxLoops = cms.untracked.uint32(1),
0016                     doTracker = cms.untracked.bool(True),
0017                     doMuon = cms.untracked.bool(False),
0018                     useExtras = cms.untracked.bool(False),
0019                     # Read survey info from DB: true requires configuration of PoolDBESSource
0020                     # See Alignment/SurveyAnalysis/test/readDB.cfg for an example
0021                     useSurvey = cms.bool(False),
0022                     
0023                     # (Mis-)alignment including surface deformations from database
0024                     # true requires configuration of PoolDBESSource
0025                     applyDbAlignment = cms.untracked.bool(False),
0026                                         
0027                     # Checks the IOV of the alignment to be applied. Only has an effect
0028                     # if applyDbAlignment is True as well. If set to True, the alignment
0029                     # record to be applied is expected to have a validity from 1 to INF
0030                     checkDbAlignmentValidity = cms.untracked.bool(True),
0031 
0032                     # misalignment scenario
0033                     MisalignmentScenario = cms.PSet(NoMovementsScenario), # why not by reference?
0034                     doMisalignmentScenario = cms.bool(False),
0035                     # simple misalignment of selected alignables and selected dof (deprecated!)
0036                     randomShift = cms.double(0.0),
0037                     randomRotation = cms.double(0.0),
0038                     parameterSelectorSimple = cms.string('-1'),
0039                     
0040                     # selection of alignables and their parameters
0041                     # see twiki: SWGuideAlignmentAlgorithms
0042                     ParameterBuilder = cms.PSet(parameterTypes = cms.vstring('Selector,RigidBody'),
0043                                                 Selector = cms.PSet(alignParams = cms.vstring('PixelHalfBarrelLayers,111000'))
0044                                                 ),
0045                     # number of selected alignables to be kept fixed (deprecated!)
0046                     nFixAlignables = cms.int32(0), # i.e. removed from selection above...
0047 
0048                     # event input
0049                     tjTkAssociationMapTag = cms.InputTag("TrackRefitter"),
0050                     beamSpotTag           = cms.InputTag("offlineBeamSpot"),
0051                     hitPrescaleMapTag     = cms.InputTag(""), # not used if empty
0052                     # run input
0053                     tkLasBeamTag          = cms.InputTag(""), # not used if empty
0054                     
0055                     # Choose one algorithm with configuration, HIP is default
0056                     algoConfig = cms.PSet(HIPAlignmentAlgorithm), # why not by reference?
0057                     # Some algorithms support integrated calibrations, which to use is defined
0058                     # by the string 'calibrationName' in the PSet of each calibration.
0059                     calibrations = cms.VPSet(),
0060                     # choose monitors (default is none)
0061                     monitorConfig = cms.PSet(monitors = cms.untracked.vstring()),
0062 
0063                     # VPSet that allows splitting of alignment parameters into various
0064                     # run ranges. The default is a run range independent alignment
0065                     RunRangeSelection = cms.VPSet(
0066                       #cms.PSet(RunRanges = cms.vstring('-1','140401','143488')
0067                       #         selector = cms.vstring('TrackerTPBHalfBarrel,001000',
0068                       #                                'TrackerTPEHalfDisk,111000')
0069                       #)
0070                     ),
0071 
0072 
0073                     # Save alignment to DB: true requires configuration of PoolDBOutputService
0074                     saveToDB = cms.bool(False),             # save alignment?
0075                     saveApeToDB = cms.bool(False),          # save APE?
0076                     saveDeformationsToDB = cms.bool(False), # save surface deformations (bows, etc.)?
0077 
0078                     # update alignables if triggered by corresponding input IOV boundary
0079                     enableAlignableUpdates = cms.bool(False),
0080 
0081                     # Change tracker alignment record name to avoid confusion bettwen HG and LG PCL alignment
0082                     trackerAlignmentRcdName = cms.string("TrackerAlignmentRcd")
0083                     )
0084 
0085 import Geometry.DTGeometryBuilder.dtGeometryDB_cfi
0086 DTGeometryAlignmentProducerAsAnalyzer = Geometry.DTGeometryBuilder.dtGeometryDB_cfi.DTGeometryESModule.clone()
0087 DTGeometryAlignmentProducerAsAnalyzer.appendToDataLabel = 'idealForAlignmentProducerBase'
0088 import Geometry.CSCGeometryBuilder.cscGeometryDB_cfi
0089 CSCGeometryAlignmentProducerAsAnalyzer = Geometry.CSCGeometryBuilder.cscGeometryDB_cfi.CSCGeometryESModule.clone()
0090 CSCGeometryAlignmentProducerAsAnalyzer.appendToDataLabel = 'idealForAlignmentProducerBase'
0091 import   Geometry.GEMGeometryBuilder.gemGeometryDB_cfi
0092 GEMGeometryAlignmentProducerAsAnalyzer = Geometry.GEMGeometryBuilder.gemGeometryDB_cfi.GEMGeometryESModule.clone()
0093 GEMGeometryAlignmentProducerAsAnalyzer.appendToDataLabel = 'idealForAlignmentProducerBase'