CMS 3D CMS Logo

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