Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:32:10

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff import *
0004 from Configuration.StandardSequences.Simulation_cff import *
0005 from SimGeneral.MixingModule.mixNoPU_cfi import *
0006 from Configuration.StandardSequences.Reconstruction_cff import *
0007 from Configuration.StandardSequences.FrontierConditions_GlobalTag_cff import *
0008 GlobalTag.globaltag = 'MC_31X_V3::All'
0009 
0010 from DQMServices.Core.DQM_cfg import *
0011 maxEvents = cms.untracked.PSet(
0012     input = cms.untracked.int32(-1)
0013 )
0014 source = cms.Source("PoolSource",
0015     debugFlag = cms.untracked.bool(True),
0016     debugVebosity = cms.untracked.uint32(10),
0017     fileNames = cms.untracked.vstring('file:/')
0018 )
0019 
0020 MessageLogger = cms.Service("MessageLogger")
0021 
0022 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0023 myanalyzer = DQMEDAnalyzer('CaloTowersValidation',
0024     outputFile = cms.untracked.string('CaloTowersValidationHB.root'),
0025     CaloTowerCollectionLabel = cms.untracked.string('towerMaker'),
0026     hcalselector = cms.untracked.string('HB')
0027 )
0028 
0029 DQM.collectorHost = ''
0030 
0031 #--- DigiToRaw <-> RawToDigi
0032 from Configuration.StandardSequences.DigiToRaw_cff import *
0033 from Configuration.StandardSequences.RawToDigi_cff  import *
0034 
0035 ### Special - CaloOnly ------------------------------------
0036 
0037 #--- comes from DigiToRaw_cff.py
0038 ecalPacker.Label = 'simEcalDigis'
0039 ecalPacker.InstanceEB = 'ebDigis'
0040 ecalPacker.InstanceEE = 'eeDigis'
0041 ecalPacker.labelEBSRFlags = "simEcalDigis:ebSrFlags"
0042 ecalPacker.labelEESRFlags = "simEcalDigis:eeSrFlags"
0043 #
0044 #- hcalRawData (EventFilter/HcalRawToDigi/python/HcalDigiToRaw_cfi.py
0045 #                 uses simHcalDigis by default...
0046 
0047 
0048 #--- to force RAW->Digi
0049 ecalDigis.InputLabel = 'rawDataCollector'
0050 hcalDigis.InputLabel = 'rawDataCollector'
0051 ecalPreshowerDigis.sourceTag = 'rawDataCollector'
0052 
0053 #--- calolocalreco = cms.Sequence(ecalLocalRecoSequence+hcalLocalRecoSequence)
0054 # RecoLocalCalo.Configuration.ecalLocalRecoSequence_cff
0055 # RecoLocalCalo.Configuration.hcalLocalReco_cff
0056 
0057 
0058 p = cms.Path(
0059  mix *
0060  calDigi *
0061  ecalPacker *
0062  esDigiToRaw *
0063  hcalRawData *
0064  rawDataCollector *
0065  ecalDigis *
0066  ecalPreshowerDigis *
0067  hcalDigis *
0068  calolocalreco *
0069  caloTowersRec *
0070  myanalyzer
0071 )
0072