CMS 3D CMS Logo

SiStripSourceConfigTier0_Cosmic_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # FED integrity Check
5 siStripFEDCheck.HistogramUpdateFrequency = 0
6 siStripFEDCheck.DoPayloadChecks = True
7 siStripFEDCheck.CheckChannelLengths = True
8 siStripFEDCheck.CheckChannelPacketCodes = True
9 siStripFEDCheck.CheckFELengths = True
10 siStripFEDCheck.CheckChannelStatus = True
11 
12 # FED Monitoring
14 
15 # SiStripMonitorDigi ####
17 SiStripMonitorDigi.Mod_On = False
18 SiStripMonitorDigi.TProfDigiApvCycle.subdetswitchon = True
19 
20 # APV shots monitoring
21 SiStripMonitorDigi.TkHistoMapNApvShots_On = True
22 SiStripMonitorDigi.TkHistoMapNStripApvShots_On= False
23 SiStripMonitorDigi.TkHistoMapMedianChargeApvShots_On= False
24 
25 SiStripMonitorDigi.TH1NApvShots.subdetswitchon = True
26 SiStripMonitorDigi.TH1NApvShots.globalswitchon = True
27 
28 SiStripMonitorDigi.TH1ChargeMedianApvShots.subdetswitchon = False
29 SiStripMonitorDigi.TH1ChargeMedianApvShots.globalswitchon = True
30 
31 SiStripMonitorDigi.TH1NStripsApvShots.subdetswitchon = False
32 SiStripMonitorDigi.TH1NStripsApvShots.globalswitchon = False
33 
34 SiStripMonitorDigi.TH1ApvNumApvShots.subdetswitchon = False
35 SiStripMonitorDigi.TH1ApvNumApvShots.globalswitchon = False
36 
37 SiStripMonitorDigi.TProfNShotsVsTime.subdetswitchon = False
38 SiStripMonitorDigi.TProfNShotsVsTime.globalswitchon = False
39 
40 SiStripMonitorDigi.TProfGlobalNShots.globalswitchon = True
41 
42 # SiStripMonitorCluster ####
44 SiStripMonitorCluster.Mod_On = False
45 SiStripMonitorCluster.TProfClustersApvCycle.subdetswitchon = True
46 SiStripMonitorCluster.TProfTotalNumberOfClusters.subdetswitchon = True
47 SiStripMonitorCluster.TrendVs10LS = False
48 SiStripMonitorCluster.TH2CStripVsCpixel.globalswitchon=False
49 SiStripMonitorCluster.TH1MultiplicityRegions.globalswitchon=False
50 SiStripMonitorCluster.TH1MainDiagonalPosition.globalswitchon=False
51 SiStripMonitorCluster.TH1StripNoise2ApvCycle.globalswitchon=True
52 SiStripMonitorCluster.TH1StripNoise3ApvCycle.globalswitchon=True
53 SiStripMonitorCluster.TH1TotalNumberOfClusters.subdetswitchon = True
54 SiStripMonitorCluster.TH1TotalNumberOfClusters.xmax = cms.double(1999.5)
55 SiStripMonitorCluster.ClusterHisto = True
56 SiStripMonitorCluster.TH1NClusStrip.Nbinsx = cms.int32(100)
57 SiStripMonitorCluster.TH1NClusStrip.xmax = cms.double(1999.5)
58 SiStripMonitorCluster.TH1NClusPx.Nbinsx = cms.int32(100)
59 SiStripMonitorCluster.TH1NClusPx.xmax = cms.double(999.5)
60 
61 # SiStripMonitorTrack ####
62 # Clone for Cosmic Tracks
64 SiStripMonitorTrack_cosmicTk = SiStripMonitorTrack.clone(
65  TrackProducer = 'cosmictrackfinderP5',
66  Mod_On = False
67 )
68 
69 # Clone for CKF Tracks
70 SiStripMonitorTrack_ckf = SiStripMonitorTrack.clone(
71  TrackProducer = 'ctfWithMaterialTracksP5',
72  Mod_On = False,
73  TH1nClustersOff = SiStripMonitorTrack.TH1nClustersOff.clone(
74  xmax = 1999.5
75  )
76 )
77 
78 # Clone for Road Search Tracks
79 # SiStripMonitorTrack_rs = SiStripMonitorTrack.clone(
80 # TrackProducer = 'rsWithMaterialTracksP5',
81 # Mod_On = False
82 # )
83 
84 # track refitter
86 refitterForCosmictrackfinderP5 = TrackRefitterP5.clone(
87  src = "cosmictrackfinderP5"
88 )
89 refitterForCtfWithMaterialTracksP5 = TrackRefitterP5.clone(
90  src = "ctfWithMaterialTracksP5"
91 )
92 refitterForRsWithMaterialTracksP5 = TrackRefitterP5.clone(
93  src = "rsWithMaterialTracksP5"
94 )
95 
96 # TrackerMonitorTrack ####
97 # Clone for Cosmic Track Finder
99 MonitorTrackResiduals_cosmicTk = MonitorTrackResiduals.clone(
100  trajectoryInput = 'refitterForCosmictrackfinderP5',
101  Tracks = 'refitterForCosmictrackfinderP5',
102  Mod_On = False,
103  VertexCut = False
104 )
105 # Clone for CKF Tracks
106 MonitorTrackResiduals_ckf = MonitorTrackResiduals.clone(
107  trajectoryInput = 'refitterForCtfWithMaterialTracksP5',
108  Tracks = 'refitterForCtfWithMaterialTracksP5',
109  Mod_On = False,
110  VertexCut = False
111 )
112 
113 # Clone for Road Search Tracks
114 # MonitorTrackResiduals_rs = MonitorTrackResiduals.clone(
115 # trajectoryInput = 'refitterForRsWithMaterialTracksP5',
116 # Tracks = 'refitterForRsWithMaterialTracksP5',
117 # Mod_On = False,
118 # VertexCut = False
119 # )
120 
121 # DQM Services
122 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
123 dqmInfoSiStrip = DQMEDAnalyzer('DQMEventInfo',
124  subSystemFolder = cms.untracked.string('SiStrip')
125 )
126 
127 # Services needed for TkHistoMap
129 
130 # Event History Producer
132 
133 # APV Phase Producer
135 
136 # Sequences
137 #SiStripDQMTier0_cosmicTk = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_cosmicTk*MonitorTrackResiduals_cosmicTk*TrackMon_cosmicTk*TrackEffMon_cosmicTk)
138 SiStripDQMTier0_cosmicTk = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_cosmicTk*MonitorTrackResiduals_cosmicTk)
139 
140 #removed modules using TkDetMap
141 #SiStripDQMTier0_ckf = cms.Sequence(APVPhases*consecutiveHEs*MonitorTrackResiduals_ckf*TrackMon_ckf*TrackEffMon_ckf)
142 SiStripDQMTier0_ckf = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_ckf*MonitorTrackResiduals_ckf)
143 
144 #SiStripDQMTier0_rs = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_rs*MonitorTrackResiduals_rs*TrackMon_rs*TrackEffMon_rs)
145 
146 #removed modules using TkDetMap
147 #SiStripDQMTier0 = cms.Sequence(APVPhases*consecutiveHEs*siStripFEDCheck*MonitorTrackResiduals_ckf*TrackMon_cosmicTk*TrackMon_ckf*TrackEffMon_ckf*TrackSplitMonitor*dqmInfoSiStrip)
148 #SiStripDQMTier0 = cms.Sequence(APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorCluster*SiStripMonitorTrack_ckf*MonitorTrackResiduals_ckf*TrackMon_cosmicTk*TrackMon_ckf*TrackEffMon_ckf*TrackSplitMonitor*dqmInfoSiStrip)
149 SiStripDQMTier0 = cms.Sequence(APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorCluster*SiStripMonitorTrack_ckf*refitterForCtfWithMaterialTracksP5*MonitorTrackResiduals_ckf*dqmInfoSiStrip)