CMS 3D CMS Logo

ALCARECOPromptCalibProdSiPixelAliHG_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # ------------------------------------------------------------------------------
4 # configure a filter to run only on the events selected by TkAlMinBias AlcaReco
6 ALCARECOTkAlMinBiasFilterForSiPixelAliHG = ALCARECOTkAlMinBiasFilterForSiPixelAli.clone()
7 
8 
10 
11 # Ingredient: offlineBeamSpot
12 from RecoVertex.BeamSpotProducer.BeamSpot_cfi import offlineBeamSpot
13 
14 # Ingredient: AlignmentTrackSelector
15 # track selector for HighPurity tracks
16 #-- AlignmentTrackSelector
17 SiPixelAliHighPuritySelectorHG = SiPixelAliHighPuritySelector.clone()
18 
19 # track selection for alignment
20 SiPixelAliTrackSelectorHG = SiPixelAliTrackSelector.clone(
21  src = 'SiPixelAliTrackFitterHG'
22 )
23 
24 # Ingredient: SiPixelAliTrackRefitter0
25 # refitting
26 SiPixelAliTrackRefitterHG0 = SiPixelAliTrackRefitter0.clone(
27  src = 'SiPixelAliHighPuritySelectorHG'
28 )
29 SiPixelAliTrackRefitterHG1 = SiPixelAliTrackRefitterHG0.clone(
30  src = 'SiPixelAliTrackSelectorHG'
31 )
32 
33 #-- Alignment producer
34 SiPixelAliMilleAlignmentProducerHG = SiPixelAliMilleAlignmentProducer.clone(
35  ParameterBuilder = dict(
36  Selector = cms.PSet(
37  alignParams = cms.vstring(
38  "TrackerP1PXBLadder,111111",
39  "TrackerP1PXECPanel,111111",
40  )
41  )
42  ),
43  tjTkAssociationMapTag = 'SiPixelAliTrackRefitterHG1',
44  algoConfig = MillePedeAlignmentAlgorithm.clone(
45  binaryFile = 'milleBinaryHG_0.dat',
46  treeFile = 'treeFileHG.root',
47  monitorFile = 'millePedeMonitorHG.root'
48  )
49 )
50 
51 # Ingredient: SiPixelAliTrackerTrackHitFilter
52 SiPixelAliTrackerTrackHitFilterHG = SiPixelAliTrackerTrackHitFilter.clone(
53  src = 'SiPixelAliTrackRefitterHG0'
54 )
55 
56 # Ingredient: SiPixelAliSiPixelAliTrackFitter
57 SiPixelAliTrackFitterHG = SiPixelAliTrackFitter.clone(
58  src = 'SiPixelAliTrackerTrackHitFilterHG'
59 )
60 
61 SiPixelAliMillePedeFileConverterHG = cms.EDProducer("MillePedeFileConverter",
62  fileDir = cms.string(SiPixelAliMilleAlignmentProducerHG.algoConfig.fileDir.value()),
63  inputBinaryFile = cms.string(SiPixelAliMilleAlignmentProducerHG.algoConfig.binaryFile.value()),
64  fileBlobLabel = cms.string(''))
65 
66 seqALCARECOPromptCalibProdSiPixelAliHG = cms.Sequence(ALCARECOTkAlMinBiasFilterForSiPixelAliHG*
67  lsNumberFilter*
68  offlineBeamSpot*
69  SiPixelAliHighPuritySelectorHG*
70  SiPixelAliTrackRefitterHG0*
71  SiPixelAliTrackerTrackHitFilterHG*
72  SiPixelAliTrackFitterHG*
73  SiPixelAliTrackSelectorHG*
74  SiPixelAliTrackRefitterHG1*
75  SiPixelAliMilleAlignmentProducerHG*
76  SiPixelAliMillePedeFileConverterHG)