Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15221 from lpernie/AddgeneralTrackALCARECOmuon
Adding general track to ALCARECO for muonalign
- Loading branch information
Showing
13 changed files
with
209 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 39 additions & 10 deletions
49
Alignment/CommonAlignmentProducer/python/ALCARECOMuAlCalIsolatedMu_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,50 @@ | ||
# AlCaReco for muon based alignment using any individual muon tracks | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
import HLTrigger.HLTfilters.hltHighLevel_cfi | ||
ALCARECOMuAlCalIsolatedMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone( | ||
andOr = True, ## choose logical OR between Triggerbits | ||
eventSetupPathsKey = 'MuAlCalIsolatedMu', | ||
throw = False # tolerate triggers not available | ||
) | ||
) | ||
|
||
# DCS partitions | ||
# "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC" | ||
# "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm" | ||
# "BPIX","FPIX","ESp","ESm" | ||
import DPGAnalysis.Skims.skim_detstatus_cfi | ||
ALCARECOMuAlCalIsolatedDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone( | ||
DetectorType = cms.vstring('DT0','DTp','DTm','CSCp','CSCm'), | ||
ApplyFilter = cms.bool(True), | ||
AndOr = cms.bool(False), # False = at least one detector from DetectorType map above is ON | ||
DebugOn = cms.untracked.bool(False), | ||
) | ||
|
||
#________________________________Muon selection____________________________________ | ||
# AlCaReco selected muons for track based muon alignment | ||
import Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi | ||
ALCARECOMuAlCalIsolatedMu = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone( | ||
src = cms.InputTag("muons"), | ||
filter = True, # not strictly necessary, but provided for symmetry with MuAlStandAloneCosmics | ||
# DT calibration needs as many muons with DIGIs as possible, which in cosmic ray runs means standAloneMuons | ||
# nHitMinGB = 1, # muon collections now merge globalMuons, standAlone, and trackerMuons: this stream has always assumed globalMuons | ||
ptMin=cms.double(0.), | ||
pMin=cms.double(10.) | ||
) | ||
src = cms.InputTag("muons"), | ||
filter = cms.bool(True), # not strictly necessary, but provided for symmetry with MuAlStandAloneCosmics | ||
ptMin = cms.double(10.0), | ||
pMin = cms.double(20.0), | ||
etaMin = cms.double(-2.6), | ||
etaMax = cms.double(2.6), | ||
) | ||
|
||
#________________________________Track selection____________________________________ | ||
# AlCaReco selected general tracks for track based muon alignment | ||
import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi | ||
ALCARECOMuAlCalIsolatedMuGeneralTracks = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone( | ||
src = cms.InputTag("generalTracks"), | ||
filter = cms.bool(True), | ||
ptMin = cms.double(8.0), | ||
pMin = cms.double(18.0), | ||
etaMin = cms.double(-2.6), | ||
etaMax = cms.double(2.6), | ||
nHitMin = cms.double(7), | ||
) | ||
|
||
#________________________________Sequences____________________________________ | ||
seqALCARECOMuAlCalIsolatedMu = cms.Sequence(ALCARECOMuAlCalIsolatedMuHLT + ALCARECOMuAlCalIsolatedDCSFilter + ALCARECOMuAlCalIsolatedMu) | ||
|
||
seqALCARECOMuAlCalIsolatedMu = cms.Sequence(ALCARECOMuAlCalIsolatedMuHLT + ALCARECOMuAlCalIsolatedMu) | ||
seqALCARECOMuAlCalIsolatedMuGeneralTracks = cms.Sequence(ALCARECOMuAlCalIsolatedMuGeneralTracks) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 16 additions & 3 deletions
19
Alignment/CommonAlignmentProducer/python/ALCARECOMuAlOverlaps_Output_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.