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