CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Phase2TrackerMCHarvesting_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
4 
6 
7 #ITTracking rechit
8 #clone the rechit harvester for tracking rechit
9 Phase2ITtrackingrechitHarvester=Phase2ITRechitHarvester.clone(
10  TopFolder = cms.string('TrackerPhase2ITTrackingRecHitV')
11 )
12 
13 
14 ##As of now this is to be used in standalone mode
15 Phase2OTRechitHarvester_PS=Phase2ITRechitHarvester.clone(
16  TopFolder = cms.string('TrackerPhase2OTRecHitV'),
17  NbarrelLayers = cms.uint32(3),
18  NDisk1Rings = cms.uint32(10),
19  NDisk2Rings = cms.uint32(7),
20  EcapDisk1Name = cms.string('TEDD_1'),
21  EcapDisk2Name = cms.string('TEDD_2'),
22  ResidualXvsEta = cms.string('Delta_X_vs_Eta_Pixel'),
23  ResidualXvsPhi = cms.string('Delta_X_vs_Phi_Pixel'),
24  ResidualYvsEta = cms.string('Delta_Y_vs_Eta_Pixel'),
25  ResidualYvsPhi = cms.string('Delta_Y_vs_Phi_Pixel'),
26 )
27 Phase2OTRechitHarvester_PS.resXvseta.name = cms.string('resolutionXFitvseta_Pixel')
28 Phase2OTRechitHarvester_PS.resYvseta.name = cms.string('resolutionYFitvseta_Pixel')
29 Phase2OTRechitHarvester_PS.resXvsphi.name = cms.string('resolutionXFitvsphi_Pixel')
30 Phase2OTRechitHarvester_PS.resYvsphi.name = cms.string('resolutionYFitvsphi_Pixel')
31 Phase2OTRechitHarvester_PS.meanXvseta.name = cms.string('meanXFitvseta_Pixel')
32 Phase2OTRechitHarvester_PS.meanYvseta.name = cms.string('meanYFitvseta_Pixel')
33 Phase2OTRechitHarvester_PS.meanXvsphi.name = cms.string('meanXFitvsphi_Pixel')
34 Phase2OTRechitHarvester_PS.meanYvsphi.name = cms.string('meanYFitvsphi_Pixel')
35 
36 Phase2OTRechitHarvester_2S=Phase2OTRechitHarvester_PS.clone(
37  NbarrelLayers = cms.uint32(3),
38  NDisk1Rings = cms.uint32(15),
39  NDisk2Rings = cms.uint32(11),
40  ResidualXvsEta = cms.string('Delta_X_vs_Eta_Strip'),
41  ResidualXvsPhi = cms.string('Delta_X_vs_Phi_Strip'),
42  ResidualYvsEta = cms.string('Delta_Y_vs_Eta_Strip'),
43  ResidualYvsPhi = cms.string('Delta_Y_vs_Phi_Strip'),
44 
45 )
46 Phase2OTRechitHarvester_2S.resXvseta.name = cms.string('resolutionXFitvseta_Strip')
47 Phase2OTRechitHarvester_2S.resYvseta.name = cms.string('resolutionYFitvseta_Strip')
48 Phase2OTRechitHarvester_2S.resXvsphi.name = cms.string('resolutionXFitvsphi_Strip')
49 Phase2OTRechitHarvester_2S.resYvsphi.name = cms.string('resolutionYFitvsphi_Strip')
50 Phase2OTRechitHarvester_2S.meanXvseta.name = cms.string('meanXFitvseta_Strip')
51 Phase2OTRechitHarvester_2S.meanYvseta.name = cms.string('meanYFitvseta_Strip')
52 Phase2OTRechitHarvester_2S.meanXvsphi.name = cms.string('meanXFitvsphi_Strip')
53 Phase2OTRechitHarvester_2S.meanYvsphi.name = cms.string('meanYFitvsphi_Strip')
54 
55 #OTTracking rechit
56 Phase2OTTrackingRechitHarvester_PS=Phase2OTRechitHarvester_PS.clone(
57  TopFolder = cms.string('TrackerPhase2OTTrackingRecHitV')
58 )
59 
60 Phase2OTTrackingRechitHarvester_2S=Phase2OTRechitHarvester_2S.clone(
61  TopFolder = cms.string('TrackerPhase2OTTrackingRecHitV')
62 )
63 
64 trackerphase2ValidationHarvesting = cms.Sequence(Phase2ITRechitHarvester
65  * Phase2ITtrackingrechitHarvester
66  * Phase2OTTrackingRechitHarvester_PS
67  * Phase2OTTrackingRechitHarvester_2S
68 )
69 
70 from Configuration.ProcessModifiers.vectorHits_cff import vectorHits
71 vectorHits.toReplaceWith(trackerphase2ValidationHarvesting, trackerphase2ValidationHarvesting.copyAndExclude([Phase2OTTrackingRechitHarvester_PS,Phase2OTTrackingRechitHarvester_2S]))
72 
73 trackerphase2ValidationHarvesting_standalone = cms.Sequence(Phase2ITRechitHarvester
74  * Phase2ITtrackingrechitHarvester
75  * Phase2OTRechitHarvester_PS
76  * Phase2OTRechitHarvester_2S
77  * Phase2OTTrackingRechitHarvester_PS
78  * Phase2OTTrackingRechitHarvester_2S
79 )