test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
particleFlowRecHitHCAL_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 particleFlowRecHitHCAL = cms.EDProducer("PFCTRecHitProducer",
3  caloTowers = cms.InputTag("towerMakerPF"),
4  hcalRecHitsHBHE = cms.InputTag("hbhereco"),
5  hcalRecHitsHF = cms.InputTag("hfreco"),
6  # cell threshold in barrel
7  thresh_Barrel = cms.double(0.4),
8  # cell threshold in HF
9  thresh_HF = cms.double(0.4),
10  # cell threshold in endcap
11  thresh_Endcap = cms.double(0.4),
12  # Navigation in HF:
13  # False = no real clustering in HF
14  # True = do clustering in HF
15  navigation_HF = cms.bool(True),
16 #AUGUSTE: TO BE CHECKED:
17  weight_HFem = cms.double(1.000),
18  weight_HFhad = cms.double(1.000),
19 # weight_HFem = cms.double(1.0),
20 # weight_HFhad = cms.double(1.0)
21 
22 # HCAL calibration for tower 29
23  HCAL_Calib = cms.bool(True),
24  HF_Calib = cms.bool(True),
25  HCAL_Calib_29 = cms.double(1.35),
26  HF_Calib_29 = cms.double(1.07),
27 
28 # Cut short fibres if no long fibre energy
29  ShortFibre_Cut = cms.double(60.),
30  LongFibre_Fraction = cms.double(0.10),
31 
32 # Cut long fibres if no short fibre energy
33  LongFibre_Cut = cms.double(120.),
34  ShortFibre_Fraction = cms.double(0.01),
35 
36 # Also apply DPG cleaning
37  ApplyLongShortDPG = cms.bool(True),
38 
39 # Cut on timing if sufficient energy (in both long and short fibres)
40  LongShortFibre_Cut = cms.double(1E9),
41  #MinLongTiming_Cut = cms.double(-11.),
42  #MaxLongTiming_Cut = cms.double(+8.),
43  #MinShortTiming_Cut = cms.double(-10.),
44  #MaxShortTiming_Cut = cms.double(+8.),
45  MinLongTiming_Cut = cms.double(-5.),
46  MaxLongTiming_Cut = cms.double(+5.),
47  MinShortTiming_Cut = cms.double(-5.),
48  MaxShortTiming_Cut = cms.double(+5.),
49 
50 # Also apply DPG cleaning
51  ApplyTimeDPG = cms.bool(False),
52  ApplyPulseDPG = cms.bool(False),
53 # Specify maximum severity levels for which each HCAL flag will still be treated as "normal". (If the flag severity is larger than the level, the appropriate PF cleaning will take place.) These ints are similar to the HcalAcceptSeverityLevel parameter used in default CaloTowers, but do not necessarily have to share the same value.
54 
55  HcalMaxAllowedHFLongShortSev = cms.int32(9),
56  HcalMaxAllowedHFDigiTimeSev = cms.int32(9),
57  HcalMaxAllowedHFInTimeWindowSev = cms.int32(9),
58  HcalMaxAllowedChannelStatusSev = cms.int32(9),
59 
60 
61 
62 # Compensate for ECAL dead channels
63  ECAL_Compensate = cms.bool(False),
64  ECAL_Threshold = cms.double(10.),
65  ECAL_Compensation = cms.double(0.5),
66  ECAL_Dead_Code = cms.uint32(10),
67 
68 # Depth correction (in cm) for hadronic and electromagnetic rechits
69  EM_Depth = cms.double(22.),
70  HAD_Depth = cms.double(47.),
71 
72  navigator = cms.PSet(
73  name = cms.string("PFRecHitCaloTowerNavigator")
74  )
75 
76 )
77 
78