CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dEdxAnalyzer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 dEdxAnalyzer = cms.EDAnalyzer("dEdxAnalyzer",
4  dEdxParameters = cms.PSet(
5  doAllPlots = cms.bool(False),
6  doDeDxPlots = cms.bool(True),
7  FolderName = cms.string('Tracking/dEdx'),
8  OutputMEsInRootFile = cms.bool(False),
9  OutputFileName = cms.string('MonitorTrack.root'),
10 
11  #input collections
12 # TracksForDeDx = cms.string('RefitterForDedxDQMDeDx'),
13  TracksForDeDx = cms.string('generalTracks'),
14  deDxProducers = cms.vstring('dedxDQMHarm2SP', 'dedxDQMHarm2SO', 'dedxDQMHarm2PO'),
15 
16  #cuts on number of hits
17  TrackHitMin = cms.double(8),
18  HIPdEdxMin = cms.double(3.5),
19  HighPtThreshold = cms.double(100.0),
20 
21  #constants for dEdx mass reco
22  dEdxK = cms.double(2.529),
23  dEdxC = cms.double(2.772),
24 
25  #histograms definition
26  dEdxNHitBin = cms.int32(30),
27  dEdxNHitMin = cms.double(0),
28  dEdxNHitMax = cms.double(30.),
29 
30  dEdxBin = cms.int32(100),
31  dEdxMin = cms.double(0),
32  dEdxMax = cms.double(10.),
33 
34  # MIP
35  dEdxMIPmassBin = cms.int32(100),
36  dEdxMIPmassMin = cms.double(-0.5),
37  dEdxMIPmassMax = cms.double(24.5),
38 
39  # HIP
40  dEdxHIPmassBin = cms.int32(51),
41  dEdxHIPmassMin = cms.double(-0.05),
42  dEdxHIPmassMax = cms.double(5.05),
43  )
44 )
45 
46 
47 dEdxHitAnalyzer = cms.EDAnalyzer("dEdxHitAnalyzer",
48  dEdxParameters = cms.PSet(
49  doAllPlots = cms.bool(False),
50  doDeDxPlots = cms.bool(True),
51  FolderName = cms.string('Tracking/dEdxHits'),
52  OutputMEsInRootFile = cms.bool(False),
53  OutputFileName = cms.string('MonitorTrack.root'),
54 
55  #input collections
56  TracksForDeDx = cms.string('generalTracks'),
57  deDxHitProducers = cms.vstring('dedxHitInfo'),
58 
59  #histograms definition
60  dEdxNHitBin = cms.int32(30),
61  dEdxNHitMin = cms.double(0),
62  dEdxNHitMax = cms.double(30.),
63 
64  dEdxStripBin = cms.int32(100),
65  dEdxStripMin = cms.double(0),
66  dEdxStripMax = cms.double(1000.),
67 
68  dEdxPixelBin = cms.int32(100),
69  dEdxPixelMin = cms.double(0),
70  dEdxPixelMax = cms.double(200000.),
71 
72  dEdxHarm2Bin = cms.int32(50),
73  dEdxHarm2Min = cms.double(0),
74  dEdxHarm2Max = cms.double(10.),
75 
76  )
77 )