CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOTkAlMuonIsolated_cff.py
Go to the documentation of this file.
1 # AlCaReco for track based alignment using isolated muon tracks
2 import FWCore.ParameterSet.Config as cms
3 
5 ALCARECOTkAlMuonIsolatedHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True, ## choose logical OR between Triggerbits
7  eventSetupPathsKey = 'TkAlMuonIsolated',
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 ALCARECOTkAlMuonIsolatedDCSFilter = 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 Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
24 ALCARECOTkAlMuonIsolated = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
25  filter = True, ##do not store empty events
26  applyBasicCuts = True,
27  ptMin = 2.0, ##GeV
28  etaMin = -3.5,
29  etaMax = 3.5,
30  nHitMin = 0
31  )
32 # These unfortunately cannot be put into the clone(..):
33 ALCARECOTkAlMuonIsolated.GlobalSelector.applyIsolationtest = True
34 ALCARECOTkAlMuonIsolated.GlobalSelector.minJetDeltaR = 0.1
35 ALCARECOTkAlMuonIsolated.GlobalSelector.applyGlobalMuonFilter = True
36 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyMassrangeFilter = False
37 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyChargeFilter = False
38 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyAcoplanarityFilter = False
39 
40 seqALCARECOTkAlMuonIsolated = cms.Sequence(ALCARECOTkAlMuonIsolatedHLT+ALCARECOTkAlMuonIsolatedDCSFilter+ALCARECOTkAlMuonIsolated)