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 dedxTruncated40 = dedxHarmonic2.clone()
45 dedxTruncated40.estimator = cms.string(
'truncated')
47 dedxMedian = dedxHarmonic2.clone()
48 dedxMedian.estimator = cms.string(
'median')
50 dedxUnbinned = dedxHarmonic2.clone()
51 dedxUnbinned.estimator = cms.string(
'unbinnedFit')
53 dedxDiscrimProd = dedxHarmonic2.clone()
54 dedxDiscrimProd.estimator = cms.string(
'productDiscrim')
56 dedxDiscrimBTag = dedxHarmonic2.clone()
57 dedxDiscrimBTag.estimator = cms.string(
'btagDiscrim')
59 dedxDiscrimSmi = dedxHarmonic2.clone()
60 dedxDiscrimSmi.estimator = cms.string(
'smirnovDiscrim')
62 dedxDiscrimASmi = dedxHarmonic2.clone()
63 dedxDiscrimASmi.estimator = cms.string(
'asmirnovDiscrim')
65 doAlldEdXEstimators = cms.Sequence(dedxTruncated40 + dedxHarmonic2 + dedxHitInfo)