1 import FWCore.ParameterSet.Config
as cms
3 dedxHitInfo = cms.EDProducer(
"DeDxHitInfoProducer",
4 tracks = cms.InputTag(
"generalTracks"),
6 minTrackHits = cms.uint32(0),
7 minTrackPt = cms.double(10),
8 maxTrackEta = cms.double(5.0),
10 useStrip = cms.bool(
True),
11 usePixel = cms.bool(
True),
12 MeVperADCStrip = cms.double(3.61e-06*265),
13 MeVperADCPixel = cms.double(3.61e-06),
15 useCalibration = cms.bool(
False),
16 calibrationPath = cms.string(
"file:Gains.root"),
17 shapeTest = cms.bool(
True),
20 dedxHarmonic2 = cms.EDProducer(
"DeDxEstimatorProducer",
21 tracks = cms.InputTag(
"generalTracks"),
23 estimator = cms.string(
'generic'),
24 fraction = cms.double(0.4),
25 exponent = cms.double(-2.0),
27 UseStrip = cms.bool(
True),
28 UsePixel = cms.bool(
False),
29 ShapeTest = cms.bool(
True),
30 MeVperADCStrip = cms.double(3.61e-06*265),
31 MeVperADCPixel = cms.double(3.61e-06),
33 Reccord = cms.string(
"SiStripDeDxMip_3D_Rcd"),
34 ProbabilityMode = cms.string(
"Accumulation"),
36 UseCalibration = cms.bool(
False),
37 calibrationPath = cms.string(
""),
40 dedxPixelHarmonic2 = dedxHarmonic2.clone(UseStrip =
False, UsePixel =
True)
42 dedxTruncated40 = dedxHarmonic2.clone()
43 dedxTruncated40.estimator = cms.string(
'truncated')
45 dedxMedian = dedxHarmonic2.clone()
46 dedxMedian.estimator = cms.string(
'median')
48 dedxUnbinned = dedxHarmonic2.clone()
49 dedxUnbinned.estimator = cms.string(
'unbinnedFit')
51 dedxDiscrimProd = dedxHarmonic2.clone()
52 dedxDiscrimProd.estimator = cms.string(
'productDiscrim')
54 dedxDiscrimBTag = dedxHarmonic2.clone()
55 dedxDiscrimBTag.estimator = cms.string(
'btagDiscrim')
57 dedxDiscrimSmi = dedxHarmonic2.clone()
58 dedxDiscrimSmi.estimator = cms.string(
'smirnovDiscrim')
60 dedxDiscrimASmi = dedxHarmonic2.clone()
61 dedxDiscrimASmi.estimator = cms.string(
'asmirnovDiscrim')
63 doAlldEdXEstimators = cms.Sequence(dedxTruncated40 + dedxHarmonic2 + dedxPixelHarmonic2 + dedxHitInfo)