CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/Validation/CaloTowers/python/CaloTowersValidation_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff import *
00004 from Configuration.StandardSequences.Simulation_cff import *
00005 from SimGeneral.MixingModule.mixNoPU_cfi import *
00006 from Configuration.StandardSequences.Reconstruction_cff import *
00007 from Configuration.StandardSequences.FrontierConditions_GlobalTag_cff import *
00008 GlobalTag.globaltag = 'MC_31X_V3::All'
00009 
00010 from DQMServices.Core.DQM_cfg import *
00011 maxEvents = cms.untracked.PSet(
00012     input = cms.untracked.int32(-1)
00013 )
00014 source = cms.Source("PoolSource",
00015     debugFlag = cms.untracked.bool(True),
00016     debugVebosity = cms.untracked.uint32(10),
00017     fileNames = cms.untracked.vstring('file:/')
00018 )
00019 
00020 MessageLogger = cms.Service("MessageLogger")
00021 
00022 myanalyzer = cms.EDAnalyzer("CaloTowersValidation",
00023     outputFile = cms.untracked.string('CaloTowersValidationHB.root'),
00024     CaloTowerCollectionLabel = cms.untracked.string('towerMaker'),
00025     hcalselector = cms.untracked.string('HB')
00026 )
00027 
00028 DQM.collectorHost = ''
00029 
00030 #--- DigiToRaw <-> RawToDigi
00031 from Configuration.StandardSequences.DigiToRaw_cff import *
00032 from Configuration.StandardSequences.RawToDigi_cff  import *
00033 
00034 ### Special - CaloOnly ------------------------------------
00035 
00036 #--- comes from DigiToRaw_cff.py
00037 ecalPacker.Label = 'simEcalDigis'
00038 ecalPacker.InstanceEB = 'ebDigis'
00039 ecalPacker.InstanceEE = 'eeDigis'
00040 ecalPacker.labelEBSRFlags = "simEcalDigis:ebSrFlags"
00041 ecalPacker.labelEESRFlags = "simEcalDigis:eeSrFlags"
00042 #
00043 #- hcalRawData (EventFilter/HcalRawToDigi/python/HcalDigiToRaw_cfi.py
00044 #                 uses simHcalDigis by default...
00045 
00046 
00047 #--- to force RAW->Digi
00048 ecalDigis.InputLabel = 'rawDataCollector'
00049 hcalDigis.InputLabel = 'rawDataCollector'
00050 ecalPreshowerDigis.sourceTag = 'rawDataCollector'
00051 
00052 #--- calolocalreco = cms.Sequence(ecalLocalRecoSequence+hcalLocalRecoSequence)
00053 # RecoLocalCalo.Configuration.ecalLocalRecoSequence_cff
00054 # RecoLocalCalo.Configuration.hcalLocalReco_cff
00055 
00056 
00057 p = cms.Path(
00058  mix *
00059  calDigi *
00060  ecalPacker *
00061  esDigiToRaw *
00062  hcalRawData *
00063  rawDataCollector *
00064  ecalDigis *
00065  ecalPreshowerDigis *
00066  hcalDigis *
00067  calolocalreco *
00068  caloTowersRec *
00069  myanalyzer
00070 )
00071