File indexing completed on 2024-04-06 11:57:46
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process("ECNA")
0005
0006
0007 process.MessageLogger = cms.Service("MessageLogger",
0008 cerr = cms.untracked.PSet(
0009 enable = cms.untracked.bool(False)
0010 ),
0011 files = cms.untracked.PSet(
0012 last_job_INFOS = cms.untracked.PSet(
0013 extension = cms.untracked.string('txt')
0014 )
0015 ),
0016 suppressInfo = cms.untracked.vstring('ecalEBunpacker')
0017 )
0018
0019
0020
0021 process.source = cms.Source("PoolSource",
0022 fileNames = cms.untracked.vstring(
0023 '/store/data/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/178/231/D8EC3AC0-E1F3-E011-A784-003048678110.root',
0024 '/store/data/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/178/231/A6B985E2-DEF3-E011-9A95-0030486780B8.root',
0025 '/store/data/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/178/231/5CFCB4AF-DAF3-E011-ADCB-003048D3756A.root',
0026 '/store/data/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/178/231/121DFE24-D7F3-E011-AD82-003048D2C020.root'
0027 ),
0028 duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
0029 )
0030 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1))
0031
0032 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
0033 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
0034 process.ecalEBunpacker.InputLabel = cms.InputTag('hltEcalCalibrationRaw')
0035
0036
0037 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0038 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
0039
0040
0041 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0042 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0043 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0044 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0045 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
0046
0047
0048 process.myCnaPackage = cms.EDAnalyzer("EcnaAnalyzer",
0049 digiProducer = cms.string("ecalEBunpacker"),
0050
0051 eventHeaderProducer = cms.string("ecalEBunpacker"),
0052 eventHeaderCollection = cms.string(""),
0053
0054 EBdigiCollection = cms.string("ebDigis"),
0055 EEdigiCollection = cms.string("eeDigis"),
0056
0057
0058
0059 sAnalysisName = cms.string("AdcPeg12"),
0060 sNbOfSamples = cms.string("10"),
0061 sFirstReqEvent = cms.string("1"),
0062 sLastReqEvent = cms.string("0"),
0063 sReqNbOfEvts = cms.string("150"),
0064 sStexName = cms.string("Dee"),
0065 sStexNumber = cms.string("0")
0066 )
0067
0068 process.p = cms.Path(process.ecalEBunpacker*process.myCnaPackage)
0069
0070