-
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.
make DirectSimulation use old LHCInfo in Run3
- Loading branch information
Showing
32 changed files
with
254 additions
and
88 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
8 changes: 8 additions & 0 deletions
8
CalibPPS/ESProducers/python/ctppsBeamParametersFromLHCInfoESSource_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 @@ | ||
from CalibPPS.ESProducers.ctppsBeamParametersFromLHCInfoESSourceDefault_cfi import ctppsBeamParametersFromLHCInfoESSourceDefault as _ctppsBeamParametersFromLHCInfoESSourceDefault | ||
ctppsBeamParametersFromLHCInfoESSource = _ctppsBeamParametersFromLHCInfoESSourceDefault.clone() | ||
|
||
from Configuration.Eras.Modifier_run3_common_cff import run3_common | ||
run3_common.toModify(ctppsBeamParametersFromLHCInfoESSource, useNewLHCInfo = True) | ||
|
||
from Configuration.Eras.Modifier_ctpps_directSim_cff import ctpps_directSim | ||
ctpps_directSim.toModify(ctppsBeamParametersFromLHCInfoESSource, useNewLHCInfo = False) |
3 changes: 0 additions & 3 deletions
3
CalibPPS/ESProducers/python/ctppsInterpolatedOpticalFunctionsESSource_cff.py
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
CalibPPS/ESProducers/python/ctppsInterpolatedOpticalFunctionsESSource_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 @@ | ||
from CalibPPS.ESProducers.ctppsInterpolatedOpticalFunctionsESSourceDefault_cfi import ctppsInterpolatedOpticalFunctionsESSourceDefault as _ctppsInterpolatedOpticalFunctionsESSourceDefault | ||
ctppsInterpolatedOpticalFunctionsESSource = _ctppsInterpolatedOpticalFunctionsESSourceDefault.clone() | ||
|
||
from Configuration.Eras.Modifier_run3_common_cff import run3_common | ||
run3_common.toModify(ctppsInterpolatedOpticalFunctionsESSource, useNewLHCInfo = True) | ||
|
||
from Configuration.Eras.Modifier_ctpps_directSim_cff import ctpps_directSim | ||
ctpps_directSim.toModify(ctppsInterpolatedOpticalFunctionsESSource, useNewLHCInfo = False) |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
ctpps_directSim = cms.Modifier() |
6 changes: 6 additions & 0 deletions
6
Configuration/ProcessModifiers/python/Era_Run3_CTPPS_directSim_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,6 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Configuration.Eras.Era_Run3_cff import Run3 | ||
from Configuration.Eras.Modifier_ctpps_directSim_cff import ctpps_directSim | ||
|
||
Run3_CTPPS_directSim = cms.ModifierChain(Run3,ctpps_directSim) |
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,17 +1,6 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# import default alignment settings | ||
from CalibPPS.ESProducers.ctppsAlignment_cff import * | ||
from RecoPPS.ProtonReconstruction.ctppsProtons_cfi import * | ||
|
||
# import default optics settings | ||
from CalibPPS.ESProducers.ctppsOpticalFunctions_cff import * | ||
|
||
# import and adjust proton-reconstructions settings | ||
from RecoPPS.ProtonReconstruction.ctppsProtons_cfi import * | ||
|
||
|
||
ctppsProtons.pixelDiscardBXShiftedTracks = True | ||
ctppsProtons.default_time = -999. | ||
|
||
from Configuration.Eras.Modifier_run3_common_cff import run3_common | ||
run3_common.toModify(ctppsProtons, useNewLHCInfo = True) |
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,12 @@ | ||
# import and adjust proton-reconstructions settings | ||
from RecoPPS.ProtonReconstruction.ctppsProtonsDefault_cfi import ctppsProtonsDefault as _ctppsProtonsDefault | ||
ctppsProtons = _ctppsProtonsDefault.clone( | ||
pixelDiscardBXShiftedTracks = True, | ||
default_time = -999. | ||
) | ||
|
||
from Configuration.Eras.Modifier_run3_common_cff import run3_common | ||
run3_common.toModify(ctppsProtons, useNewLHCInfo = True) | ||
|
||
from Configuration.Eras.Modifier_ctpps_directSim_cff import ctpps_directSim | ||
ctpps_directSim.toModify(ctppsProtons, useNewLHCInfo = False) |
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
Oops, something went wrong.