CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cscPacker_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ## baseline configuration in the class itself
4 from EventFilter.CSCRawToDigi.cscPackerDef_cfi import cscPackerDef
5 cscpacker = cscPackerDef.clone()
6 
7 ## In Run-2 common: update the format version for new OTMBs in ME1/1
8 ## Note: in the past, the packing with triggers and pretriggers was disabled
9 ## for Run-2, Run-3 and Phase-2 scenarios. This should no longer be the case
10 ## as of CMSSW_12_0_0_pre5
11 from Configuration.Eras.Modifier_run2_common_cff import run2_common
12 run2_common.toModify( cscpacker,
13  formatVersion = 2013)
14 
15 ## in Run-3 scenarios with GEM: pack GEM clusters
16 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
17 run3_GEM.toModify( cscpacker,
18  useGEMs = True)