Back to home page

Project CMSSW displayed by LXR

 
 

    


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 # import of standard configurations
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 # Input source
0027 process.source = cms.Source("PoolSource",
0028     fileNames = cms.untracked.vstring(
0029     #'file:/data/abaty/VirginRaw_CentralitySkims/VirginRAW_2010_HICorePhysics_SKIM_Cent_0_5_1.root',
0030     #'file:/data/abaty/HLT_Emulated_2010Data/outputHIPhysicsVirginRaw.root'
0031     #'file:/data/abaty/VirginRaw_CentralitySkims/VirginRAW_2010_HICorePhysics_SKIM_Cent_0_5_10.root',
0032     #'/store/hidata/HIRun2015/HITrackerVirginRaw/RAW/v1/000/263/400/00000/40322926-4AA3-E511-95F7-02163E0146A8.root'
0033     #'file:/data/TrackerStudies/2015_VR_forBaselineFollowerStudies_Aug2017.root'
0034     'file:/data/TrackerStudies/RECORealistic100ev.root'
0035     #'file:ROOTFiles/RECORepackFromrawDataCollectro.root'
0036    )
0037 )
0038 
0039 #process.source = cms.Source("NewEventStreamFileReader",
0040 #fileNames = cms.untracked.vstring('root://eoscms.cern.ch//store/t0streamer/Data/HIPhysicsVirginRaw/000/262/296/run262296_ls0223_streamHIPhysicsVirginRaw_StorageManager.dat'
0041 #)
0042 #)
0043 
0044 # Output definition
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     # outputCommands = cms.untracked.vstring('keep *_siStripZeroSuppression_*_*')
0053     
0054 )
0055 
0056 
0057 
0058 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0059 process.GlobalTag.globaltag = '75X_dataRun2_HLTHI_v4'
0060 
0061 ## Offline Silicon Tracker Zero Suppression
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 # Path and EndPath definitions
0088 process.raw2digi_step = cms.Path(process.siStripDigis)
0089 #process.reconstruction_step = cms.Path(process.striptrackerlocalreco+process.moddedZS+process.moddedClust+process.baselineAna+process.moddedbaselineAna+process.clusterMatching)
0090 process.reconstruction_step = cms.Path(process.siStripZeroSuppression)
0091 #process.reconstruction_step = cms.Path(process.striptrackerlocalreco)
0092 #process.endjob_step = cms.EndPath(process.endOfProcess)
0093 process.RECOoutput_step = cms.EndPath(process.RECOoutput)
0094 
0095 
0096 # Schedule definition
0097 process.schedule = cms.Schedule(process.raw2digi_step,process.reconstruction_step, process.RECOoutput_step)