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 LSParameter =cms.untracked.PSet(
4 HcalFeatureHFEMBit= cms.bool(False),
5 Min_Long_Energy= cms.double(10),#makes a cut based on energy deposited in short vrs long
6  Min_Short_Energy= cms.double(10),
7  Long_vrs_Short_Slope= cms.double(100.2),
8  Long_Short_Offset= cms.double(10.1))
9 
10 
11 simHcalTriggerPrimitiveDigis = cms.EDProducer("HcalTrigPrimDigiProducer",
12  peakFilter = cms.bool(True),
13  weights = cms.vdouble(1.0, 1.0), ##hardware algo
14  latency = cms.int32(1),
15  FG_threshold = cms.uint32(12), ## threshold for setting fine grain bit
16  ZS_threshold = cms.uint32(1), ## threshold for setting fine grain bit
17  numberOfSamples = cms.int32(4),
18  numberOfPresamples = cms.int32(2),
19  numberOfSamplesHF = cms.int32(4),
20  numberOfPresamplesHF = cms.int32(2),
21  MinSignalThreshold = cms.uint32(0), # For HF PMT veto
22  PMTNoiseThreshold = cms.uint32(0), # For HF PMT veto
23  LSConfig=LSParameter,
24 
25 
26 #
27  #vdouble weights = { -1, -1, 1, 1} //low lumi algo
28  # Input digi label (_must_ be without zero-suppression!)
29  inputLabel = cms.VInputTag(cms.InputTag('simHcalUnsuppressedDigis'),
30  cms.InputTag('simHcalUnsuppressedDigis')),
31  InputTagFEDRaw = cms.InputTag("rawDataCollector"),
32  RunZS = cms.bool(False),
33  FrontEndFormatError = cms.bool(False), # Front End Format Error, for real data only
34  PeakFinderAlgorithm = cms.int32(2)
35 
36 )