CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cscRecHitD_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # This object modifies the csc2DRecHits for running in Run 2
4 
5 # parameters for CSC rechit building
7 import RecoLocalMuon.CSCRecHitD.cscRecHitDProducer_cfi as _mod
8 
9 csc2DRecHits = _mod.cscRecHitDProducer.clone(
10  #
11  # Parameters for strip hits
12  #
13  CSCStripPeakThreshold = 10.0,
14  CSCStripClusterChargeCut = 25.0,
15  CSCStripxtalksOffset = 0.03,
16  #
17  # How to find SCA peak time?
18  #
19  UseAverageTime = False,
20  UseParabolaFit = False,
21  UseFivePoleFit = True,
22  #
23  # Parameters for wire hits
24  CSCWireClusterDeltaT = 1,
25  #
26  # wire time window used for reconstruction
27  CSCUseReducedWireTimeWindow = True,
28  CSCWireTimeWindowLow = 5,
29  CSCWireTimeWindowHigh = 11,
30  #
31  # Calibration info:
32  CSCUseCalibrations = True,
33  # Pedestal treatment
34  CSCUseStaticPedestals = False,
35  CSCNoOfTimeBinsForDynamicPedestal = 2,
36  #
37  # Which digis:
38  #
39  # When using data from unpacker
40  wireDigiTag = "muonCSCDigis:MuonCSCWireDigi",
41  stripDigiTag = "muonCSCDigis:MuonCSCStripDigi",
42  # When using data from simulation
43  # wireDigiTag = "simMuonCSCDigis:MuonCSCWireDigi",
44  # stripDigiTag = "simMuonCSCDigis:MuonCSCStripDigi",
45  #
46  # Use dead channels information
47  readBadChannels = True,
48  readBadChambers = True,
49  #
50  # Do we use the chip and chamber and L1A phase corrections when filling the recHit time?
51  #
52  CSCUseTimingCorrections = True,
53  #
54  # Do we correct the energy deposited for gas gains?
55  CSCUseGasGainCorrections = True,
56  #
57  # Parameters which are not used currently
58  #
59  CSCDebug = False,
60  # To be set once wire digis have proper timing info:
61  CSCstripWireDeltaTime = 8,
62  #
63  # Parameters for coordinate and uncertainty calculations
64  # Data and MC parameters are (still) different
65  # Needs tuning
66  #
67  **cscRecHitDParameters
68 )
69 ##
70 ## Modify for running in Run 2
71 ##
72 from Configuration.Eras.Modifier_run2_common_cff import run2_common
73 run2_common.toModify( csc2DRecHits,
74  readBadChannels = False,
75  CSCUseGasGainCorrections = False )