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/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/175/975/E023428B-43DB-E011-9085-BCAEC518FF89.root',
0024         '/store/data/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/175/975/DE59CE6D-41DB-E011-8307-BCAEC5364C4C.root',
0025         '/store/data/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/175/975/C8A54155-42DB-E011-8C22-BCAEC53296FB.root',
0026         '/store/data/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/175/975/C05CE0A1-3EDB-E011-9A9C-0030486780B4.root',
0027         '/store/data/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/175/975/BEF31C0B-95DB-E011-B882-003048D3756A.root',
0028         '/store/data/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/175/975/4804F374-A1DB-E011-8442-BCAEC532971C.root',
0029         '/store/data/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/175/975/1C15796C-3FDB-E011-A634-BCAEC518FF74.root',
0030         '/store/data/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/175/975/0C9CA39C-40DB-E011-B7C0-BCAEC5329707.root',
0031         '/store/data/Run2011B/TestEnablesEcalHcalDT/RAW/v1/000/175/975/04491905-95DB-E011-B880-BCAEC518FF6E.root',    ),
0032      duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
0033                             )
0034 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1))
0035 #-------------- EcnaSystemPythoModuleInsert_2_data / beginning
0036 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
0037 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
0038 process.ecalEBunpacker.InputLabel = cms.InputTag('hltEcalCalibrationRaw')
0039 
0040 # ECAL Geometry:
0041 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0042 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
0043 
0044 # Calo geometry service model
0045 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0046 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0047 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0048 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0049 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
0050 
0051 #-------------- module for the CNA test
0052 process.myCnaPackage = cms.EDAnalyzer("EcnaAnalyzer",
0053                                       digiProducer = cms.string("ecalEBunpacker"),
0054                                       #-------------- Getting Event Header
0055                                       eventHeaderProducer = cms.string("ecalEBunpacker"),
0056                                       eventHeaderCollection = cms.string(""),
0057                                       #-------------- Getting Digis
0058                                       EBdigiCollection = cms.string("ebDigis"),
0059                                       EEdigiCollection = cms.string("eeDigis"),
0060 #-------------- EcnaSystemPythoModuleInsert_2 _data/ end
0061 
0062                                       #-------------- Getting Parameters
0063                                       sAnalysisName  = cms.string("AdcPeg12"),
0064                                       sNbOfSamples   = cms.string("10"),
0065                                       sFirstReqEvent = cms.string("1"),
0066                                       sLastReqEvent  = cms.string("0"),
0067                                       sReqNbOfEvts   = cms.string("150"),
0068                                       sStexName      = cms.string("SM"),
0069                                       sStexNumber    = cms.string("0") 
0070                                       )
0071 #-------------- EcnaSystemPythoModuleInsert_3 / beginning
0072 process.p = cms.Path(process.ecalEBunpacker*process.myCnaPackage)
0073 #-------------- EcnaSystemPythoModuleInsert_3 / end
0074