CMS 3D CMS Logo

ecalDigis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
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  # Switch for reading SRP settings from condition database
26  configFromCondDB = cms.bool(True),
27 
28  # Switch to turn off SRP altogether using special DB payload
29  UseFullReadout = cms.bool(False),
30 
31  # ES label?
32  # NZSLabel = cms.ESInputTag(' '),
33 
34  # Label name of input ECAL trigger primitive collection
35  trigPrimProducer = cms.string('simEcalTriggerPrimitiveDigis'),
36 
37  # Instance name of ECAL trigger primitive collection
38  trigPrimCollection = cms.string(''),
39 
40  #switch to run w/o trigger primitive. For debug use only
41  trigPrimBypass = cms.bool(False),
42 
43  # Mode selection for "Trig bypass" mode
44  # 0: TT thresholds applied on sum of crystal Et's
45  # 1: TT thresholds applies on compressed Et from Trigger primitive
46  # @ee trigPrimByPass_ switch
47  trigPrimBypassMode = cms.int32(0),
48 
49  #for debug mode only:
50  trigPrimBypassLTH = cms.double(1.0),
51 
52  #for debug mode only:
53  trigPrimBypassHTH = cms.double(1.0),
54 
55  #for debug mode only
56  trigPrimBypassWithPeakFinder = cms.bool(True),
57 
58  #number of events whose TT and SR flags must be dumped (for debug purpose):
59  dumpFlags = cms.untracked.int32(0),
60 
61  #logical flag to write out SrFlags
62  writeSrFlags = cms.untracked.bool(True),
63 
64  #switch to apply selective readout decision on the digis and produce
65  #the "suppressed" digis
66  produceDigis = cms.untracked.bool(True),
67 
68  #Trigger Tower Flag to use when a flag is not found from the input
69  #Trigger Primitive collection. Must be one of the following values:
70  # 0: low interest, 1: mid interest, 3: high interest
71  # 4: forced low interest, 5: forced mid interest, 7: forced high interest
72  defaultTtf = cms.int32(4)
73 )