CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ecalDigis_craft_cfi.py
Go to the documentation of this file.
2 
3 simEcalDigis = cms.EDProducer("EcalSelectiveReadoutProducer",
4  # Label of input EB and EE digi collections
5  digiProducer = cms.string('simEcalUnsuppressedDigis'),
6 
7  # Instance name of input EB digi collections
8  EBdigiCollection = cms.string(''),
9 
10  # Instance name of input EB digi collections
11  EEdigiCollection = cms.string(''),
12 
13  # Instance name of output EB SR flags collection
14  EBSrFlagCollection = cms.string('ebSrFlags'),
15 
16  # Instance name of output EE SR flags collection
17  EESrFlagCollection = cms.string('eeSrFlags'),
18 
19  # Instance name of output EB digis collection
20  EBSRPdigiCollection = cms.string('ebDigis'),
21 
22  # Instance name of output EE digis collection
23  EESRPdigiCollection = cms.string('eeDigis'),
24 
25  # Label name of input ECAL trigger primitive collection
26  trigPrimProducer = cms.string('simEcalTriggerPrimitiveDigis'),
27 
28  # Instance name of ECAL trigger primitive collection
29  trigPrimCollection = cms.string(''),
30 
31  # Neighbour eta range, neighborhood: (2*deltaEta+1)*(2*deltaPhi+1)
32  deltaEta = cms.int32(1),
33 
34  # Neighbouring eta range, neighborhood: (2*deltaEta+1)*(2*deltaPhi+1)
35  deltaPhi = cms.int32(1),
36 
37  # Index of time sample (staring from 1) the first DCC weights is implied
38  ecalDccZs1stSample = cms.int32(3),
39 
40  # ADC to GeV conversion factor used in ZS filter for EB
41  ebDccAdcToGeV = cms.double(0.035),
42 
43  # ADC to GeV conversion factor used in ZS filter for EE
44  eeDccAdcToGeV = cms.double(0.06),
45 
46  #DCC ZS FIR weights.
47  #d-efault value set of DCC firmware used in CRUZET and CRAFT
48  dccNormalizedWeights = cms.vdouble(-1.1865, 0.0195, 0.2900, 0.3477, 0.3008,
49  0.2266),
50 
51  # Switch to use a symetric zero suppression (cut on absolute value). For
52  # studies only, for time being it is not supported by the hardware.
53  symetricZS = cms.bool(False),
54 
55  # ZS energy threshold in GeV to apply to low interest channels of barrel
56  srpBarrelLowInterestChannelZS = cms.double(3*.035),
57 
58  # ZS energy threshold in GeV to apply to low interest channels of endcap
59  srpEndcapLowInterestChannelZS = cms.double(3*0.06),
60 
61  # ZS energy threshold in GeV to apply to high interest channels of barrel
62  srpBarrelHighInterestChannelZS = cms.double(-1.e9),
63 
64  # ZS energy threshold in GeV to apply to high interest channels of endcap
65  srpEndcapHighInterestChannelZS = cms.double(-1.e9),
66 
67  #switch to run w/o trigger primitive. For debug use only
68  trigPrimBypass = cms.bool(False),
69 
70  #for debug mode only:
71  trigPrimBypassLTH = cms.double(1.0),
72 
73  #for debug mode only:
74  trigPrimBypassHTH = cms.double(1.0),
75 
76  #for debug mode only
77  trigPrimBypassWithPeakFinder = cms.bool(True),
78 
79  # Mode selection for "Trig bypass" mode
80  # 0: TT thresholds applied on sum of crystal Et's
81  # 1: TT thresholds applies on compressed Et from Trigger primitive
82  # @ee trigPrimByPass_ switch
83  trigPrimBypassMode = cms.int32(0),
84 
85  #number of events whose TT and SR flags must be dumped (for debug purpose):
86  dumpFlags = cms.untracked.int32(0),
87 
88  #logical flag to write out SrFlags
89  writeSrFlags = cms.untracked.bool(True),
90 
91  #switch to apply selective readout decision on the digis and produce
92  #the "suppressed" digis
93  produceDigis = cms.untracked.bool(True),
94 
95  #Trigger Tower Flag to use when a flag is not found from the input
96  #Trigger Primitive collection. Must be one of the following values:
97  # 0: low interest, 1: mid interest, 3: high interest
98  # 4: forced low interest, 5: forced mid interest, 7: forced high interest
99  defaultTtf_ = cms.int32(4),
100 
101  # SR->action flag map
102  actions = cms.vint32(1, 3, 3, 3, 5, 7, 7, 7)
103 )
104 
105 
106