Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-05 02:39:11

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.SiPixelPhase1Common.HistogramManager_cfi import *
0004 OverlayCurvesForTiming.enabled = False #switch to overlay digi/clusters curves for timing scan 
0005 #PerModule.enabled              = False 
0006 #PerLadder.enabled              = False
0007 #PerLayer2D.enabled             = True # 2D maps/profiles of layers
0008 #PerLayer1D.enabled             = True # normal histos per layer
0009 
0010 hltSiPixelPhase1Geometry = SiPixelPhase1Geometry.clone(
0011     max_lumisection   = 2500,
0012     max_bunchcrossing = 3600,
0013     # online-specific things
0014     onlineblock    =  20, # #LS after which histograms are reset
0015     n_onlineblocks = 100 # #blocks to keep for histograms with history
0016 )
0017 hltDefaultHistoDigiCluster = DefaultHistoDigiCluster.clone(
0018     topFolderName = "HLT/Pixel"
0019 )
0020 hltDefaultHistoReadout = DefaultHistoReadout.clone(
0021     topFolderName = "HLT/Pixel"
0022 )
0023 hltDefaultHistoTrack = DefaultHistoTrack.clone(
0024     topFolderName= "HLT/Pixel/TrackClusters"
0025 )
0026 hltStandardSpecificationPixelmapProfile = [#produces pixel map with the mean (TProfile)
0027     Specification(PerLayer2D)
0028        .groupBy("PXBarrel/PXLayer/SignedLadderCoord/SignedModuleCoord")
0029        .groupBy("PXBarrel/PXLayer/SignedLadderCoord", "EXTEND_X")
0030        .groupBy("PXBarrel/PXLayer", "EXTEND_Y")
0031        .reduce("MEAN")
0032        .save(),
0033     Specification(PerLayer2D)
0034        .groupBy("PXForward/PXRing/SignedBladePanelCoord/SignedDiskCoord")
0035        .groupBy("PXForward/PXRing/SignedBladePanelCoord", "EXTEND_X")
0036        .groupBy("PXForward/PXRing", "EXTEND_Y")
0037        .reduce("MEAN")
0038        .save(),
0039 ]
0040 
0041 hltStandardSpecifications1D = [
0042     Specification().groupBy("PXBarrel/PXLayer").save(),
0043     Specification().groupBy("PXForward/PXDisk").save(), # 91x nbins=100, xmin=0, xmax=3000,
0044 ]
0045 
0046 hltStandardSpecifications1D_Num = [
0047     Specification().groupBy("PXBarrel/PXLayer/Event") #this will produce inclusive counts per Layer/Disk
0048     .reduce("COUNT")    
0049     .groupBy("PXBarrel/PXLayer")
0050 #    .groupBy("PXBarrel")
0051     .save(),
0052     Specification().groupBy("PXForward/PXDisk/Event")
0053     .reduce("COUNT")    
0054     .groupBy("PXForward/PXDisk/")
0055 #    .groupBy("PXForward")
0056     .save()
0057 ]