CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOMuAlCalIsolatedMu_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 ALCARECOMuAlCalIsolatedMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
5  andOr = True, ## choose logical OR between Triggerbits
6  eventSetupPathsKey = 'MuAlCalIsolatedMu',
7  throw = False # tolerate triggers not available
8 )
9 
10 # DCS partitions
11 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
12 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
13 # "BPIX","FPIX","ESp","ESm"
14 import DPGAnalysis.Skims.skim_detstatus_cfi
15 ALCARECOMuAlCalIsolatedDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
16  DetectorType = cms.vstring('DT0','DTp','DTm','CSCp','CSCm'),
17  ApplyFilter = cms.bool(True),
18  AndOr = cms.bool(False), # False = at least one detector from DetectorType map above is ON
19  DebugOn = cms.untracked.bool(False),
20 )
21 
22 #________________________________Muon selection____________________________________
23 # AlCaReco selected muons for track based muon alignment
24 import Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi
25 ALCARECOMuAlCalIsolatedMu = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone(
26  src = cms.InputTag("muons"),
27  filter = cms.bool(True), # not strictly necessary, but provided for symmetry with MuAlStandAloneCosmics
28  ptMin = cms.double(10.0),
29  pMin = cms.double(20.0),
30  etaMin = cms.double(-2.6),
31  etaMax = cms.double(2.6),
32 )
33 
34 #________________________________Track selection____________________________________
35 # AlCaReco selected general tracks for track based muon alignment
37 ALCARECOMuAlCalIsolatedMuGeneralTracks = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
38  src = cms.InputTag("generalTracks"),
39  filter = cms.bool(True),
40  ptMin = cms.double(8.0),
41  pMin = cms.double(18.0),
42  etaMin = cms.double(-2.6),
43  etaMax = cms.double(2.6),
44  nHitMin = cms.double(7),
45 )
46 
47 #________________________________Sequences____________________________________
48 seqALCARECOMuAlCalIsolatedMu = cms.Sequence(ALCARECOMuAlCalIsolatedMuHLT + ALCARECOMuAlCalIsolatedDCSFilter + ALCARECOMuAlCalIsolatedMu)
49 
50 seqALCARECOMuAlCalIsolatedMuGeneralTracks = cms.Sequence(ALCARECOMuAlCalIsolatedMuGeneralTracks)
dont throw on unknown path names