1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
import FWCore.ParameterSet.Config as cms
import EventFilter.EcalRawToDigi.ecalRawToDigi_cfi
ecalEBunpacker = EventFilter.EcalRawToDigi.ecalRawToDigi_cfi.ecalRawToDigi.clone()
ecalEBunpacker.orderedDCCIdList = cms.vint32(1, 2, 3, 4, 5,
6, 7, 8, 9, 10,
11, 12, 13, 14, 15,
16, 17, 18, 19, 20,
21, 22, 23, 24, 25,
26, 27, 28, 29, 30,
31, 32, 33, 34, 35,
36, 37, 38, 39, 40,
41, 42, 43, 44, 45,
46, 47, 48, 49, 50,
51, 52, 53, 54)
ecalEBunpacker.FedLabel = cms.InputTag("listfeds")
ecalEBunpacker.srpUnpacking = cms.bool(True)
ecalEBunpacker.syncCheck = cms.bool(True)
ecalEBunpacker.headerUnpacking = cms.bool(True)
ecalEBunpacker.tccUnpacking = cms.bool(True)
ecalEBunpacker.feUnpacking = cms.bool(True)
# Default values
ecalEBunpacker.numbXtalTSamples = cms.int32(10)
ecalEBunpacker.numbTriggerTSamples = cms.int32(1)
# 32int numbTriggerTSamples = 1
# if no 2 input vectors are specified, hard coded default DCCId:FedId correspondence:
# 1:601, 2:602 ... 54:654
# is used
# For special mappings, use the two ordered vectors here below
# example1: the same as what loaded
ecalEBunpacker.orderedFedList = cms.vint32(601, 602, 603, 604, 605,
606, 607, 608, 609, 610,
611, 612, 613, 614, 615,
616, 617, 618, 619, 620,
621, 622, 623, 624, 625,
626, 627, 628, 629, 630,
631, 632, 633, 634, 635,
636, 637, 638, 639, 640,
641, 642, 643, 644, 645,
646, 647, 648, 649, 650,
651, 652, 653, 654)
# example 2: fedId used by the DCC at th cosmics stand
# vint32 FEDs = {13}
# example 3: fedId used at the best beams (e.g. SM22)
# vint32 FEDs = {22}
# By default these are true
ecalEBunpacker.eventPut = cms.bool(True)
ecalEBunpacker.InputLabel = cms.InputTag('rawDataCollector')
# InputLabel = cms.InputTag('rawDataCollector'),
ecalEBunpacker.feIdCheck = cms.bool(True)
# by default whole ECAL fedId range is loaded, 600-670.
# This is in case a selection was needed.
# fedId==13 is special case for ECAL cosmic stand
# example 1: all the feds allocated to ECAL DCC's are selected by providing this whole explicit list
ecalEBunpacker.FEDs = cms.vint32(601, 602, 603, 604, 605,
606, 607, 608, 609, 610,
611, 612, 613, 614, 615,
616, 617, 618, 619, 620,
621, 622, 623, 624, 625,
626, 627, 628, 629, 630,
631, 632, 633, 634, 635,
636, 637, 638, 639, 640,
641, 642, 643, 644, 645,
646, 647, 648, 649, 650,
651, 652, 653, 654)
# example2: special case cosmic stand like (SM-any in EB+01)
# vint32 orderedFedList = {13}
# vint32 orderedDCCIdList = {28}
# example3: special case test beam like (SM-22 in EB+01)
# vint32 orderedFedList = {22}
# vint32 orderedDCCIdList = {28}
ecalEBunpacker.DoRegional = cms.bool(False)
ecalEBunpacker.memUnpacking = cms.bool(True)
ecalEBunpacker.silentMode = cms.untracked.bool(True)
ecalEBunpacker.forceToKeepFRData = cms.bool(False)
|