CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hcaltpdigi_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from CalibCalorimetry.CaloTPG.CaloTPGTranscoder_cfi import hfTPScaleShift
4 
5 LSParameter =cms.untracked.PSet(
6 HcalFeatureHFEMBit= cms.bool(False),
7 Min_Long_Energy= cms.double(10),#makes a cut based on energy deposited in short vrs long
8  Min_Short_Energy= cms.double(10),
9  Long_vrs_Short_Slope= cms.double(100.2),
10  Long_Short_Offset= cms.double(10.1))
11 
12 
13 simHcalTriggerPrimitiveDigis = cms.EDProducer("HcalTrigPrimDigiProducer",
14  peakFilter = cms.bool(True),
15  weights = cms.vdouble(1.0, 1.0), ##hardware algo
16  latency = cms.int32(1),
17  FG_threshold = cms.uint32(12), ## threshold for setting fine grain bit
18  ZS_threshold = cms.uint32(1), ## threshold for setting fine grain bit
19  numberOfSamples = cms.int32(4),
20  numberOfPresamples = cms.int32(2),
21  numberOfSamplesHF = cms.int32(4),
22  numberOfPresamplesHF = cms.int32(2),
23  MinSignalThreshold = cms.uint32(0), # For HF PMT veto
24  PMTNoiseThreshold = cms.uint32(0), # For HF PMT veto
25  LSConfig=LSParameter,
26 
27 
28 #
29  #vdouble weights = { -1, -1, 1, 1} //low lumi algo
30  # Input digi label (_must_ be without zero-suppression!)
31  inputLabel = cms.VInputTag(cms.InputTag('simHcalUnsuppressedDigis'),
32  cms.InputTag('simHcalUnsuppressedDigis')),
33  InputTagFEDRaw = cms.InputTag("rawDataCollector"),
34  RunZS = cms.bool(False),
35  FrontEndFormatError = cms.bool(False), # Front End Format Error, for real data only
36  PeakFinderAlgorithm = cms.int32(2),
37 
38  HFTPScaleShift = hfTPScaleShift,
39 )