-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 #15889 from kpedro88/Phase1-WF1
HCAL 2017 Phase1 Workflows
- Loading branch information
Showing
22 changed files
with
454 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Configuration.Eras.Era_Run2_2017_cff import Run2_2017 | ||
from Configuration.Eras.Modifier_run2_HF_2017_cff import run2_HF_2017 | ||
from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017 | ||
|
||
Run2_2017_HCALdev = cms.ModifierChain(Run2_2017, run2_HF_2017, run2_HCAL_2017) | ||
|
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,9 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Configuration.Eras.Era_Run2_2017_cff import Run2_2017 | ||
from Configuration.Eras.Modifier_phase1PixelNewFPix_cff import phase1PixelNewFPix | ||
from Configuration.Eras.Modifier_run2_HF_2017_cff import run2_HF_2017 | ||
from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017 | ||
|
||
Run2_2017_new = cms.ModifierChain(Run2_2017, phase1PixelNewFPix, run2_HF_2017, run2_HCAL_2017) | ||
|
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 | ||
|
||
# This modifier should be used for "common" HCAL 2017 customizations | ||
# Initially, this means the packer and DQM | ||
# subdetector-specific changes for sim, reco, etc. should go in run2_HE_2017 or run2_HF_2017 | ||
|
||
run2_HCAL_2017 = cms.Modifier() | ||
|
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,4 +1,6 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# This modifier is for HE-specific changes for sim, reco, etc. | ||
|
||
run2_HE_2017 = cms.Modifier() | ||
|
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,6 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# This modifier is for HF-specific changes for sim, reco, etc. | ||
|
||
run2_HF_2017 = cms.Modifier() | ||
|
33 changes: 33 additions & 0 deletions
33
Configuration/Geometry/python/GeometryExtended2017newReco_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,33 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# Ideal geometry, needed for transient ECAL alignement | ||
from Configuration.Geometry.GeometryExtended2017new_cff import * | ||
|
||
|
||
# Reconstruction geometry services | ||
# Tracking Geometry | ||
#bah - well, this is not a cfi! | ||
from Geometry.CommonDetUnit.globalTrackingGeometry_cfi import * | ||
|
||
#Tracker | ||
from RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi import * | ||
from Geometry.TrackerNumberingBuilder.trackerTopology_cfi import * | ||
|
||
#Muon | ||
from Geometry.MuonNumbering.muonNumberingInitialization_cfi import * | ||
from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import * | ||
|
||
# Alignment | ||
from Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff import * | ||
from Geometry.CSCGeometryBuilder.idealForDigiCscGeometry_cff import * | ||
from Geometry.DTGeometryBuilder.idealForDigiDtGeometry_cff import * | ||
trackerGeometry.applyAlignment = False | ||
|
||
# Calorimeters | ||
from Geometry.CaloEventSetup.CaloTopology_cfi import * | ||
from Geometry.CaloEventSetup.CaloGeometry_cff import * | ||
from Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi import * | ||
from Geometry.EcalMapping.EcalMapping_cfi import * | ||
from Geometry.EcalMapping.EcalMappingRecord_cfi import * | ||
from Geometry.HcalCommonData.hcalDDDRecConstants_cfi import * | ||
from Geometry.HcalEventSetup.hcalTopologyIdeal_cfi import * |
11 changes: 11 additions & 0 deletions
11
Configuration/Geometry/python/GeometryExtended2017new_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,11 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# | ||
# Geometry master configuration | ||
# | ||
# Ideal geometry, needed for simulation | ||
from Geometry.CMSCommonData.cmsExtendedGeometry2017newXML_cfi import * | ||
from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi import * | ||
from Geometry.HcalCommonData.hcalParameters_cfi import * | ||
from Geometry.HcalCommonData.hcalDDDSimConstants_cfi import * | ||
|
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,12 +1,25 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
hcalRawData = cms.EDProducer("HcalDigiToRaw", | ||
|
||
hcalRawDataVME = cms.EDProducer("HcalDigiToRaw", | ||
HBHE = cms.untracked.InputTag("simHcalDigis"), | ||
HF = cms.untracked.InputTag("simHcalDigis"), | ||
HO = cms.untracked.InputTag("simHcalDigis"), | ||
ZDC = cms.untracked.InputTag("simHcalUnsuppressedDigis"), | ||
TRIG = cms.untracked.InputTag("simHcalTriggerPrimitiveDigis") | ||
) | ||
|
||
hcalRawData = cms.Sequence(hcalRawDataVME) | ||
|
||
from EventFilter.HcalRawToDigi.hcalDigiToRawuHTR_cfi import hcalDigiToRawuHTR as hcalRawDatauHTR | ||
|
||
_phase1_hcalRawData = hcalRawData.copy() | ||
_phase1_hcalRawData += hcalRawDatauHTR | ||
|
||
from Configuration.StandardSequences.Eras import eras | ||
eras.run2_HCAL_2017.toModify( hcalRawDataVME, | ||
HBHE = cms.untracked.InputTag(""), | ||
HF = cms.untracked.InputTag(""), | ||
TRIG = cms.untracked.InputTag("") | ||
) | ||
eras.run2_HCAL_2017.toReplaceWith(hcalRawData,_phase1_hcalRawData) |
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.