Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:46:45

0001 #-------------- EcnaSystemPythoModuleInsert_1 / beginning
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("ECNA")
0005 
0006 #-------------- Message Logger
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 #-------------- EcnaSystemPythoModuleInsert_1 / end
0019  
0020 #-------------- Source
0021 process.source = cms.Source("PoolSource",
0022                             fileNames = cms.untracked.vstring(
0023         '/store/data/Run2011A/TestEnablesEcalHcalDT/RAW/v1/000/170/298/FC502337-3EB0-E011-9D46-003048D37538.root',
0024         '/store/data/Run2011A/TestEnablesEcalHcalDT/RAW/v1/000/170/298/68705920-43B0-E011-A408-BCAEC53296FD.root',
0025         '/store/data/Run2011A/TestEnablesEcalHcalDT/RAW/v1/000/170/298/42BAD0CF-48B0-E011-AC48-BCAEC518FF6B.root',
0026         '/store/data/Run2011A/TestEnablesEcalHcalDT/RAW/v1/000/170/298/1202CBF2-40B0-E011-BD22-BCAEC53296F8.root'
0027 
0028 
0029     ),
0030      duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
0031                             )
0032 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1))
0033 #-------------- EcnaSystemPythoModuleInsert_2_data / beginning
0034 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
0035 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
0036 
0037 # ECAL Geometry:
0038 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0039 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
0040 
0041 # Calo geometry service model
0042 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0043 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0044 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0045 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0046 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
0047 
0048 #-------------- module for the CNA test
0049 process.myCnaPackage = cms.EDAnalyzer("EcnaAnalyzer",
0050                                       digiProducer = cms.string("ecalEBunpacker"),
0051                                       #-------------- Getting Event Header
0052                                       eventHeaderProducer = cms.string("ecalEBunpacker"),
0053                                       eventHeaderCollection = cms.string(""),
0054                                       #-------------- Getting Digis
0055                                       EBdigiCollection = cms.string("ebDigis"),
0056                                       EEdigiCollection = cms.string("eeDigis"),
0057 #-------------- EcnaSystemPythoModuleInsert_2 _data/ end
0058 
0059                                       #-------------- Getting Parameters
0060                                       sAnalysisName  = cms.string("AdcPeg12"),
0061                                       sNbOfSamples   = cms.string("10"),
0062                                       sFirstReqEvent = cms.string("1"),
0063                                       sLastReqEvent  = cms.string("0"),
0064                                       sReqNbOfEvts   = cms.string("150"),
0065                                       sStexName      = cms.string("Dee"),
0066                                       sStexNumber    = cms.string("0") 
0067                                       )
0068 #-------------- EcnaSystemPythoModuleInsert_3 / beginning
0069 process.p = cms.Path(process.ecalEBunpacker*process.myCnaPackage)
0070 #-------------- EcnaSystemPythoModuleInsert_3 / end
0071