CMS 3D CMS Logo

TrackFoldedOccupancyClient_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
3 
4 TrackerMapFoldedClient = DQMEDHarvester("TrackFoldedOccupancyClient",
5  FolderName = cms.string('Tracking/TrackParameters'),
6  AlgoName = cms.string('GenTk'),
7  TrackQuality = cms.string('generalTracks'),
8  MeasurementState = cms.string('ImpactPoint'),
9  PhiMax = cms.double(3.141592654),
10  PhiMin = cms.double(-3.141592654),
11  EtaMax = cms.double(2.5),
12  EtaMin = cms.double(-2.5),
13  Eta2DBin = cms.int32(26),
14  Phi2DBin = cms.int32(32),
15 )
16 
17 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
18 phase1Pixel.toModify(TrackerMapFoldedClient, EtaMin=-3., EtaMax=3.)
19 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
20 phase2_tracker.toModify(TrackerMapFoldedClient, EtaMin=-4.5, EtaMax=4.5)
21 
22 TrackerMapFoldedClient_highpurity_dzPV0p1 = TrackerMapFoldedClient.clone(
23  TrackQuality = 'highPurityTracks/dzPV0p1'
24 )
25 
26 TrackerMapFoldedClient_highpurity_pt0to1 = TrackerMapFoldedClient.clone(
27  TrackQuality = 'highPurityTracks/pt_0to1'
28 )
29 
30 TrackerMapFoldedClient_highpurity_pt1 = TrackerMapFoldedClient.clone(
31  TrackQuality = 'highPurityTracks/pt_1'
32 )
33 
34 foldedMapClientSeq=cms.Sequence(TrackerMapFoldedClient*TrackerMapFoldedClient_highpurity_dzPV0p1*TrackerMapFoldedClient_highpurity_pt0to1*TrackerMapFoldedClient_highpurity_pt1)
35 
36 #run3
37 TrackerMapFoldedClient_hiConformalPixelTracks = TrackerMapFoldedClient.clone(
38  TrackQuality = 'hiConformalPixelTracks'
39 )
40 
41 folded_with_conformalpixtkclient = cms.Sequence(TrackerMapFoldedClient_hiConformalPixelTracks+foldedMapClientSeq.copy())
42 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
43 pp_on_AA.toReplaceWith(foldedMapClientSeq, folded_with_conformalpixtkclient)