CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dEdxAnalyzer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 #ADD BY LOIC
7 RefitterForDedxDQMDeDx = TrackRefitter.clone()
8 RefitterForDedxDQMDeDx.src = cms.InputTag("generalTracks")
9 RefitterForDedxDQMDeDx.TrajectoryInEvent = True
10 
11 from RecoTracker.DeDx.dedxEstimators_cff import dedxHarmonic2
12 dedxDQMHarm2SP = dedxHarmonic2.clone()
13 #dedxDQMHarm2SP.tracks = cms.InputTag("RefitterForDedxDQMDeDx")
14 #dedxDQMHarm2SP.trajectoryTrackAssociation = cms.InputTag("RefitterForDedxDQMDeDx")
15 dedxDQMHarm2SP.tracks = cms.InputTag("generalTracks")
16 dedxDQMHarm2SP.trajectoryTrackAssociation = cms.InputTag("generalTracks")
17 dedxDQMHarm2SP.UseStrip = cms.bool(True)
18 dedxDQMHarm2SP.UsePixel = cms.bool(True)
19 
20 dedxDQMHarm2SO = dedxDQMHarm2SP.clone()
21 dedxDQMHarm2SO.UsePixel = cms.bool(False)
22 
23 dedxDQMHarm2PO = dedxDQMHarm2SP.clone()
24 dedxDQMHarm2PO.UseStrip = cms.bool(False)
25 
26 #dEdxMonitor = cms.Sequence(
27 # RefitterForDedxDQMDeDx * dedxDQMHarm2SP * dedxDQMHarm2SO * dedxDQMHarm2PO
28 # * dEdxAnalyzer
29 #)