Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:47

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 import HLTrigger.HLTfilters.hltHighLevel_cfi
0004 ALCARECOMuAlOverlapsHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0005     andOr = True, ## choose logical OR between Triggerbits
0006     eventSetupPathsKey = 'MuAlOverlaps',
0007     throw = False # tolerate triggers not available
0008 )
0009 
0010 # DCS partitions
0011 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
0012 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
0013 # "BPIX","FPIX","ESp","ESm"
0014 import DPGAnalysis.Skims.skim_detstatus_cfi
0015 ALCARECOMuAlOverlapsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
0016     DetectorType = cms.vstring('CSCp','CSCm'),
0017     ApplyFilter  = cms.bool(True),
0018     AndOr        = cms.bool(False), # False = at least one detector from DetectorType map above is ON
0019     DebugOn      = cms.untracked.bool(False),
0020 )
0021 
0022 #________________________________Event selection____________________________________
0023 ALCARECOMuAlOverlaps = cms.EDFilter("AlignmentCSCOverlapSelectorModule",
0024     filter            = cms.bool(True),
0025     src               = cms.InputTag("ALCARECOMuAlOverlapsMuonSelector","StandAlone"),
0026     minHitsPerChamber = cms.uint32(1),
0027     station           = cms.int32(0) ## all stations: the algorithm can handle multiple stations now
0028 )
0029 
0030 #________________________________Muon selection____________________________________
0031 # AlCaReco selected muons for track based muon alignment
0032 import Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi
0033 ALCARECOMuAlOverlapsMuonSelector = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone(
0034     ptMin = cms.double(3.0),
0035     etaMin = cms.double(-2.6),
0036     etaMax = cms.double(2.6),
0037 )
0038 
0039 #________________________________Track selection____________________________________
0040 # AlCaReco selected general tracks for track based muon alignment
0041 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0042 ALCARECOMuAlOverlapsGeneralTracks = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
0043     src = cms.InputTag("generalTracks"),
0044     filter = cms.bool(True),
0045     ptMin = cms.double(2.0),
0046     etaMin = cms.double(-2.6),
0047     etaMax = cms.double(2.6),
0048     nHitMin = cms.double(7),
0049 )
0050 
0051 seqALCARECOMuAlOverlaps = cms.Sequence(ALCARECOMuAlOverlapsHLT+ALCARECOMuAlOverlapsDCSFilter+ALCARECOMuAlOverlapsMuonSelector*ALCARECOMuAlOverlaps)
0052 
0053 seqALCARECOMuAlOverlapsGeneralTracks = cms.Sequence(ALCARECOMuAlOverlapsGeneralTracks)