Warning, /CalibTracker/SiStripChannelGain/test/Cosmic_B38/test.cfg is written in an unsupported language. File is not indexed.
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("MULTI")
0004
0005 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0006 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0007 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0008 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
0009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0010 process.load("RecoTracker.TrackProducer.RefitterWithMaterial_cff")
0011
0012 process.source = cms.Source("PoolSource",
0013 fileNames = cms.untracked.vstring(
0014 '/store/data/BeamCommissioning08/Cosmics/RECO/v1/000/062/966/B4EC2E1D-6984-DD11-9C9D-000423D174FE.root'
0015 )
0016 )
0017
0018 process.maxEvents = cms.untracked.PSet(
0019 input = cms.untracked.int32(10)
0020 )
0021
0022 process.MessageLogger = cms.Service("MessageLogger",
0023 suppressWarning = cms.untracked.vstring('TrackRefitter', 'FwkReport'),
0024 suppressInfo = cms.untracked.vstring('TrackRefitter' , 'FwkReport'),
0025 suppressDebug = cms.untracked.vstring('TrackRefitter' , 'FwkReport'),
0026 cout = cms.untracked.PSet(
0027 threshold = cms.untracked.string('ERROR')
0028 ),
0029 destinations = cms.untracked.vstring('cout')
0030 )
0031
0032 # Conditions (Global Tag is used here):
0033 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0034 process.GlobalTag.connect = "frontier://PromptProd/CMS_COND_21X_GLOBALTAG"
0035 process.GlobalTag.globaltag = "CRUZET4_V4P::All"
0036 process.prefer("GlobalTag")
0037
0038 from CondCore.DBCommon.CondDBSetup_cfi import *
0039 GlobalTag = cms.ESSource("PoolDBESSource",
0040 CondDBSetup,
0041 connect = cms.string('sqlite_file:Gain_MinBias.db'),
0042 # timetype = cms.string('runnumber'),
0043
0044 globaltag = cms.string('IDEAL_V1::All'),
0045 BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0046
0047 toGet = cms.PSet(
0048 record = cms.string("SiStripApvGainRcd"),
0049 tag = cms.string("Gain_MinBias")
0050 )
0051 )
0052
0053 #es_source MySiStripApvGain = PoolDBESSource {
0054 # VPSet toGet = {{ string record = "SiStripApvGainRcd" string tag = "Gain_MinBias" }}
0055 # string connect = "sqlite_file:Gain_MinBias.db"
0056 # string timetype = "runnumber"
0057 #
0058 # untracked string BlobStreamerName = "TBufferBlobStreamingService"
0059 # PSet DBParameters = {
0060 # untracked string authenticationPath =""
0061 # untracked int32 messageLevel =0
0062 # }
0063 #}
0064
0065
0066 siStripGainESProducer = cms.ESProducer("SiStripGainESProducer",
0067 appendToDataLabel = cms.string(''),
0068 printDebug = cms.untracked.bool(False),
0069 NormalizationFactor = cms.double(1.0),
0070 AutomaticNormalization = cms.bool(False),
0071 APVGain = cms.string('')
0072 )
0073 process.prefer("siStripGainESProducer")
0074
0075
0076
0077 process.TrackRefitter.src = 'ctfWithMaterialTracksP5'
0078 process.TrackRefitter.TrajectoryInEvent = True
0079
0080 process.SiStripCalib = cms.EDFilter("SiStripGainFromData",
0081 AlgoMode = cms.string('MultiJob'),
0082
0083 OutputHistos = cms.string('XXX_OUTPUT_XXX.root'),
0084 OutputGains = cms.string('XXX_OUTPUT_XXX.txt'),
0085
0086 TrajToTrackProducer = cms.string('TrackRefitter'),
0087 TrajToTrackLabel = cms.string(''),
0088
0089 minTrackMomentum = cms.untracked.double(1.0),
0090 minNrEntries = cms.untracked.uint32(100),
0091 maxChi2OverNDF = cms.untracked.double(9999999.0),
0092 maxMPVError = cms.untracked.double(1000000.0),
0093 maxNrStrips = cms.untracked.uint32(8),
0094
0095 SinceAppendMode = cms.bool(True),
0096 IOVMode = cms.string('Job'),
0097 Record = cms.string('SiStripApvGainRcd'),
0098 doStoreOnDB = cms.bool(False)
0099 )
0100
0101 process.p = cms.Path(process.TrackRefitter*process.SiStripCalib)
0102