Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
import FWCore.ParameterSet.Config as cms

from L1Trigger.CSCTriggerPrimitives.CSCCommonTrigger_cfi import *
csctfunpacker = cms.EDProducer("CSCTFUnpacker",
    CSCCommonTrigger,
    # Set all values to 0 if you trust hardware settings
    # Keep in mind that +Z (positive endcap) has sectors 1-6 and -Z (negative endcap) 7-12
    slot2sector = cms.vint32(0, 0, 0, 0, 0,
        0, 0, 0, 0, 0,
        0, 0, 0, 0, 0,
        0, 0, 0, 0, 0,
        0, 0),
    # Mapping file (default one-to-one applied if empty):
    mappingFile = cms.string(''),
    # Agreement in CSC community to shift and reverse ME-1 strips as opposed to hardware
    swapME1strips = cms.bool(False),
    # Specify label of the module which produces raw CSCTF data
    producer = cms.InputTag("rawDataCollector")
)