test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOMuAlOverlaps_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 ALCARECOMuAlOverlapsHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
5  andOr = True, ## choose logical OR between Triggerbits
6  eventSetupPathsKey = 'MuAlOverlaps',
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 ALCARECOMuAlOverlapsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
16  DetectorType = cms.vstring('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 #________________________________Event selection____________________________________
23 ALCARECOMuAlOverlaps = cms.EDFilter("AlignmentCSCOverlapSelectorModule",
24  filter = cms.bool(True),
25  src = cms.InputTag("ALCARECOMuAlOverlapsMuonSelector","StandAlone"),
26  minHitsPerChamber = cms.uint32(1),
27  station = cms.int32(0) ## all stations: the algorithm can handle multiple stations now
28 )
29 
30 #________________________________Muon selection____________________________________
31 # AlCaReco selected muons for track based muon alignment
32 import Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi
33 ALCARECOMuAlOverlapsMuonSelector = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone(
34  ptMin = cms.double(3.0),
35  etaMin = cms.double(-2.6),
36  etaMax = cms.double(2.6),
37 )
38 
39 #________________________________Track selection____________________________________
40 # AlCaReco selected general tracks for track based muon alignment
42 ALCARECOMuAlOverlapsGeneralTracks = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
43  src = cms.InputTag("generalTracks"),
44  filter = cms.bool(True),
45  ptMin = cms.double(2.0),
46  etaMin = cms.double(-2.6),
47  etaMax = cms.double(2.6),
48  nHitMin = cms.double(7),
49 )
50 
51 seqALCARECOMuAlOverlaps = cms.Sequence(ALCARECOMuAlOverlapsHLT+ALCARECOMuAlOverlapsDCSFilter+ALCARECOMuAlOverlapsMuonSelector*ALCARECOMuAlOverlaps)
52 
53 seqALCARECOMuAlOverlapsGeneralTracks = cms.Sequence(ALCARECOMuAlOverlapsGeneralTracks)
dont throw on unknown path names