New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complete the implementation of RPC Digi Collection Merger started in PR #24613 #27672
Changes from all commits
a006653
56a590f
6b12ac6
35bfcfc
01271cd
65e348d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
run3_RPC = cms.Modifier() | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,11 +24,8 @@ | |
import EventFilter.DTRawToDigi.dtunpacker_cfi | ||
muonDTDigis = EventFilter.DTRawToDigi.dtunpacker_cfi.muonDTDigis.clone() | ||
|
||
import EventFilter.RPCRawToDigi.rpcUnpacker_cfi | ||
muonRPCDigis = EventFilter.RPCRawToDigi.rpcUnpacker_cfi.rpcunpacker.clone() | ||
|
||
import EventFilter.RPCRawToDigi.rpcDigiMerger_cfi | ||
muonRPCNewDigis = EventFilter.RPCRawToDigi.rpcDigiMerger_cfi.rpcDigiMerger.clone() | ||
import EventFilter.RPCRawToDigi.RPCRawToDigi_cfi | ||
muonRPCDigis = EventFilter.RPCRawToDigi.RPCRawToDigi_cfi.muonRPCDigis.clone() | ||
|
||
import EventFilter.GEMRawToDigi.muonGEMDigis_cfi | ||
muonGEMDigis = EventFilter.GEMRawToDigi.muonGEMDigis_cfi.muonGEMDigis.clone() | ||
|
@@ -116,19 +113,6 @@ | |
from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal | ||
phase2_hgcal.toReplaceWith(RawToDigiTask,_hgcal_RawToDigiTask) | ||
|
||
# RPC New Readout Validation | ||
from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff import stage2L1Trigger_2017 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do I understand correctly, that with this PR for the 2017 and 2018 runs the muonRPCDigis will only consists in the "unpacker" (legacy config), while in the current CMSSW for 2017 and 2018 the muonRPCDigis is "unpacket+digimerger"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, you understand correctly. These periods, 2017 ad 2018, should work with legacy only. When the digimerger was implement the muonRPCNewDigis and rpcNewRecHits were introduced as a temporally solution, in the sense that the two implementations work in the same time and let the new one (digimerger) be tested. You pointed out the problem with the MC chain and this PR proposal is to solve it and also to make the new implementation (digimerger) work only for Run3. |
||
_rpc_NewReadoutVal_RawToDigiTask = RawToDigiTask.copy() | ||
_rpc_NewReadoutVal_RawToDigiTask_noTk = RawToDigiTask_noTk.copy() | ||
_rpc_NewReadoutVal_RawToDigiTask.add(muonRPCNewDigis) | ||
_rpc_NewReadoutVal_RawToDigiTask_noTk.add(muonRPCNewDigis) | ||
stage2L1Trigger_2017.toReplaceWith(RawToDigiTask, _rpc_NewReadoutVal_RawToDigiTask) | ||
stage2L1Trigger_2017.toReplaceWith(RawToDigiTask_noTk, _rpc_NewReadoutVal_RawToDigiTask) | ||
|
||
from Configuration.Eras.Modifier_fastSim_cff import fastSim | ||
fastSim.toReplaceWith(RawToDigiTask, RawToDigiTask.copyAndExclude([muonRPCNewDigis])) | ||
fastSim.toReplaceWith(RawToDigiTask_noTk, RawToDigiTask_noTk.copyAndExclude([muonRPCNewDigis])) | ||
|
||
_hfnose_RawToDigiTask = RawToDigiTask.copy() | ||
_hfnose_RawToDigiTask.add(hfnoseDigis) | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
import EventFilter.RPCRawToDigi.rpcUnpacker_cfi | ||
muonRPCDigis = EventFilter.RPCRawToDigi.rpcUnpacker_cfi.rpcunpacker.clone() | ||
|
||
from Configuration.Eras.Modifier_run3_RPC_cff import run3_RPC | ||
from EventFilter.RPCRawToDigi.rpcDigiMerger_cfi import rpcDigiMerger | ||
|
||
run3_RPC.toReplaceWith(muonRPCDigis,rpcDigiMerger) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dilsonjd is this update only for data and not MC? Otherwise why in this configuration and not in RawToDigi_cff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we run the data, this modification is necessary. Then, we understand that here is the correct place to implement it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dilsonjd but is this supposed to be activated ONLY on data? Do we have a test were this code is practically exercised? Your tests in EventFilter do not seem dependent on this run3 Era.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fabiocos Yes, it is to be actived ONLY on data.
The test was done running over the Run2018A dataset using the eras.Run2_2018 and adding eras.run3_RPC into the conditions of the process. You can find the configs here /afs/cern.ch/work/d/dilson/public/toTestRun3RPCData/
Maybe, the modifier_run3_RPC must be add to Era_Run3_cff.py. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this kind of modifications should be done in the RawToDigi_cff , common to data and simulation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configuration in the Raw2Digi_Data is due to the two different strategies needed for the MC and Data approach.