CMS 3D CMS Logo

AlcaSiPixelAliHarvester_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import copy
3 
4 SiPixelAliMilleFileExtractor = cms.EDAnalyzer("MillePedeFileExtractor",
5  fileBlobInputTag = cms.InputTag("SiPixelAliMillePedeFileConverter",''),
6  # File names the Extractor will use to write the fileblobs in the root
7  # file as real binary files to disk, so that the pede step can read them.
8  # This includes the formatting directive "%04d" which will be expanded to
9  # 0000, 0001, 0002,...
10  outputBinaryFile = cms.string('pedeBinary%04d.dat'))
11 
13 from Alignment.CommonAlignmentProducer.AlignmentProducerAsAnalyzer_cff import AlignmentProducer
14 SiPixelAliPedeAlignmentProducer = copy.deepcopy(AlignmentProducer)
15 
17 
18 
19 SiPixelAliPedeAlignmentProducer.ParameterBuilder.Selector = cms.PSet(
20  alignParams = cms.vstring(
21  "PixelHalfBarrels,111111",
22  "PXECHalfCylinders,111111",
23  )
24  )
25 
26 SiPixelAliPedeAlignmentProducer.doMisalignmentScenario = False #True
27 
28 SiPixelAliPedeAlignmentProducer.checkDbAlignmentValidity = False
29 SiPixelAliPedeAlignmentProducer.applyDbAlignment = True
30 SiPixelAliPedeAlignmentProducer.tjTkAssociationMapTag = 'TrackRefitter2'
31 
32 SiPixelAliPedeAlignmentProducer.algoConfig = MillePedeAlignmentAlgorithm
33 SiPixelAliPedeAlignmentProducer.algoConfig.mode = 'pede'
34 SiPixelAliPedeAlignmentProducer.algoConfig.runAtPCL = True
35 SiPixelAliPedeAlignmentProducer.algoConfig.mergeBinaryFiles = [SiPixelAliMilleFileExtractor.outputBinaryFile.value()]
36 SiPixelAliPedeAlignmentProducer.algoConfig.binaryFile = ''
37 SiPixelAliPedeAlignmentProducer.algoConfig.TrajectoryFactory = cms.PSet(
38  #process.BrokenLinesBzeroTrajectoryFactory
39  BrokenLinesTrajectoryFactory
40  )
41 SiPixelAliPedeAlignmentProducer.algoConfig.pedeSteerer.pedeCommand = 'pede'
42 SiPixelAliPedeAlignmentProducer.algoConfig.pedeSteerer.method = 'inversion 5 0.8'
43 SiPixelAliPedeAlignmentProducer.algoConfig.pedeSteerer.options = cms.vstring(
44  #'regularisation 1.0 0.05', # non-stated pre-sigma 50 mrad or 500 mum
45  'entries 500',
46  'chisqcut 30.0 4.5',
47  'threads 1 1',
48  'closeandreopen'
49  #'outlierdownweighting 3','dwfractioncut 0.1'
50  #'outlierdownweighting 5','dwfractioncut 0.2'
51  )
52 SiPixelAliPedeAlignmentProducer.algoConfig.minNumHits = 10
53 SiPixelAliPedeAlignmentProducer.saveToDB = True
54 
55 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
56 dqmEnvSiPixelAli = DQMEDHarvester('DQMHarvestingMetadata',
57  subSystemFolder = cms.untracked.string('AlCaReco'),
58  )
59 
60 ALCAHARVESTSiPixelAli = cms.Sequence(SiPixelAliMilleFileExtractor*
61  SiPixelAliPedeAlignmentProducer*
62  SiPixelAliDQMModule*
63  dqmEnvSiPixelAli)
MillePedeAlignmentAlgorithm_cfi
MillePedeDQMModule_cff
DQMEDHarvester
Definition: DQMEDHarvester.py:1