CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TRCToffline_cff.py
Go to the documentation of this file.
2 
3 emap_from_ascii = cms.ESSource("HcalTextCalibrations",
4  input = cms.VPSet(cms.PSet(
5  object = cms.string('ElectronicsMap'),
6  file = cms.FileInPath('official_emap_v5_080208.txt.new_trig')
7  ))
8 )
9 #es_prefer = cms.ESPrefer("HcalTextCalibrations","emap_from_ascii")
10 
11 #global configuration
13 es_prefer_GlobalTag = cms.ESPrefer("PoolDBESSource","GlobalTag")
14 #off-line
15 GlobalTag.globaltag = 'CRUZET4_V1::All'
16 GlobalTag.connect = 'frontier://FrontierProd/CMS_COND_21X_GLOBALTAG'
17 #on-line
18 #GlobalTag.globaltag = 'CRZT210_V1H::All'
19 #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'
20 
21 
22 #unpacking
24 
25 #emulator/comparator
28 
29 #for LUTs
31 
32 
33 #dqm
34 rctEmulDigis = cms.EDProducer("L1RCTProducer",
35  hcalDigis = cms.VInputTag(cms.InputTag("hcalTriggerPrimitiveDigis")),
36  useDebugTpgScales = cms.bool(True),
37  useEcal = cms.bool(True),
38  useHcal = cms.bool(True),
39  ecalDigis = cms.VInputTag(cms.InputTag("ecalTriggerPrimitiveDigis")),
40  BunchCrossings = cms.vint32(0)
41 )
42 
43 rctEmulDigis.hcalDigis = cms.VInputTag(cms.InputTag("hcalDigis"))
44 #rctEmulDigis.ecalDigis=cms.VInputTag(cms.InputTag("ecalEBunpacker"))
45 rctEmulDigis.ecalDigis = cms.VInputTag(cms.InputTag("ecalDigis:EcalTriggerPrimitives"))
46 
47 l1tderct = cms.EDAnalyzer("L1TdeRCT",
48  rctSourceData = cms.InputTag("l1GctHwDigis"),
49  HistFolder = cms.untracked.string('L1TEMU/L1TdeRCT'),
50  outputFile = cms.untracked.string('./L1TDQM.root'),
51  verbose = cms.untracked.bool(False),
52  DQMStore = cms.untracked.bool(True),
53  singlechannelhistos = cms.untracked.bool(False),
54  ecalTPGData = cms.InputTag("",""),
55  rctSourceEmul = cms.InputTag("rctDigis"),
56  disableROOToutput = cms.untracked.bool(False),
57  hcalTPGData = cms.InputTag("")
58 )
59 
60 l1tderct.rctSourceData = 'gctDigis'
61 l1tderct.rctSourceEmul = 'rctEmulDigis'
62 #l1tderct.ecalTPGData = 'ecalEBunpacker:EcalTriggerPrimitives'
63 l1tderct.ecalTPGData = 'ecalDigis:EcalTriggerPrimitives'
64 l1tderct.hcalTPGData = 'hcalDigis'
65 
66 l1trct = cms.EDAnalyzer("L1TRCT",
67  DQMStore = cms.untracked.bool(True),
68  disableROOToutput = cms.untracked.bool(False),
69  outputFile = cms.untracked.string('./L1TDQM.root'),
70  rctSource = cms.InputTag("l1GctHwDigis","","DQM"),
71  verbose = cms.untracked.bool(False)
72 )
73 
74 l1trct.rctSource = 'gctDigis'
75 
76 p = cms.Path(
77  cms.SequencePlaceholder("RawToDigi")
78  *cms.SequencePlaceholder("rctEmulDigis")
79  *cms.SequencePlaceholder("l1trct")
80  *cms.SequencePlaceholder("l1tderct")
81  )
82 
83 
84 
85