-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
67 additions
and
46 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
27 changes: 13 additions & 14 deletions
27
Calibration/TkAlCaRecoProducers/python/ALCARECOSiPixelCalSingleMuonLoose_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,35 +1,34 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
import copy | ||
################################################################## | ||
# AlCaReco for track based calibration using single muon events | ||
################################################################## | ||
from HLTrigger.HLTfilters.hltHighLevel_cfi import * | ||
# AlCaReco for track based calibration using min. bias events | ||
ALCARECOSiPixelCalSingleMuonLooseHLTFilter = copy.deepcopy(hltHighLevel) | ||
#seqALCARECOSiPixelCalSingleMuonLoose = cms.Sequence(ALCARECOSiPixelCalSingleMuonLooseHLTFilter) | ||
ALCARECOSiPixelCalSingleMuonLooseHLTFilter = hltHighLevel.clone() | ||
ALCARECOSiPixelCalSingleMuonLooseHLTFilter.andOr = True ## choose logical OR between Triggerbits | ||
ALCARECOSiPixelCalSingleMuonLooseHLTFilter.throw = False ## dont throw on unknown path names | ||
ALCARECOSiPixelCalSingleMuonLooseHLTFilter.eventSetupPathsKey = 'SiPixelCalSingleMuon' | ||
|
||
################################################################## | ||
# Basic track selection | ||
################################################################## | ||
import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi | ||
ALCARECOSiPixelCalSingleMuonLoose = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone() | ||
|
||
ALCARECOSiPixelCalSingleMuonLoose.filter = True ##do not store empty events | ||
ALCARECOSiPixelCalSingleMuonLoose.applyBasicCuts = True | ||
ALCARECOSiPixelCalSingleMuonLoose.ptMin = 3.0 #GeV | ||
ALCARECOSiPixelCalSingleMuonLoose.etaMin = -3.5 | ||
ALCARECOSiPixelCalSingleMuonLoose.etaMax = 3.5 | ||
|
||
# # define the Prescaler service, and set the scale factors | ||
# thPrescaleService = cms.Service('PrescaleService', | ||
# prescaleTable = cms.VPSet(cms.PSet(pathName = cms.string('pathALCARECOSiPixelCalSingleMuonLoose'), | ||
# prescales = cms.vuint32( 100 ) # retain 1 event out of 100 | ||
# )) | ||
# ) | ||
# scalerForSiPixelCalSingleMuonLoose = cms.EDFilter('HLTPrescaler') | ||
|
||
################################################################## | ||
# Prescale events | ||
################################################################## | ||
import CalibTracker.SiStripCommon.prescaleEvent_cfi | ||
scalerForSiPixelCalSingleMuonLoose = CalibTracker.SiStripCommon.prescaleEvent_cfi.prescaleEvent.clone(prescale = 100) | ||
|
||
# Loose Sequence # | ||
################################################################## | ||
# Loose Sequence | ||
################################################################## | ||
seqALCARECOSiPixelCalSingleMuonLoose = cms.Sequence(ALCARECOSiPixelCalSingleMuonLooseHLTFilter+ | ||
scalerForSiPixelCalSingleMuonLoose+ | ||
ALCARECOSiPixelCalSingleMuonLoose) |
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
16 changes: 10 additions & 6 deletions
16
Calibration/TkAlCaRecoProducers/python/ALCARECOSiPixelCalSingleMuon_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,22 +1,26 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
import copy | ||
################################################################## | ||
# AlCaReco for track based calibration using single muon events | ||
################################################################## | ||
from HLTrigger.HLTfilters.hltHighLevel_cfi import * | ||
# AlCaReco for track based calibration using min. bias events | ||
ALCARECOSiPixelCalSingleMuonHLTFilter = copy.deepcopy(hltHighLevel) | ||
#seqALCARECOSiPixelCalSingleMuon = cms.Sequence(ALCARECOSiPixelCalSingleMuonHLTFilter) | ||
ALCARECOSiPixelCalSingleMuonHLTFilter = hltHighLevel.clone() | ||
ALCARECOSiPixelCalSingleMuonHLTFilter.andOr = True ## choose logical OR between Triggerbits | ||
ALCARECOSiPixelCalSingleMuonHLTFilter.throw = False ## dont throw on unknown path names | ||
ALCARECOSiPixelCalSingleMuonHLTFilter.eventSetupPathsKey = 'SiPixelCalSingleMuon' | ||
|
||
################################################################## | ||
# Basic track selection | ||
################################################################## | ||
import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi | ||
ALCARECOSiPixelCalSingleMuon = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone() | ||
|
||
ALCARECOSiPixelCalSingleMuon.filter = True ##do not store empty events | ||
ALCARECOSiPixelCalSingleMuon.applyBasicCuts = True | ||
ALCARECOSiPixelCalSingleMuon.ptMin = 3.0 #GeV | ||
ALCARECOSiPixelCalSingleMuon.etaMin = -3.5 | ||
ALCARECOSiPixelCalSingleMuon.etaMax = 3.5 | ||
|
||
# Sequence # | ||
################################################################## | ||
# Loose Sequence | ||
################################################################## | ||
seqALCARECOSiPixelCalSingleMuon = cms.Sequence(ALCARECOSiPixelCalSingleMuonHLTFilter+ALCARECOSiPixelCalSingleMuon) |
8 changes: 8 additions & 0 deletions
8
Calibration/TkAlCaRecoProducers/python/NearbyPixelClustersProducer_cfi.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,8 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
NearbyPixelClustersProducer = cms.EDProducer('NearbyPixelClustersProducer', | ||
clusterCollection = cms.InputTag('siPixelClusters'), # input clusters | ||
trajectoryInput = cms.InputTag('TrackerRefitter'), # input trajectories | ||
throwBadComponents = cms.bool(False), # do not use bad components | ||
dumpWholeDetIds = cms.bool(False) # write all clusters in Det | ||
) |