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 #2910 from venturia/apvcyle_fromDB-71x
Tracking -- Added the possibility to configure APVCyclePhaseProducerFromL1TS with a DB object
- Loading branch information
Showing
19 changed files
with
405 additions
and
20 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
38 changes: 38 additions & 0 deletions
38
DPGAnalysis/SiStripTools/python/SiStripConfObjectAPVPhaseOffsetsFakeESSource_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,38 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from CalibTracker.SiStripESProducers.services.SiStripConfObjectGeneratorService_cfi import * | ||
|
||
SiStripConfObjectGenerator.Parameters = cms.VPSet( | ||
cms.PSet( | ||
ParameterName = cms.string("defaultPartitionNames"), | ||
ParameterType = cms.string("vstring"), | ||
ParameterValue = cms.vstring("TI","TO","TP","TM"), | ||
), | ||
cms.PSet( | ||
ParameterName = cms.string("defaultPhases"), | ||
ParameterType = cms.string("vint32"), | ||
ParameterValue = cms.vint32(48,48,48,48), | ||
), | ||
cms.PSet( | ||
ParameterName = cms.string("useEC0"), | ||
ParameterType = cms.string("bool"), | ||
ParameterValue = cms.bool(False), | ||
), | ||
cms.PSet( | ||
ParameterName = cms.string("badRun"), | ||
ParameterType = cms.string("bool"), | ||
ParameterValue = cms.bool(False), | ||
), | ||
cms.PSet( | ||
ParameterName = cms.string("magicOffset"), | ||
ParameterType = cms.string("int"), | ||
ParameterValue = cms.int32(11), | ||
), | ||
) | ||
|
||
siStripConfObjectAPVPhaseOffsetsFakeESSource = cms.ESSource("SiStripConfObjectFakeESSource", | ||
appendToDataLabel = cms.string('apvphaseoffsets') | ||
) | ||
|
||
|
||
|
1 change: 1 addition & 0 deletions
1
DPGAnalysis/SiStripTools/python/apvcyclephaseproducerfroml1ts2010_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
1 change: 1 addition & 0 deletions
1
DPGAnalysis/SiStripTools/python/apvcyclephaseproducerfroml1ts2011_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
1 change: 1 addition & 0 deletions
1
DPGAnalysis/SiStripTools/python/apvcyclephaseproducerfroml1ts2013_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
12 changes: 12 additions & 0 deletions
12
DPGAnalysis/SiStripTools/python/apvcyclephaseproducerfroml1tsDB_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,12 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
APVPhases = cms.EDProducer('APVCyclePhaseProducerFromL1TS', | ||
defaultPartitionNames = cms.vstring("TI", | ||
"TO", | ||
"TP", | ||
"TM" | ||
), | ||
defaultPhases = cms.vint32(30,30,30,30), | ||
l1TSCollection = cms.InputTag("scalersRawToDigi"), | ||
) | ||
|
Oops, something went wrong.