CMS 3D CMS Logo

ALCARECOPromptCalibProdSiPixelAliHGDiMuon_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 TkAlZMuMu AlcaReco
6 ALCARECOTkAlZMuMuFilterForSiPixelAli = hltHighLevel.clone(
7  HLTPaths = ['pathALCARECOTkAlZMuMu'],
8  throw = True,
9  TriggerResultsTag = "TriggerResults::RECO"
10 )
11 
14 
15 # Ingredient: offlineBeamSpot
16 from RecoVertex.BeamSpotProducer.BeamSpot_cfi import offlineBeamSpot
17 
18 # Ingredient: AlignmentTrackSelector
19 # track selector for HighPurity tracks
20 #-- AlignmentTrackSelector
21 SiPixelAliHighPuritySelectorHGDimuon = SiPixelAliHighPuritySelector.clone(
22  src = 'ALCARECOTkAlZMuMu',
23  etaMax = 3.0,
24  etaMin = -3.0,
25  filter = True,
26  pMin = 8.0,
27 )
28 
29 # track selection for alignment
30 SiPixelAliTrackSelectorHGDimuon = SiPixelAliTrackSelector.clone(
31  src = 'SiPixelAliTrackFitterHGDimuon',
32  applyMultiplicityFilter = True,
33  d0Max = 50.0,
34  d0Min = -50.0,
35  etaMax = 3.0,
36  etaMin = -3.0,
37  filter = True,
38  maxMultiplicity = 2,
39  minHitChargeStrip = 20.0,
40  minHitIsolation = 0.01,
41  minMultiplicity = 2,
42  nHighestPt = 2,
43  nHitMin = 10,
44  pMin = 3.0,
45  ptMin = 15.0,
46  TwoBodyDecaySelector = dict(applyChargeFilter = True,
47  applyMassrangeFilter = True,
48  maxXMass = 95.8,
49  minXMass = 85.8),
50  minHitsPerSubDet = dict(inPIXEL = 1)
51 )
52 
53 # Ingredient: SiPixelAliTrackRefitter0
54 # refitting
55 SiPixelAliTrackRefitterHGDimuon0 = SiPixelAliTrackRefitter0.clone(
56  src = 'SiPixelAliHighPuritySelectorHGDimuon'
57 )
58 SiPixelAliTrackRefitterHGDimuon1 = SiPixelAliTrackRefitterHGDimuon0.clone(
59  src = 'SiPixelAliTrackSelectorHGDimuon'
60 )
61 
62 #-- Alignment producer
63 SiPixelAliMilleAlignmentProducerHGDimuon = SiPixelAliMilleAlignmentProducer.clone(
64  ParameterBuilder = dict(
65  Selector = cms.PSet(
66  alignParams = cms.vstring(
67  "TrackerP1PXBLadder,111111",
68  "TrackerP1PXECPanel,111111",
69  )
70  )
71  ),
72  tjTkAssociationMapTag = 'SiPixelAliTrackRefitterHGDimuon1',
73  algoConfig = MillePedeAlignmentAlgorithm.clone(
74  binaryFile = 'milleBinaryHGDimuon_0.dat',
75  treeFile = 'treeFileHGDimuon.root',
76  monitorFile = 'millePedeMonitorHGDimuon.root',
77  minNumHits = 8,
78  skipGlobalPositionRcdCheck = True,
79  TrajectoryFactory = cms.PSet(
80  AllowZeroMaterial = cms.bool(False),
81  Chi2Cut = cms.double(10000.0),
82  ConstructTsosWithErrors = cms.bool(False),
83  EstimatorParameters = cms.PSet(
84  MaxIterationDifference = cms.untracked.double(0.01),
85  MaxIterations = cms.untracked.int32(100),
86  RobustificationConstant = cms.untracked.double(1.0),
87  UseInvariantMass = cms.untracked.bool(True)
88  ),
89  IncludeAPEs = cms.bool(False),
90  MaterialEffects = cms.string('LocalGBL'),
91  NSigmaCut = cms.double(100.0),
92  ParticleProperties = cms.PSet(
93  PrimaryMass = cms.double(91.1061),
94  PrimaryWidth = cms.double(1.7678),
95  SecondaryMass = cms.double(0.105658)
96  ),
97  PropagationDirection = cms.string('alongMomentum'),
98  TrajectoryFactoryName = cms.string('TwoBodyDecayTrajectoryFactory'),
99  UseBeamSpot = cms.bool(False),
100  UseHitWithoutDet = cms.bool(True),
101  UseInvalidHits = cms.bool(True),
102  UseProjectedHits = cms.bool(True),
103  UseRefittedState = cms.bool(True)
104  )
105  )
106 )
107 
108 # Ingredient: SiPixelAliTrackerTrackHitFilter
109 SiPixelAliTrackerTrackHitFilterHGDimuon = SiPixelAliTrackerTrackHitFilter.clone(
110  src = 'SiPixelAliTrackRefitterHGDimuon0',
111  TrackAngleCut = 0.087,
112  minimumHits = 10
113 )
114 
115 # Ingredient: SiPixelAliSiPixelAliTrackFitter
116 SiPixelAliTrackFitterHGDimuon = SiPixelAliTrackFitter.clone(
117  src = 'SiPixelAliTrackerTrackHitFilterHGDimuon'
118 )
119 
120 SiPixelAliMillePedeFileConverterHGDimuon = cms.EDProducer("MillePedeFileConverter",
121  fileDir = cms.string(SiPixelAliMilleAlignmentProducerHGDimuon.algoConfig.fileDir.value()),
122  inputBinaryFile = cms.string(SiPixelAliMilleAlignmentProducerHGDimuon.algoConfig.binaryFile.value()),
123  fileBlobLabel = cms.string(''))
124 
125 seqALCARECOPromptCalibProdSiPixelAliHGDiMu = cms.Sequence(ALCARECOTkAlZMuMuFilterForSiPixelAli*
126  lsNumberFilter*
127  offlineBeamSpot*
128  SiPixelAliHighPuritySelectorHGDimuon*
129  SiPixelAliTrackRefitterHGDimuon0*
130  SiPixelAliTrackerTrackHitFilterHGDimuon*
131  SiPixelAliTrackFitterHGDimuon*
132  SiPixelAliTrackSelectorHGDimuon*
133  SiPixelAliTrackRefitterHGDimuon1*
134  SiPixelAliMilleAlignmentProducerHGDimuon*
135  SiPixelAliMillePedeFileConverterHGDimuon)