1 import FWCore.ParameterSet.Config
as cms
3 dedxHitInfo = cms.EDProducer(
"DeDxHitInfoProducer",
4 tracks = cms.InputTag(
"generalTracks"),
5 trajectoryTrackAssociation = cms.InputTag(
"generalTracks"),
7 minTrackHits = cms.uint32(0),
8 minTrackPt = cms.double(15),
9 maxTrackEta = cms.double(5.0),
11 useTrajectory = cms.bool(
True),
12 useStrip = cms.bool(
True),
13 usePixel = cms.bool(
True),
14 MeVperADCStrip = cms.double(3.61e-06*265),
15 MeVperADCPixel = cms.double(3.61e-06),
17 useCalibration = cms.bool(
False),
18 calibrationPath = cms.string(
"file:Gains.root"),
19 shapeTest = cms.bool(
True),
22 dedxHarmonic2 = cms.EDProducer(
"DeDxEstimatorProducer",
23 tracks = cms.InputTag(
"generalTracks"),
24 trajectoryTrackAssociation = cms.InputTag(
"generalTracks"),
26 estimator = cms.string(
'generic'),
27 fraction = cms.double(0.4),
28 exponent = cms.double(-2.0),
30 UseStrip = cms.bool(
True),
31 UsePixel = cms.bool(
False),
32 UseTrajectory = cms.bool(
True),
33 ShapeTest = cms.bool(
True),
34 MeVperADCStrip = cms.double(3.61e-06*265),
35 MeVperADCPixel = cms.double(3.61e-06),
37 Reccord = cms.string(
"SiStripDeDxMip_3D_Rcd"),
38 ProbabilityMode = cms.string(
"Accumulation"),
40 UseCalibration = cms.bool(
False),
41 calibrationPath = cms.string(
""),
44 dedxPixelHarmonic2 = dedxHarmonic2.clone(UseStrip =
False, UsePixel =
True)
46 dedxTruncated40 = dedxHarmonic2.clone()
47 dedxTruncated40.estimator = cms.string(
'truncated')
49 dedxMedian = dedxHarmonic2.clone()
50 dedxMedian.estimator = cms.string(
'median')
52 dedxUnbinned = dedxHarmonic2.clone()
53 dedxUnbinned.estimator = cms.string(
'unbinnedFit')
55 dedxDiscrimProd = dedxHarmonic2.clone()
56 dedxDiscrimProd.estimator = cms.string(
'productDiscrim')
58 dedxDiscrimBTag = dedxHarmonic2.clone()
59 dedxDiscrimBTag.estimator = cms.string(
'btagDiscrim')
61 dedxDiscrimSmi = dedxHarmonic2.clone()
62 dedxDiscrimSmi.estimator = cms.string(
'smirnovDiscrim')
64 dedxDiscrimASmi = dedxHarmonic2.clone()
65 dedxDiscrimASmi.estimator = cms.string(
'asmirnovDiscrim')
67 doAlldEdXEstimators = cms.Sequence(dedxTruncated40 + dedxHarmonic2 + dedxPixelHarmonic2 + dedxHitInfo)