CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/L1TMonitor/python/L1TRCToffline_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 emap_from_ascii = cms.ESSource("HcalTextCalibrations",
00004     input = cms.VPSet(cms.PSet(
00005         object = cms.string('ElectronicsMap'),
00006         file = cms.FileInPath('official_emap_v5_080208.txt.new_trig')
00007     ))
00008 )
00009 #es_prefer = cms.ESPrefer("HcalTextCalibrations","emap_from_ascii")
00010 
00011 #global Configuration
00012 from Configuration.StandardSequences.FrontierConditions_GlobalTag_cff import *
00013 es_prefer_GlobalTag = cms.ESPrefer("PoolDBESSource","GlobalTag")
00014 #off-line
00015 GlobalTag.GlobalTag = 'CRUZET4_V1::All'
00016 GlobalTag.connect = 'frontier://FrontierProd/CMS_COND_21X_GLOBALTAG'
00017 #on-line
00018 #GlobalTag.GlobalTag = 'CRZT210_V1H::All'
00019 #GlobalTag.connect = 'frontier://(proxyurl=http://localhost:3128)(serverurl=http://frontier1.cms:8000/FrontierOnProd)(serverurl=http://frontier2.cms:8000/FrontierOnProd)(retrieve-ziplevel=0)/CMS_COND_21X_GLOBALTAG'
00020 
00021 
00022 #unpacking
00023 from Configuration.StandardSequences.RawToDigi_Data_cff import *
00024 
00025 #emulator/comparator
00026 from L1Trigger.HardwareValidation.L1HardwareValidation_cff import *
00027 from L1Trigger.Configuration.L1Config_cff import *
00028 
00029 #for LUTs
00030 from DQM.L1TMonitor.Rct_LUTconfiguration_cff import *
00031 
00032 
00033 #dqm
00034 rctEmulDigis = cms.EDProducer("L1RCTProducer",
00035     hcalDigis = cms.VInputTag(cms.InputTag("hcalTriggerPrimitiveDigis")),
00036     useDebugTpgScales = cms.bool(True),
00037     useEcal = cms.bool(True),
00038     useHcal = cms.bool(True),
00039     ecalDigis = cms.VInputTag(cms.InputTag("ecalTriggerPrimitiveDigis")),
00040     BunchCrossings = cms.vint32(0)                      
00041 )
00042 
00043 rctEmulDigis.hcalDigis = cms.VInputTag(cms.InputTag("hcalDigis"))
00044 #rctEmulDigis.ecalDigis=cms.VInputTag(cms.InputTag("ecalEBunpacker"))
00045 rctEmulDigis.ecalDigis = cms.VInputTag(cms.InputTag("ecalDigis:EcalTriggerPrimitives"))
00046 
00047 L1TdeRCT = cms.EDAnalyzer("L1TdeRCT",
00048     rctSourceData = cms.InputTag("l1GctHwDigis"),
00049     HistFolder = cms.untracked.string('L1TEMU/L1TdeRCT'),
00050     outputFile = cms.untracked.string('./L1TDQM.root'),
00051     verbose = cms.untracked.bool(False),
00052     DQMStore = cms.untracked.bool(True),
00053     singlechannelhistos = cms.untracked.bool(False),
00054     ecalTPGData = cms.InputTag("",""),
00055     rctSourceEmul = cms.InputTag("rctDigis"),
00056     disableROOToutput = cms.untracked.bool(False),
00057     hcalTPGData = cms.InputTag("")
00058 )
00059 
00060 L1TdeRCT.rctSourceData = 'gctDigis'
00061 L1TdeRCT.rctSourceEmul = 'rctEmulDigis'
00062 #L1TdeRCT.ecalTPGData = 'ecalEBunpacker:EcalTriggerPrimitives'
00063 L1TdeRCT.ecalTPGData = 'ecalDigis:EcalTriggerPrimitives'
00064 L1TdeRCT.hcalTPGData = 'hcalDigis'
00065 
00066 L1TRCT = cms.EDAnalyzer("L1TRCT",
00067     DQMStore = cms.untracked.bool(True),
00068     disableROOToutput = cms.untracked.bool(False),
00069     outputFile = cms.untracked.string('./L1TDQM.root'),
00070     rctSource = cms.InputTag("l1GctHwDigis","","DQM"),
00071     verbose = cms.untracked.bool(False)
00072 )
00073 
00074 L1TRCT.rctSource = 'gctDigis'
00075 
00076 p = cms.Path(
00077     cms.SequencePlaceholder("RawToDigi")
00078     *cms.SequencePlaceholder("rctEmulDigis")
00079     *cms.SequencePlaceholder("L1TRCT")
00080     *cms.SequencePlaceholder("L1TdeRCT")
00081     )
00082 
00083 
00084 
00085