-
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.
Merge pull request #33444 from dildick/from-CMSSW_11_3_X_2021-04-15-1…
…100-pack-cscshowerdigi-v3 Load CLCT pre-trigger digis in CSC packer. Skeleton code to pack/unpack CSCShowerDigi (HadronicShowerTrigger-3)
- Loading branch information
Showing
16 changed files
with
113 additions
and
74 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,21 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
cscpacker = cms.EDProducer("CSCDigiToRawModule", | ||
wireDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCWireDigi"), | ||
stripDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCStripDigi"), | ||
comparatorDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCComparatorDigi"), | ||
alctDigiTag = cms.InputTag("simCscTriggerPrimitiveDigis"), | ||
clctDigiTag = cms.InputTag("simCscTriggerPrimitiveDigis"), | ||
preTriggerTag = cms.InputTag("simCscTriggerPrimitiveDigis"), | ||
correlatedLCTDigiTag = cms.InputTag("simCscTriggerPrimitiveDigis", "MPCSORTED"), | ||
# if min parameter = -999 always accept | ||
alctWindowMin = cms.int32(-3), | ||
alctWindowMax = cms.int32(3), | ||
clctWindowMin = cms.int32(-3), | ||
clctWindowMax = cms.int32(3), | ||
preTriggerWindowMin = cms.int32(-3), | ||
preTriggerWindowMax = cms.int32(1) | ||
) | ||
|
||
## baseline configuration in the class itself | ||
from EventFilter.CSCRawToDigi.cscPackerDef_cfi import cscPackerDef | ||
cscpacker = cscPackerDef.clone() | ||
|
||
## | ||
## Make changes for running in Run 2 | ||
## | ||
# packer - simply get rid of it | ||
from Configuration.Eras.Modifier_run2_common_cff import run2_common | ||
run2_common.toModify( cscpacker, useFormatVersion = cms.uint32(2013) ) | ||
run2_common.toModify( cscpacker, usePreTriggers = cms.bool(False) ) | ||
run2_common.toModify( cscpacker, packEverything = cms.bool(True) ) | ||
run2_common.toModify( cscpacker, | ||
useFormatVersion = 2013, | ||
usePreTriggers = False, | ||
packEverything = True) | ||
|
||
## in Run-3 include GEMs | ||
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM | ||
run3_GEM.toModify( cscpacker, padDigiClusterTag = cms.InputTag("simMuonGEMPadDigiClusters") ) | ||
run3_GEM.toModify( cscpacker, useGEMs = cms.bool(False) ) | ||
run3_GEM.toModify( cscpacker, | ||
padDigiClusterTag = "simMuonGEMPadDigiClusters", | ||
useGEMs = False) |
Oops, something went wrong.