CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fakeEmtfParams_empty_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ## Fills CondFormats from the database
4 from CondCore.CondDB.CondDB_cfi import CondDB
5 CondDB.connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS")
6 
7 
8 ## Fills firmware, pT LUT, and PC LUT versions manually
9 emtfParamsSource = cms.ESSource(
10  "EmptyESSource",
11  recordName = cms.string('L1TMuonEndCapParamsRcd'),
12  iovIsRunNotTime = cms.bool(True),
13  firstValid = cms.vuint32(1)
14  )
15 
16 emtfParams = cms.ESProducer(
17  "L1TMuonEndCapParamsESProducer",
18  ## Version 5 was used for all of 2016
19  ## Version 6 is the first version used in 2017
20  ## Version 7 was deployed June 8, 2017
21  PtAssignVersion = cms.int32(7),
22  ## 123456 is default (most up-to-date) firmware version
23  ## Versions < 50000 correspond to 2016 (labeled according to Alex's FW version number)
24  ## Versions > 50000 coorespond to 2017 (labeled automatically by timestamp)
25  FirmwareVersion = cms.int32(123456),
26  ## v0 corresponds to data/emtf_luts/ph_lut_v1, used for all of 2016
27  ## v1 corresponds to data/emtf_luts/ph_lut_v2, used at the beginning of 2017
28  PrimConvVersion = cms.int32(1)
29  )
30 
31 
32 ## Fills pT LUT XMLs ("forests") manually
33 emtfForestsSource = cms.ESSource(
34  "EmptyESSource",
35  recordName = cms.string('L1TMuonEndCapForestRcd'),
36  iovIsRunNotTime = cms.bool(True),
37  firstValid = cms.vuint32(1)
38  )
39 
40 ## Fills CondFormats from local XML files instead of database.
41 emtfForests = cms.ESProducer(
42  "L1TMuonEndCapForestESProducer",
43  PtAssignVersion = cms.int32(7),
44  bdtXMLDir = cms.string("2017_v7")
45  )