forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #2 from mmusich/addSiPixelCalCosmics_onTop_ofTamasPR
Add SiPixelCalCosmics on top of PR cms-sw#28574
- Loading branch information
Showing
6 changed files
with
75 additions
and
6 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
Calibration/TkAlCaRecoProducers/python/ALCARECOSiPixelCalCosmics_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
OutALCARECOSiPixelCalCosmics_noDrop = cms.PSet( | ||
SelectEvents = cms.untracked.PSet( | ||
SelectEvents = cms.vstring('pathALCARECOSiPixelCalCosmics') | ||
), | ||
outputCommands = cms.untracked.vstring( | ||
'keep *_ALCARECOSiPixelCalCosmics_*_*', | ||
'keep *_muons__*', | ||
'keep *_*riggerResults_*_HLT' | ||
) | ||
) | ||
import copy | ||
|
||
OutALCARECOSiPixelCalCosmics=copy.deepcopy(OutALCARECOSiPixelCalCosmics_noDrop) | ||
OutALCARECOSiPixelCalCosmics.outputCommands.insert(0, "drop *") |
40 changes: 40 additions & 0 deletions
40
Calibration/TkAlCaRecoProducers/python/ALCARECOSiPixelCalCosmics_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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
import copy | ||
|
||
# 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 | ||
ALCARECOSiPixelCalCosmicsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone( | ||
DetectorType = cms.vstring('BPIX','FPIX'), | ||
ApplyFilter = cms.bool(True), | ||
AndOr = cms.bool(True), | ||
DebugOn = cms.untracked.bool(False) | ||
) | ||
|
||
from ALCARECOSiPixelCalSingleMuon_cff import ALCARECOSiPixelCalSingleMuonHLTFilter | ||
ALCARECOSiPixelCalCosmicsHLTFilter = ALCARECOSiPixelCalSingleMuonHLTFilter.clone( | ||
HLTPaths = ["HLT_*"], | ||
eventSetupPathsKey = '' | ||
) | ||
|
||
from ALCARECOSiPixelCalSingleMuon_cff import ALCARECOSiPixelCalSingleMuon | ||
ALCARECOSiPixelCalCosmics = ALCARECOSiPixelCalSingleMuon.clone( | ||
filter = True, | ||
applyBasicCuts = True, | ||
ptMin = 3., | ||
ptMax = 99999., | ||
pMin = 0., | ||
pMax = 99999., | ||
etaMin = -99., ##-2.4 keep also what is going through... | ||
etaMax = 99., ## 2.4 ...both TEC with flat slope | ||
chi2nMax = 3., | ||
applyMultiplicityFilter = False, | ||
applyNHighestPt = False, ## select only highest pT track | ||
src = 'ctfWithMaterialTracksP5', | ||
) | ||
ALCARECOSiPixelCalCosmics.minHitsPerSubDet.inPIXEL = 1 | ||
|
||
# Sequence # | ||
seqALCARECOSiPixelCalCosmics = cms.Sequence(ALCARECOSiPixelCalCosmicsDCSFilter+ALCARECOSiPixelCalCosmicsHLTFilter*ALCARECOSiPixelCalCosmics) |
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
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