CMS 3D CMS Logo

ALCARECOTkAlJetHT_cff.py
Go to the documentation of this file.
1 # AlCaReco for track based alignment using min. bias events
2 import FWCore.ParameterSet.Config as cms
3 
5 ALCARECOTkAlJetHTHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True,
7  eventSetupPathsKey = 'TkAlJetHTHLT',
8  throw = False # tolerate triggers stated above, but not available
9  )
10 
11 # DCS partitions
12 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
13 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
14 # "BPIX","FPIX","ESp","ESm"
15 import DPGAnalysis.Skims.skim_detstatus_cfi
16 ALCARECOTkAlJetHTDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
17  DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX'),
18  ApplyFilter = cms.bool(True),
19  AndOr = cms.bool(True),
20  DebugOn = cms.untracked.bool(False)
21 )
22 
23 import FWCore.Modules.preScaler_cfi
24 ALCARECOTkAlJetHTPrescaler = FWCore.Modules.preScaler_cfi.preScaler.clone(
25  prescaleFactor = cms.int32(10), # selects one event out of 10
26  prescaleOffset = cms.int32(1)
27 )
28 
30 ALCARECOTkAlJetHT = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
31  filter = True,
32  applyBasicCuts = True,
33  ptMin = 0.65,
34  pMin = 1.5,
35  etaMin = -3.5,
36  etaMax = 3.5,
37  nHitMin = 7
38 )
39 
40 ALCARECOTkAlJetHT.GlobalSelector.applyIsolationtest = False
41 ALCARECOTkAlJetHT.GlobalSelector.applyGlobalMuonFilter = False
42 ALCARECOTkAlJetHT.TwoBodyDecaySelector.applyMassrangeFilter = False
43 ALCARECOTkAlJetHT.TwoBodyDecaySelector.applyChargeFilter = False
44 ALCARECOTkAlJetHT.TwoBodyDecaySelector.applyAcoplanarityFilter = False
45 
46 seqALCARECOTkAlJetHT = cms.Sequence(ALCARECOTkAlJetHTHLT+ALCARECOTkAlJetHTDCSFilter+ALCARECOTkAlJetHTPrescaler*ALCARECOTkAlJetHT)
47 
48 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
49 phase2_tracker.toModify(ALCARECOTkAlJetHT, etaMin = -4, etaMax = 4)
dont throw on unknown path names