Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ANALYSEMIP")
0004 
0005 # Trigger ###
0006 process.load("L1TriggerConfig.L1GtConfigProducers.L1GtConfig_cff")
0007 process.load("L1TriggerConfig.L1GtConfigProducers.Luminosity.startup.L1Menu_startup_v3_Unprescaled_cff")
0008 process.load("L1TriggerConfig.L1GtConfigProducers.L1GtBoardMapsConfig_cff")
0009 process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerScalesConfig_cff")
0010 process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerPtScaleConfig_cff")
0011 import FWCore.Modules.printContent_cfi
0012 process.dumpEv = FWCore.Modules.printContent_cfi.printContent.clone()
0013 import EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi
0014 process.gtDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
0015 process.gtDigis.DaqGtInputTag = 'source'
0016 
0017 # ECAL Unpacker ###
0018 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
0019 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
0020 
0021 # ECAL TPG Producer ###
0022 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0023 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0024 process.load("MagneticField.Engine.volumeBasedMagneticField_cfi")
0025 process.load("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff")
0026 
0027 # ECAL TPG Analyzer ###
0028 process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
0029 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0030 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0031 
0032 process.tpparams = cms.ESSource("EmptyESSource",
0033     recordName = cms.string('EcalTPGLinearizationConstRcd'),
0034     iovIsRunNotTime = cms.bool(True),
0035     firstValid = cms.vuint32(1)
0036 )
0037 
0038 process.tpparams2 = cms.ESSource("EmptyESSource",
0039     recordName = cms.string('EcalTPGPedestalsRcd'),
0040     iovIsRunNotTime = cms.bool(True),
0041     firstValid = cms.vuint32(1)
0042 )
0043 
0044 process.tpparams3 = cms.ESSource("EmptyESSource",
0045     recordName = cms.string('EcalTPGSlidingWindowRcd'),
0046     iovIsRunNotTime = cms.bool(True),
0047     firstValid = cms.vuint32(1)
0048 )
0049 
0050 process.tpparams4 = cms.ESSource("EmptyESSource",
0051     recordName = cms.string('EcalTPGWeightIdMapRcd'),
0052     iovIsRunNotTime = cms.bool(True),
0053     firstValid = cms.vuint32(1)
0054 )
0055 
0056 process.tpparams5 = cms.ESSource("EmptyESSource",
0057     recordName = cms.string('EcalTPGWeightGroupRcd'),
0058     iovIsRunNotTime = cms.bool(True),
0059     firstValid = cms.vuint32(1)
0060 )
0061 
0062 process.tpparams6 = cms.ESSource("EmptyESSource",
0063     recordName = cms.string('EcalTPGLutGroupRcd'),
0064     iovIsRunNotTime = cms.bool(True),
0065     firstValid = cms.vuint32(1)
0066 )
0067 
0068 process.tpparams7 = cms.ESSource("EmptyESSource",
0069     recordName = cms.string('EcalTPGLutIdMapRcd'),
0070     iovIsRunNotTime = cms.bool(True),
0071     firstValid = cms.vuint32(1)
0072 )
0073 
0074 process.tpparams8 = cms.ESSource("EmptyESSource",
0075     recordName = cms.string('EcalTPGFineGrainEBIdMapRcd'),
0076     iovIsRunNotTime = cms.bool(True),
0077     firstValid = cms.vuint32(1)
0078 )
0079 
0080 process.tpparams9 = cms.ESSource("EmptyESSource",
0081     recordName = cms.string('EcalTPGFineGrainEBGroupRcd'),
0082     iovIsRunNotTime = cms.bool(True),
0083     firstValid = cms.vuint32(1)
0084 )
0085 
0086 process.tpparams10 = cms.ESSource("EmptyESSource",
0087     recordName = cms.string('EcalTPGFineGrainStripEERcd'),
0088     iovIsRunNotTime = cms.bool(True),
0089     firstValid = cms.vuint32(1)
0090 )
0091 
0092 process.tpparams11 = cms.ESSource("EmptyESSource",
0093     recordName = cms.string('EcalTPGFineGrainTowerEERcd'),
0094     iovIsRunNotTime = cms.bool(True),
0095     firstValid = cms.vuint32(1)
0096 )
0097 
0098 process.tpparams12 = cms.ESSource("EmptyESSource",
0099     recordName = cms.string('EcalTPGPhysicsConstRcd'),
0100     iovIsRunNotTime = cms.bool(True),
0101     firstValid = cms.vuint32(1)
0102 )
0103 
0104 process.EcalTrigPrimESProducer = cms.ESProducer("EcalTrigPrimESProducer",
0105     DatabaseFile = cms.untracked.string('TPG_EB.txt')
0106 )
0107 
0108 process.ecalTriggerPrimitiveDigis = cms.EDProducer("EcalTrigPrimProducer",
0109     InstanceEB = cms.string('ebDigis'),
0110     InstanceEE = cms.string(''),
0111     Label = cms.string('ecalEBunpacker'),
0112 
0113     BarrelOnly = cms.bool(True),
0114     Famos = cms.bool(False),
0115     TcpOutput = cms.bool(False),
0116     Debug = cms.bool(False),
0117 
0118     binOfMaximum = cms.int32(6), ## optional from release 200 on, from 1-10
0119                                                    
0120     TTFHighEnergyEB = cms.double(1.0),
0121     TTFHighEnergyEE = cms.double(1.0),
0122     TTFLowEnergyEB = cms.double(1.0), ## this + the following is added from 140_pre4 on
0123     TTFLowEnergyEE = cms.double(1.0)
0124 )
0125 
0126 process.maxEvents = cms.untracked.PSet(
0127     input = cms.untracked.int32(100)
0128 )
0129 process.source = cms.Source("PoolSource",
0130     fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/cms//store/data/Commissioning08/Cosmics/RAW/v1/000/068/000/08E115E1-D1A5-DD11-BCE7-000423D99AA2.root')
0131 )
0132 
0133 
0134 
0135 process.tpAnalyzer = cms.EDAnalyzer("EcalTPGAnalyzer",
0136 
0137     TPCollection = cms.InputTag("ecalEBunpacker","EcalTriggerPrimitives"),
0138     TPEmulatorCollection =  cms.InputTag("ecalTriggerPrimitiveDigis",""),
0139     DigiCollectionEB = cms.InputTag("ecalEBunpacker","ebDigis"),
0140     DigiCollectionEE = cms.InputTag("ecalEBunpacker","eeDigis"),
0141     GTRecordCollection = cms.string('gtDigis'),
0142     TrackMuonCollection = cms.string('globalCosmicMuons1LegBarrelOnly'),
0143                                     
0144     Print = cms.bool(True),
0145     ReadTriggerPrimitives = cms.bool(True),                                    
0146     UseEndCap = cms.bool(False)
0147 
0148 )
0149 
0150 
0151 process.p = cms.Path(process.gtDigis*process.ecalEBunpacker*process.ecalTriggerPrimitiveDigis*process.tpAnalyzer)
0152 process.EcalTrigPrimESProducer.DatabaseFile = 'TPG_startup.txt.gz'
0153