test
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  FG_HF_threshold = cms.uint32(17), ## threshold for setting fine grain bit
19  ZS_threshold = cms.uint32(1), ## threshold for setting fine grain bit
20  numberOfSamples = cms.int32(4),
21  numberOfPresamples = cms.int32(2),
22  numberOfSamplesHF = cms.int32(4),
23  numberOfPresamplesHF = cms.int32(2),
24  MinSignalThreshold = cms.uint32(0), # For HF PMT veto
25  PMTNoiseThreshold = cms.uint32(0), # For HF PMT veto
26  LSConfig=LSParameter,
27 
28 
29 #
30  #vdouble weights = { -1, -1, 1, 1} //low lumi algo
31  # Input digi label (_must_ be without zero-suppression!)
32  inputLabel = cms.VInputTag(cms.InputTag('simHcalUnsuppressedDigis'),
33  cms.InputTag('simHcalUnsuppressedDigis')),
34  InputTagFEDRaw = cms.InputTag("rawDataCollector"),
35  RunZS = cms.bool(False),
36  FrontEndFormatError = cms.bool(False), # Front End Format Error, for real data only
37  PeakFinderAlgorithm = cms.int32(2),
38 
39  HFTPScaleShift = hfTPScaleShift,
40 )