File indexing completed on 2024-04-06 12:26:32
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process('TEST2')
0004
0005
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0008 process.load('FWCore.MessageService.MessageLogger_cfi')
0009 process.load('Configuration.StandardSequences.GeometryDB_cff')
0010 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0011 process.load('Configuration.StandardSequences.RawToDigi_Data_cff')
0012 process.load('Configuration.StandardSequences.L1Reco_cff')
0013 process.load('Configuration.StandardSequences.Reconstruction_cff')
0014 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0015 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0016 process.load('Configuration.EventContent.EventContentHeavyIons_cff')
0017
0018 process.configurationMetadata = cms.untracked.PSet(
0019 annotation = cms.untracked.string('hiRecoDM nevts:2'),
0020 name = cms.untracked.string('PyReleaseValidation')
0021 )
0022 process.maxEvents = cms.untracked.PSet(
0023 input = cms.untracked.int32(1)
0024 )
0025
0026
0027 process.source = cms.Source("PoolSource",
0028 fileNames = cms.untracked.vstring(
0029
0030
0031
0032
0033
0034 'file:/data/TrackerStudies/RECORealistic100ev.root'
0035
0036 )
0037 )
0038
0039
0040
0041
0042
0043
0044
0045 process.RECOoutput = cms.OutputModule("PoolOutputModule",
0046 splitLevel = cms.untracked.int32(0),
0047 fileName = cms.untracked.string('RECO.root'),
0048 dataset = cms.untracked.PSet(
0049 filterName = cms.untracked.string(''),
0050 dataTier = cms.untracked.string('GEN-SIM-RECO')
0051 ),
0052
0053
0054 )
0055
0056
0057
0058 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0059 process.GlobalTag.globaltag = '75X_dataRun2_HLTHI_v4'
0060
0061
0062 from RecoLocalTracker.SiStripZeroSuppression.DefaultAlgorithms_cff import *
0063 process.siStripZeroSuppression.produceRawDigis = cms.bool(False)
0064 process.siStripZeroSuppression.produceCalculatedBaseline = cms.bool(False)
0065 process.siStripZeroSuppression.produceBaselinePoints = cms.bool(False)
0066 process.siStripZeroSuppression.storeCM = cms.bool(True)
0067 process.siStripZeroSuppression.produceHybridFormat = cms.bool(False)
0068 process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string('Median')
0069 process.siStripZeroSuppression.Algorithms.MeanCM = cms.int32(512)
0070 process.siStripZeroSuppression.Algorithms.DeltaCMThreshold = cms.uint32(20)
0071 process.siStripZeroSuppression.Algorithms.Use10bitsTruncation = cms.bool(True)
0072
0073 process.siStripDigis.ProductLabel=cms.InputTag('myRawDataCollector')
0074
0075 process.TFileService = cms.Service("TFileService",
0076 fileName=cms.string("Baselines.root"))
0077
0078 process.hybridAna = cms.EDAnalyzer("SiStripHybridFormatAnalyzer",
0079
0080 srcDigis = cms.InputTag('siStripZeroSuppression','VirginRaw'),
0081 srcAPVCM = cms.InputTag('siStripZeroSuppression','APVCMVirginRaw'),
0082 nModuletoDisplay = cms.uint32(10000),
0083 plotAPVCM = cms.bool(True)
0084 )
0085
0086
0087
0088 process.raw2digi_step = cms.Path(process.siStripDigis)
0089
0090 process.reconstruction_step = cms.Path(process.siStripZeroSuppression)
0091
0092
0093 process.RECOoutput_step = cms.EndPath(process.RECOoutput)
0094
0095
0096
0097 process.schedule = cms.Schedule(process.raw2digi_step,process.reconstruction_step, process.RECOoutput_step)