CMS 3D CMS Logo

ALCARECOSiStripCalSmallBiasScan_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Set the HLT paths
5 ALCARECOSiStripCalSmallBiasScanHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True,
7  eventSetupPathsKey = 'SiStripCalSmallBiasScan',
8  throw = False # tolerate triggers stated above, but not available
9  )
10 
11 # Select only events where tracker had HV on (according to DCS bit information)
12 # AND respective partition is in the run (according to FED information)
13 import CalibTracker.SiStripCommon.SiStripDCSFilter_cfi
14 DCSStatusForSiStripCalSmallBiasScan = CalibTracker.SiStripCommon.SiStripDCSFilter_cfi.siStripDCSFilter.clone()
15 
20 
21 
24 ALCARECOSiStripCalSmallBiasScanTracksRefit = TrackRefitter.clone(src = cms.InputTag("generalTracks"),
25  NavigationSchool = cms.string("")
26  )
27 
28 
31 import Calibration.TkAlCaRecoProducers.CalibrationTrackSelectorFromDetIdList_cfi as TrackSelectorFromDetIdList
32 ALCARECOSiStripCalSmallBiasScanSelectedTracks = TrackSelectorFromDetIdList.CalibrationTrackSelectorFromDetIdList.clone(Input= cms.InputTag("ALCARECOSiStripCalSmallBiasScanTracksRefit"),
33  selections=cms.VPSet(
34  cms.PSet(detSelection = cms.uint32(1), detLabel = cms.string("TIB - 1.2.2.1") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x16005865")),
35  cms.PSet(detSelection = cms.uint32(2), detLabel = cms.string("TIB - 1.2.2.1") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x16005866")),
36  cms.PSet(detSelection = cms.uint32(3), detLabel = cms.string("TIB - 1.2.2.1") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x16005869")),
37  cms.PSet(detSelection = cms.uint32(4), detLabel = cms.string("TIB - 1.2.2.1") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1600586a")),
38  cms.PSet(detSelection = cms.uint32(5), detLabel = cms.string("TIB - 1.2.2.1") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1600586d")),
39  cms.PSet(detSelection = cms.uint32(6), detLabel = cms.string("TIB - 1.2.2.1") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1600586e")),
40  cms.PSet(detSelection = cms.uint32(7), detLabel = cms.string("TIB + 1.6.2.5") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x160069e5")),
41  cms.PSet(detSelection = cms.uint32(8), detLabel = cms.string("TIB + 1.6.2.5") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x160069e6")),
42  cms.PSet(detSelection = cms.uint32(9), detLabel = cms.string("TIB + 1.6.2.5") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x160069e9")),
43  cms.PSet(detSelection = cms.uint32(10),detLabel = cms.string("TIB + 1.6.2.5") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x160069ea")),
44  cms.PSet(detSelection = cms.uint32(11),detLabel = cms.string("TIB + 1.6.2.5") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x160069ed")),
45  cms.PSet(detSelection = cms.uint32(12),detLabel = cms.string("TIB + 1.6.2.5") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x160069ee")),
46  cms.PSet(detSelection = cms.uint32(13),detLabel = cms.string("TOB + 1.3.1.6") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0062c5")),
47  cms.PSet(detSelection = cms.uint32(14),detLabel = cms.string("TOB + 1.3.1.6") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0062c6")),
48  cms.PSet(detSelection = cms.uint32(15),detLabel = cms.string("TOB + 1.3.1.6") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0062c9")),
49  cms.PSet(detSelection = cms.uint32(16),detLabel = cms.string("TOB + 1.3.1.6") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0062ca")),
50  cms.PSet(detSelection = cms.uint32(17),detLabel = cms.string("TOB + 1.3.1.6") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0062cd")),
51  cms.PSet(detSelection = cms.uint32(18),detLabel = cms.string("TOB + 1.3.1.6") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0062ce")),
52  cms.PSet(detSelection = cms.uint32(19),detLabel = cms.string("TOB + 1.3.1.6") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0062d1")),
53  cms.PSet(detSelection = cms.uint32(20),detLabel = cms.string("TOB + 1.3.1.6") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0062d2")),
54  cms.PSet(detSelection = cms.uint32(21),detLabel = cms.string("TOB + 1.3.1.6") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0062d5")),
55  cms.PSet(detSelection = cms.uint32(22),detLabel = cms.string("TOB + 1.3.1.6") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0062d6")),
56  cms.PSet(detSelection = cms.uint32(23),detLabel = cms.string("TOB + 1.3.1.6") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0062d9")),
57  cms.PSet(detSelection = cms.uint32(24),detLabel = cms.string("TOB + 1.3.1.6") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0062da")),
58  cms.PSet(detSelection = cms.uint32(25),detLabel = cms.string("TOB + 4.3.3.8") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0120a4")),
59  cms.PSet(detSelection = cms.uint32(26),detLabel = cms.string("TOB + 4.3.3.8") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0120a8")),
60  cms.PSet(detSelection = cms.uint32(27),detLabel = cms.string("TOB + 4.3.3.8") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0120ac")),
61  cms.PSet(detSelection = cms.uint32(28),detLabel = cms.string("TOB + 4.3.3.8") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0120b0")),
62  cms.PSet(detSelection = cms.uint32(29),detLabel = cms.string("TOB + 4.3.3.8") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0120b4")),
63  cms.PSet(detSelection = cms.uint32(30),detLabel = cms.string("TOB + 4.3.3.8") ,selection=cms.untracked.vstring("0x1FFFFFFF-0x1a0120b8")),
64  cms.PSet(detSelection = cms.uint32(31),detLabel = cms.string("TEC - 3.7.1.1.2"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e464")),
65  cms.PSet(detSelection = cms.uint32(32),detLabel = cms.string("TEC - 3.7.1.1.2"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e468")),
66  cms.PSet(detSelection = cms.uint32(33),detLabel = cms.string("TEC - 3.7.1.1.2"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e46c")),
67  cms.PSet(detSelection = cms.uint32(34),detLabel = cms.string("TEC - 3.7.1.1.2"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e484")),
68  cms.PSet(detSelection = cms.uint32(35),detLabel = cms.string("TEC - 3.7.1.1.2"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e488")),
69  cms.PSet(detSelection = cms.uint32(36),detLabel = cms.string("TEC - 3.7.1.1.2"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e48c")),
70  cms.PSet(detSelection = cms.uint32(37),detLabel = cms.string("TEC - 3.7.1.1.2"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e490")),
71  cms.PSet(detSelection = cms.uint32(38),detLabel = cms.string("TEC - 3.7.1.1.2"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4c4")),
72  cms.PSet(detSelection = cms.uint32(39),detLabel = cms.string("TEC - 3.7.1.1.2"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4c8")),
73  cms.PSet(detSelection = cms.uint32(40),detLabel = cms.string("TEC - 3.7.1.1.2"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4cc")),
74  cms.PSet(detSelection = cms.uint32(41),detLabel = cms.string("TEC - 3.7.1.1.2"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4d0")),
75  cms.PSet(detSelection = cms.uint32(42),detLabel = cms.string("TEC - 3.7.1.1.3"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4a5")),
76  cms.PSet(detSelection = cms.uint32(43),detLabel = cms.string("TEC - 3.7.1.1.3"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4a6")),
77  cms.PSet(detSelection = cms.uint32(44),detLabel = cms.string("TEC - 3.7.1.1.3"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4a9")),
78  cms.PSet(detSelection = cms.uint32(45),detLabel = cms.string("TEC - 3.7.1.1.3"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4aa")),
79  cms.PSet(detSelection = cms.uint32(46),detLabel = cms.string("TEC - 3.7.1.1.3"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4e4")),
80  cms.PSet(detSelection = cms.uint32(47),detLabel = cms.string("TEC - 3.7.1.1.3"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4e8")),
81  cms.PSet(detSelection = cms.uint32(48),detLabel = cms.string("TEC - 3.7.1.1.3"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4ec")),
82  cms.PSet(detSelection = cms.uint32(49),detLabel = cms.string("TEC - 3.7.1.1.3"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4f0")),
83  cms.PSet(detSelection = cms.uint32(50),detLabel = cms.string("TEC - 3.7.1.1.3"),selection=cms.untracked.vstring("0x1FFFFFFF-0x1c05e4f4"))
84  )
85  )
86 
87 
92 HitFilteredTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cff.ctfWithMaterialTracks.clone(
93  src = 'ALCARECOSiStripCalSmallBiasScanSelectedTracks',
94  #TrajectoryInEvent = True
95  TTRHBuilder = "WithAngleAndTemplate"
96  )
97 
98 ALCARECOTrackFilterRefit = cms.Sequence(offlineBeamSpot +
99  ALCARECOSiStripCalSmallBiasScanTracksRefit +
100  ALCARECOSiStripCalSmallBiasScanSelectedTracks +
101  HitFilteredTracks
102  )
103 # Select only good tracks
105 ALCARECOSiStripCalSmallBiasScan = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
106 
107 ALCARECOSiStripCalSmallBiasScan.filter = True
108 ALCARECOSiStripCalSmallBiasScan.src = 'HitFilteredTracks'
109 ALCARECOSiStripCalSmallBiasScan.applyBasicCuts = True
110 ALCARECOSiStripCalSmallBiasScan.ptMin = 0.8
111 ALCARECOSiStripCalSmallBiasScan.nHitMin = 6
112 ALCARECOSiStripCalSmallBiasScan.chi2nMax = 10.
113 
114 ALCARECOSiStripCalSmallBiasScan.GlobalSelector.applyIsolationtest = False
115 ALCARECOSiStripCalSmallBiasScan.GlobalSelector.applyGlobalMuonFilter = False
116 ALCARECOSiStripCalSmallBiasScan.GlobalSelector.applyJetCountFilter = False
117 
118 ALCARECOSiStripCalSmallBiasScan.TwoBodyDecaySelector.applyMassrangeFilter = False
119 ALCARECOSiStripCalSmallBiasScan.TwoBodyDecaySelector.applyChargeFilter = False
120 ALCARECOSiStripCalSmallBiasScan.TwoBodyDecaySelector.applyAcoplanarityFilter = False
121 ALCARECOSiStripCalSmallBiasScan.TwoBodyDecaySelector.applyMissingETFilter = False
122 
123 # Final Sequence #
124 seqALCARECOSiStripCalSmallBiasScan = cms.Sequence(ALCARECOSiStripCalSmallBiasScanHLT*DCSStatusForSiStripCalSmallBiasScan*ALCARECOTrackFilterRefit*ALCARECOSiStripCalSmallBiasScan)
dont throw on unknown path names