Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:34:27

0001 import FWCore.ParameterSet.Config as cms
0002 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0003 from DQM.SiPixelPhase1Common.HistogramManager_cfi import *
0004 
0005 SiPixelPhase1TrackClustersCharge = DefaultHisto.clone(
0006   name = "charge",
0007   title = "Corrected Cluster Charge",
0008   range_min = 0, range_max = 200e3, range_nbins = 200,
0009   xlabel = "Charge size",
0010   topFolderName = "PixelPhase1V/Clusters",
0011   specs = VPSet(
0012     Specification().groupBy("PXBarrel/PXLayer").save(),
0013     Specification().groupBy("PXForward/PXDisk").save(),
0014     StandardSpecification2DProfile,
0015   )
0016 )
0017 
0018 SiPixelPhase1TrackClustersSizeX = DefaultHisto.clone(
0019   name = "size_x",
0020   title = "Cluster Size X",
0021   range_min = 0, range_max = 30, range_nbins = 30,
0022   xlabel = "Cluster size (in pixels)",
0023   topFolderName = "PixelPhase1V/Clusters",
0024   specs = VPSet(
0025     Specification().groupBy("PXBarrel/PXLayer").save(),
0026     Specification().groupBy("PXForward/PXDisk").save(),
0027     StandardSpecification2DProfile,
0028   )
0029 )
0030 
0031 SiPixelPhase1TrackClustersSizeY = DefaultHisto.clone(
0032   name = "size_y",
0033   title = "Cluster Size Y",
0034   range_min = 0, range_max = 30, range_nbins = 30,
0035   xlabel = "Cluster size (in pixels)",
0036   topFolderName = "PixelPhase1V/Clusters",
0037   specs = VPSet(
0038     Specification().groupBy("PXBarrel/PXLayer").save(),
0039     Specification().groupBy("PXForward/PXDisk").save(),
0040     StandardSpecification2DProfile,
0041   )
0042 )
0043 
0044 SiPixelPhase1TrackClustersConf = cms.VPSet(
0045   SiPixelPhase1TrackClustersCharge,
0046   SiPixelPhase1TrackClustersSizeX,
0047   SiPixelPhase1TrackClustersSizeY
0048 )
0049 
0050 
0051 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0052 SiPixelPhase1TrackClustersAnalyzerV = DQMEDAnalyzer('SiPixelPhase1TrackClustersV',
0053         clusters = cms.InputTag("siPixelClusters"),
0054         tracks = cms.InputTag("generalTracks"),
0055         histograms = SiPixelPhase1TrackClustersConf,
0056         geometry = SiPixelPhase1Geometry
0057 )
0058 
0059 SiPixelPhase1TrackClustersHarvesterV = DQMEDHarvester("SiPixelPhase1Harvester",
0060         histograms = SiPixelPhase1TrackClustersConf,
0061         geometry = SiPixelPhase1Geometry
0062 )