-
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.
add fillDesc in BetafuncEvtVtxGenerator and GaussEvtVtxGenerator and …
…use them
- Loading branch information
1 parent
f88656d
commit 1a98ef1
Showing
6 changed files
with
45 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# Load GaussEvtVtx Generator and read parameters from GT (SimBeamSpotObjectRcd) | ||
from IOMC.EventVertexGenerators.VtxSmearedParameters_cfi import VtxSmearedCommon | ||
VtxSmeared = cms.EDProducer("GaussEvtVtxGenerator", | ||
VtxSmearedCommon | ||
# Load GaussEvtVtxGenerator and read parameters from GT (SimBeamSpotObjectRcd) | ||
from IOMC.EventVertexGenerators.GaussEvtVtxGenerator_cfi import GaussEvtVtxGenerator | ||
VtxSmeared = GaussEvtVtxGenerator.clone( | ||
src = "generator:unsmeared", | ||
readDB = True | ||
) | ||
VtxSmeared.readDB = True | ||
|
||
|
||
|
13 changes: 5 additions & 8 deletions
13
IOMC/EventVertexGenerators/python/VtxSmearedRealistic_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 |
---|---|---|
@@ -1,11 +1,8 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# Load BetafuncEvtVtx Generator and read parameters from GT (SimBeamSpotObjectRcd) | ||
from IOMC.EventVertexGenerators.VtxSmearedParameters_cfi import VtxSmearedCommon | ||
VtxSmeared = cms.EDProducer("BetafuncEvtVtxGenerator", | ||
VtxSmearedCommon | ||
# Load BetafuncEvtVtxGenerator and read parameters from GT (SimBeamSpotObjectRcd) | ||
from IOMC.EventVertexGenerators.BetafuncEvtVtxGenerator_cfi import BetafuncEvtVtxGenerator | ||
VtxSmeared = BetafuncEvtVtxGenerator.clone( | ||
src = "generator:unsmeared", | ||
readDB = True | ||
) | ||
VtxSmeared.readDB = 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
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