CMS 3D CMS Logo

ALCARECOTkAlMinBias_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 #Note the MinBias selection should contain as many tracks as possible but no overlaps. So the HLT selection selects any event that is not selected in another TkAl* selector.
6 ALCARECOTkAlMinBiasNOTHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
7  andOr = True,
8  eventSetupPathsKey = 'TkAlMinBiasNOT',
9  throw = False # tolerate triggers stated above, but not available
10  )
11 ALCARECOTkAlMinBiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
12  andOr = True,
13  eventSetupPathsKey = 'TkAlMinBias',
14  throw = False # tolerate triggers stated above, but not available
15  )
16 
17 # DCS partitions
18 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
19 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
20 # "BPIX","FPIX","ESp","ESm"
21 import DPGAnalysis.Skims.skim_detstatus_cfi
22 ALCARECOTkAlMinBiasDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
23  DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX'),
24  ApplyFilter = cms.bool(True),
25  AndOr = cms.bool(True),
26  DebugOn = cms.untracked.bool(False)
27 )
28 
30 ALCARECOTkAlMinBias = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
31 ALCARECOTkAlMinBias.filter = True
32 
33 ALCARECOTkAlMinBias.applyBasicCuts = True
34 ALCARECOTkAlMinBias.ptMin = 0.65
35 ALCARECOTkAlMinBias.pMin = 1.5
36 
37 
38 ALCARECOTkAlMinBias.etaMin = -3.5
39 ALCARECOTkAlMinBias.etaMax = 3.5
40 ALCARECOTkAlMinBias.nHitMin = 7
41 ALCARECOTkAlMinBias.GlobalSelector.applyIsolationtest = False
42 ALCARECOTkAlMinBias.GlobalSelector.applyGlobalMuonFilter = False
43 ALCARECOTkAlMinBias.TwoBodyDecaySelector.applyMassrangeFilter = False
44 ALCARECOTkAlMinBias.TwoBodyDecaySelector.applyChargeFilter = False
45 ALCARECOTkAlMinBias.TwoBodyDecaySelector.applyAcoplanarityFilter = False
46 
47 seqALCARECOTkAlMinBias = cms.Sequence(ALCARECOTkAlMinBiasHLT*~ALCARECOTkAlMinBiasNOTHLT+ALCARECOTkAlMinBiasDCSFilter+ALCARECOTkAlMinBias)
48 
49 
50 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
51 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
52 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlMinBiasHLT,
53  eventSetupPathsKey='TkAlMinBiasHI'
54 )
55 
56 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlMinBias,
57  trackQualities = cms.vstring("highPurity")
58 )
59 
60 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
61 phase2_tracker.toModify(ALCARECOTkAlMinBias, etaMin = -4, etaMax = 4)
dont throw on unknown path names