CMS 3D CMS Logo

dedxHarmonic2monitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 selectedDeDxHarm = {}
4 
5 from RecoTracker.DeDx.dedxEstimators_cff import dedxHarmonic2
6 dedxDQMHarm2SP = dedxHarmonic2.clone()
7 dedxDQMHarm2SP.tracks = cms.InputTag("generalTracks")
8 dedxDQMHarm2SP.UseStrip = cms.bool(True)
9 dedxDQMHarm2SP.UsePixel = cms.bool(True)
10 
11 dedxDQMHarm2SO = dedxDQMHarm2SP.clone()
12 dedxDQMHarm2SO.UsePixel = cms.bool(False)
13 
14 dedxDQMHarm2PO = dedxDQMHarm2SP.clone()
15 dedxDQMHarm2PO.UseStrip = cms.bool(False)
16 
17 dedxHarmonicSequence = cms.Sequence()
18 dedxHarmonicSequence+=dedxDQMHarm2SP
19 dedxHarmonicSequence+=dedxDQMHarm2SO
20 dedxHarmonicSequence+=dedxDQMHarm2PO
21 
22 #dEdxMonitor = cms.Sequence(
23 # RefitterForDedxDQMDeDx * dedxDQMHarm2SP * dedxDQMHarm2SO * dedxDQMHarm2PO
24 # * dEdxAnalyzer
25 #)