CMS 3D CMS Logo

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  genericTriggerEventPSet = cms.PSet(),
17 
18  #cuts on number of hits
19  TrackHitMin = cms.double(8),
20  HIPdEdxMin = cms.double(3.5),
21  HighPtThreshold = cms.double(100.0),
22 
23  #constants for dEdx mass reco
24  dEdxK = cms.double(2.529),
25  dEdxC = cms.double(2.772),
26 
27  #histograms definition
28  dEdxNHitBin = cms.int32(30),
29  dEdxNHitMin = cms.double(0),
30  dEdxNHitMax = cms.double(30.),
31 
32  dEdxBin = cms.int32(100),
33  dEdxMin = cms.double(0),
34  dEdxMax = cms.double(10.),
35 
36  # MIP
37  dEdxMIPmassBin = cms.int32(100),
38  dEdxMIPmassMin = cms.double(-0.5),
39  dEdxMIPmassMax = cms.double(24.5),
40 
41  # HIP
42  dEdxHIPmassBin = cms.int32(51),
43  dEdxHIPmassMin = cms.double(-0.05),
44  dEdxHIPmassMax = cms.double(5.05),
45  )
46 )
47 
48 
49 dEdxHitAnalyzer = cms.EDAnalyzer("dEdxHitAnalyzer",
50  dEdxParameters = cms.PSet(
51  doAllPlots = cms.bool(False),
52  doDeDxPlots = cms.bool(True),
53  FolderName = cms.string('Tracking/dEdxHits'),
54  OutputMEsInRootFile = cms.bool(False),
55  OutputFileName = cms.string('MonitorTrack.root'),
56 
57  #input collections
58  TracksForDeDx = cms.string('generalTracks'),
59  deDxHitProducers = cms.vstring('dedxHitInfo'),
60 
61  genericTriggerEventPSet = cms.PSet(),
62 
63  #histograms definition
64  dEdxNHitBin = cms.int32(30),
65  dEdxNHitMin = cms.double(0),
66  dEdxNHitMax = cms.double(30.),
67 
68  dEdxStripBin = cms.int32(100),
69  dEdxStripMin = cms.double(0),
70  dEdxStripMax = cms.double(1000.),
71 
72  dEdxPixelBin = cms.int32(100),
73  dEdxPixelMin = cms.double(0),
74  dEdxPixelMax = cms.double(200000.),
75 
76  dEdxHarm2Bin = cms.int32(50),
77  dEdxHarm2Min = cms.double(0),
78  dEdxHarm2Max = cms.double(10.),
79 
80  )
81 )