CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dedxEstimators_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 dedxHitInfo = cms.EDProducer("DeDxHitInfoProducer",
4  tracks = cms.InputTag("generalTracks"),
5  trajectoryTrackAssociation = cms.InputTag("generalTracks"),
6 
7  minTrackHits = cms.uint32(0),
8  minTrackPt = cms.double(15),
9  maxTrackEta = cms.double(5.0),
10 
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),
16 
17  useCalibration = cms.bool(False),
18  calibrationPath = cms.string("file:Gains.root"),
19  shapeTest = cms.bool(True),
20 )
21 
22 dedxHarmonic2 = cms.EDProducer("DeDxEstimatorProducer",
23  tracks = cms.InputTag("generalTracks"),
24  trajectoryTrackAssociation = cms.InputTag("generalTracks"),
25 
26  estimator = cms.string('generic'),
27  fraction = cms.double(0.4), #Used only if estimator='truncated'
28  exponent = cms.double(-2.0), #Used only if estimator='generic'
29 
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),
36 
37  Reccord = cms.string("SiStripDeDxMip_3D_Rcd"), #used only for discriminators : estimators='productDiscrim' or 'btagDiscrim' or 'smirnovDiscrim' or 'asmirnovDiscrim'
38  ProbabilityMode = cms.string("Accumulation"), #used only for discriminators : estimators='productDiscrim' or 'btagDiscrim' or 'smirnovDiscrim' or 'asmirnovDiscrim'
39 
40  UseCalibration = cms.bool(False),
41  calibrationPath = cms.string(""),
42 )
43 
44 dedxPixelHarmonic2 = dedxHarmonic2.clone(UseStrip = False, UsePixel = True)
45 
46 dedxTruncated40 = dedxHarmonic2.clone()
47 dedxTruncated40.estimator = cms.string('truncated')
48 
49 dedxMedian = dedxHarmonic2.clone()
50 dedxMedian.estimator = cms.string('median')
51 
52 dedxUnbinned = dedxHarmonic2.clone()
53 dedxUnbinned.estimator = cms.string('unbinnedFit')
54 
55 dedxDiscrimProd = dedxHarmonic2.clone()
56 dedxDiscrimProd.estimator = cms.string('productDiscrim')
57 
58 dedxDiscrimBTag = dedxHarmonic2.clone()
59 dedxDiscrimBTag.estimator = cms.string('btagDiscrim')
60 
61 dedxDiscrimSmi = dedxHarmonic2.clone()
62 dedxDiscrimSmi.estimator = cms.string('smirnovDiscrim')
63 
64 dedxDiscrimASmi = dedxHarmonic2.clone()
65 dedxDiscrimASmi.estimator = cms.string('asmirnovDiscrim')
66 
67 doAlldEdXEstimators = cms.Sequence(dedxTruncated40 + dedxHarmonic2 + dedxPixelHarmonic2 + dedxHitInfo)