Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-26 05:06:42

0001 import FWCore.ParameterSet.Config as cms
0002 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0003 from DQM.SiPixelPhase1Common.HistogramManager_cfi import *
0004 import DQM.SiPixelPhase1Common.TriggerEventFlag_cfi as trigger
0005 
0006 SiPixelPhase1TrackClustersOnTrackCharge = DefaultHistoTrack.clone(
0007   name = "charge",
0008   title = "Corrected Cluster Charge (OnTrack)",
0009   range_min = 0, range_max = 80e3, range_nbins = 100,
0010   xlabel = "Charge (electrons)",
0011 
0012   specs = VPSet(
0013     StandardSpecifications1D,
0014     StandardSpecification2DProfile,
0015 
0016     #what is below is only for the timing client
0017     Specification(OverlayCurvesForTiming).groupBy("PXBarrel/OnlineBlock")
0018          .groupBy("PXBarrel", "EXTEND_Y")
0019          .save(),
0020     Specification(OverlayCurvesForTiming).groupBy("PXForward/OnlineBlock")
0021          .groupBy("PXForward", "EXTEND_Y")
0022          .save(),
0023 
0024     Specification().groupBy("PXForward/PXRing").save(),
0025 
0026     Specification(PerModule).groupBy("PXForward/PXRing/Lumisection")
0027                    .reduce("MEAN")
0028                    .groupBy("PXForward/PXRing","EXTEND_X")
0029                    .save(),
0030 
0031     Specification(IsOffline).groupBy("PXForward/PXRing/LumiBlock")
0032                    .reduce("MEAN")
0033                    .groupBy("PXForward/PXRing","EXTEND_X")
0034                    .save(),
0035 
0036 
0037     Specification(PerModule).groupBy("PXBarrel/PXLayer/Lumisection")
0038                    .reduce("MEAN")
0039                    .groupBy("PXBarrel/PXLayer", "EXTEND_X")
0040                    .save(),
0041 
0042     Specification(PerModule).groupBy("PXForward/PXDisk/Lumisection")
0043                    .reduce("MEAN")
0044                    .groupBy("PXForward/PXDisk", "EXTEND_X")
0045                    .save(),
0046 
0047     Specification(IsOffline).groupBy("PXBarrel/PXLayer/LumiBlock")
0048                    .reduce("MEAN")
0049                    .groupBy("PXBarrel/PXLayer", "EXTEND_X")
0050                    .save(),
0051 
0052     Specification(IsOffline).groupBy("PXForward/PXDisk/LumiBlock")
0053                    .reduce("MEAN")
0054                    .groupBy("PXForward/PXDisk", "EXTEND_X")
0055                    .save(),
0056 
0057     Specification(OverlayCurvesForTiming).groupBy("PXForward/PXDisk/OnlineBlock") # per-layer with history for online
0058                    .groupBy("PXForward/PXDisk", "EXTEND_Y")
0059                    .save(),
0060     Specification(OverlayCurvesForTiming).groupBy("PXBarrel/PXLayer/OnlineBlock") # per-layer with history for online
0061                    .groupBy("PXBarrel/PXLayer", "EXTEND_Y")
0062                    .save()
0063   )
0064 )
0065 
0066 SiPixelPhase1TrackClustersOnTrackCorrCharge = DefaultHistoTrack.clone(
0067   name = "charge_corr",
0068   title = "Template Corrected Cluster Charge (OnTrack)",
0069   range_min = 0, range_max = 80e3, range_nbins = 100,
0070   xlabel = "Charge (electrons)",
0071 
0072   specs = VPSet(
0073     Specification().groupBy("PXBarrel").save(),
0074     Specification().groupBy("PXForward").save(),
0075     Specification().groupBy("PXBarrel/PXLayer").save(),
0076     Specification().groupBy("PXForward/PXDisk").save(),
0077     Specification().groupBy("PXForward/PXRing").save(),
0078   )
0079 )
0080 
0081 SiPixelPhase1TrackTemplateCorr = SiPixelPhase1TrackClustersOnTrackCorrCharge.clone(
0082   name = "template_corr",
0083   title = "Template Correction",
0084   range_min = 0, range_max = 3, range_nbins = 150,
0085   xlabel = "A.U."
0086 )
0087 
0088 SiPixelPhase1TrackClustersOnTrackBigPixelCharge = DefaultHistoTrack.clone(
0089   name = "bigpixelcharge",
0090   title = "Corrected Big Pixel Charge (OnTrack)",
0091   range_min = 0, range_max = 80e3, range_nbins = 100,
0092   xlabel = "Charge (electrons)",
0093 
0094   specs = VPSet(
0095     Specification().groupBy("PXBarrel").save(),
0096     Specification().groupBy("PXForward").save(),
0097     Specification().groupBy("PXBarrel/PXLayer").save(),
0098     Specification().groupBy("PXForward/PXDisk").save()
0099   )
0100 )
0101 
0102 SiPixelPhase1TrackClustersOnTrackNotBigPixelCharge = DefaultHistoTrack.clone(
0103   name = "notbigpixelcharge",
0104   title = "Corrected Not Big Pixel Charge (OnTrack)",
0105   range_min = 0, range_max = 80e3, range_nbins = 100,
0106   xlabel = "Charge (electrons)",
0107   enabled=False,
0108 
0109   specs = VPSet(
0110     Specification().groupBy("PXBarrel").save(),
0111     Specification().groupBy("PXForward").save(),
0112     Specification().groupBy("PXBarrel/PXLayer").save(),
0113     Specification().groupBy("PXForward/PXDisk").save()
0114   )
0115 )
0116 
0117 SiPixelPhase1TrackClustersOnTrackSize = DefaultHistoTrack.clone(
0118   name = "size",
0119   title = "Total Cluster Size (OnTrack)",
0120   range_min = 0, range_max = 30, range_nbins = 30,
0121   xlabel = "size[pixels]",
0122 
0123   specs = VPSet(
0124         StandardSpecifications1D,
0125         StandardSpecification2DProfile,
0126 
0127         Specification().groupBy("PXForward/PXRing").save(),
0128 
0129         Specification(PerModule).groupBy("PXForward/PXRing/Lumisection")
0130                    .reduce("MEAN")
0131                    .groupBy("PXForward/PXRing","EXTEND_X")
0132                    .save(),
0133 
0134         Specification(IsOffline).groupBy("PXForward/PXRing/LumiBlock")
0135                    .reduce("MEAN")
0136                    .groupBy("PXForward/PXRing","EXTEND_X")
0137                    .save(),
0138 
0139         Specification(PerModule).groupBy("PXBarrel/PXLayer/Lumisection")
0140                    .reduce("MEAN")
0141                    .groupBy("PXBarrel/PXLayer", "EXTEND_X")
0142                    .save(),
0143 
0144         Specification(PerModule).groupBy("PXForward/PXDisk/Lumisection")
0145                    .reduce("MEAN")
0146                    .groupBy("PXForward/PXDisk", "EXTEND_X")
0147                    .save(),
0148 
0149         Specification(IsOffline).groupBy("PXBarrel/PXLayer/LumiBlock")
0150                    .reduce("MEAN")
0151                    .groupBy("PXBarrel/PXLayer", "EXTEND_X")
0152                    .save(),
0153 
0154         Specification(IsOffline).groupBy("PXForward/PXDisk/LumiBlock")
0155                    .reduce("MEAN")
0156                    .groupBy("PXForward/PXDisk", "EXTEND_X")
0157                    .save()
0158   )
0159 )
0160 
0161 SiPixelPhase1TrackClustersOnTrackShape = DefaultHistoTrack.clone(
0162   topFolderName = "PixelPhase1/ClusterShape",
0163   name = "shapeFilter",
0164   title = "Shape filter (OnTrack)",
0165   range_min = 0, range_max = 2, range_nbins = 2,
0166   xlabel = "shapeFilter",
0167 
0168   specs = VPSet(
0169     Specification().groupBy("PXBarrel/PXLayer").saveAll(),
0170     Specification().groupBy("PXForward/PXDisk").saveAll(),
0171     StandardSpecification2DProfile,
0172 
0173     Specification(PerModule).groupBy("PXBarrel/PXLayer/Lumisection")
0174                    .reduce("MEAN")
0175                    .groupBy("PXBarrel/PXLayer", "EXTEND_X")
0176                    .save(),
0177 
0178     Specification(PerModule).groupBy("PXForward/PXDisk/Lumisection")
0179                    .reduce("MEAN")
0180                    .groupBy("PXForward/PXDisk", "EXTEND_X")
0181                    .save(),
0182 
0183     Specification(IsOffline).groupBy("PXBarrel/PXLayer/LumiBlock")
0184                    .reduce("MEAN")
0185                    .groupBy("PXBarrel/PXLayer", "EXTEND_X")
0186                    .save(),
0187 
0188     Specification(IsOffline).groupBy("PXForward/PXDisk/LumiBlock")
0189                    .reduce("MEAN")
0190                    .groupBy("PXForward/PXDisk", "EXTEND_X")
0191                    .save(),
0192 
0193     Specification(PerLayer1D).groupBy("PXBarrel/Shell/PXLayer").save(),
0194     Specification(PerLayer1D).groupBy("PXForward/HalfCylinder/PXRing/PXDisk").save()
0195 
0196   )
0197 )
0198 
0199 
0200 SiPixelPhase1TrackClustersOnTrackNClusters = DefaultHistoTrack.clone(
0201   name = "clusters_ontrack",
0202   title = "Clusters_onTrack (valid hits)",
0203   range_min = 0, range_max = 30, range_nbins = 30,
0204   xlabel = "clusters",
0205   dimensions = 0,
0206 
0207   specs = VPSet(
0208 
0209     StandardSpecificationTrend_Num,
0210     StandardSpecification2DProfile_Num,
0211 
0212     Specification().groupBy("PXBarrel/PXLayer/Event") #this will produce inclusive counts per Layer/Disk
0213                              .reduce("COUNT")
0214                              .groupBy("PXBarrel/PXLayer")
0215                              .save(nbins=50, xmin=0, xmax=5000),
0216 
0217     Specification().groupBy("PXForward/PXDisk/Event")
0218                              .reduce("COUNT")
0219                              .groupBy("PXForward/PXDisk/")
0220                              .save(nbins=50, xmin=0, xmax=2000),
0221 
0222     Specification().groupBy("PXBarrel/Event")
0223                    .reduce("COUNT")
0224                    .groupBy("PXBarrel")
0225                    .save(nbins=100, xmin=0, xmax=5000),
0226 
0227     Specification().groupBy("PXForward/Event")
0228                    .reduce("COUNT")
0229                    .groupBy("PXForward")
0230                    .save(nbins=100, xmin=0, xmax=5000),
0231 
0232     Specification().groupBy("PXAll/Event")
0233                    .reduce("COUNT")
0234                    .groupBy("PXAll")
0235                    .save(nbins=100, xmin=0, xmax=5000),
0236 
0237     Specification().groupBy("BX")
0238                    .groupBy("", "EXTEND_X").save(),
0239 
0240     Specification(PerModule).groupBy("PXBarrel/PXLayer/Event")
0241                    .reduce("COUNT")
0242                    .groupBy("PXBarrel/PXLayer/Lumisection")
0243                    .reduce("MEAN")
0244                    .groupBy("PXBarrel/PXLayer","EXTEND_X")
0245                    .save(),
0246 
0247     Specification(PerModule).groupBy("PXForward/PXDisk/Event")
0248                    .reduce("COUNT")
0249                    .groupBy("PXForward/PXDisk/Lumisection")
0250                    .reduce("MEAN")
0251                    .groupBy("PXForward/PXDisk","EXTEND_X")
0252                    .save(),
0253 
0254     Specification(IsOffline).groupBy("PXBarrel/PXLayer/Event")
0255                    .reduce("COUNT")
0256                    .groupBy("PXBarrel/PXLayer/LumiBlock")
0257                    .reduce("MEAN")
0258                    .groupBy("PXBarrel/PXLayer","EXTEND_X")
0259                    .save(),
0260 
0261     Specification(IsOffline).groupBy("PXForward/PXDisk/Event")
0262                    .reduce("COUNT")
0263                    .groupBy("PXForward/PXDisk/LumiBlock")
0264                    .reduce("MEAN")
0265                    .groupBy("PXForward/PXDisk","EXTEND_X")
0266                    .save(),
0267 
0268     #below is for timing client
0269     Specification(OverlayCurvesForTiming).groupBy("DetId/Event")
0270                     .reduce("COUNT")
0271                     .groupBy("PXForward/OnlineBlock")
0272                     .groupBy("PXForward", "EXTEND_Y")
0273                     .save(),
0274 
0275     Specification(OverlayCurvesForTiming).groupBy("DetId/Event")
0276                     .reduce("COUNT")
0277                     .groupBy("PXBarrel/OnlineBlock")
0278                     .groupBy("PXBarrel", "EXTEND_Y")
0279                     .save()
0280 
0281   )
0282 )
0283 
0284 
0285 SiPixelPhase1TrackClustersOnTrackPositionB = DefaultHistoTrack.clone(
0286   name = "clusterposition_zphi_ontrack",
0287   title = "Cluster_onTrack Positions",
0288   range_min   =  -60, range_max   =  60, range_nbins   = 300,
0289   range_y_min = -3.2, range_y_max = 3.2, range_y_nbins = 200,
0290   xlabel = "Global Z", ylabel = "Global \\phi",
0291   dimensions = 2,
0292   specs = VPSet(
0293     Specification().groupBy("PXBarrel/PXLayer").save(),
0294     Specification().groupBy("").save(),
0295   )
0296 )
0297 
0298 SiPixelPhase1TrackClustersOnTrackPositionF = DefaultHistoTrack.clone(
0299   name = "clusterposition_xy_ontrack",
0300   title = "Cluster_onTrack Positions",
0301   xlabel = "Global X", ylabel = "Global Y",
0302   range_min   = -20, range_max   = 20, range_nbins   = 200,
0303   range_y_min = -20, range_y_max = 20, range_y_nbins = 200,
0304   dimensions = 2,
0305   specs = VPSet(
0306     Specification().groupBy("PXForward/PXDisk").save(),
0307   )
0308 )
0309 
0310 SiPixelPhase1DigisHitmapOnTrack = DefaultHistoTrack.clone(
0311   name = "digi_occupancy_ontrack",
0312   title = "Digi Occupancy (OnTrack)",
0313   ylabel = "#digis",
0314   dimensions = 0,
0315   specs = VPSet(
0316     Specification(PerModule).groupBy("PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName/row/col")
0317                             .groupBy("PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName/row", "EXTEND_X")
0318                             .groupBy("PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName", "EXTEND_Y")
0319                             .save(),
0320     Specification(PerModule).groupBy("PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName/row/col")
0321                             .groupBy("PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName/row", "EXTEND_X")
0322                             .groupBy("PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName", "EXTEND_Y")
0323                             .save(),
0324     StandardSpecificationOccupancy,
0325   )
0326 )
0327 
0328 SiPixelPhase1DigisNdigisOnTrack = DefaultHistoTrack.clone(
0329   name = "digis on-track", # 'Count of' added automatically
0330   title = "Digis on-track",
0331   xlabel = "digis (on-track)",
0332   range_min = 0,
0333   range_max = 300,
0334   range_nbins = 50,
0335   dimensions = 0, # this is a count
0336 
0337   specs = VPSet(
0338     StandardSpecificationTrend_Num,
0339     StandardSpecification2DProfile_Num,
0340     
0341     Specification().groupBy("PXBarrel/PXLayer/Event") #this will produce inclusive counts per Layer/Disk
0342                              .reduce("COUNT")    
0343                              .groupBy("PXBarrel/PXLayer")
0344                              .save(nbins=100, xmin=0, xmax=40000),
0345     Specification().groupBy("PXForward/PXDisk/Event")
0346                              .reduce("COUNT")    
0347                              .groupBy("PXForward/PXDisk/")
0348                              .save(nbins=100, xmin=0, xmax=20000),
0349   )
0350 )
0351 
0352 
0353 
0354 SiPixelPhase1TrackClustersNTracks = DefaultHistoTrack.clone(
0355   name = "ntracks",
0356   title = "Number of Tracks",
0357   xlabel = "All - Pixel - BPIX - FPIX",
0358   range_min = 1, range_max = 5, range_nbins = 4,
0359   dimensions = 1,
0360   specs = VPSet(
0361     Specification().groupBy("").save()
0362   )
0363 )
0364 
0365 SiPixelPhase1TrackClustersNTracksInVolume = DefaultHistoTrack.clone(
0366   name = "ntracksinpixvolume",
0367   title = "Number of Tracks in Pixel fiducial Volume",
0368   xlabel = "without hits - with hits",
0369   range_min = 0, range_max = 2, range_nbins = 2,
0370   dimensions = 1,
0371   specs = VPSet(
0372     Specification().groupBy("").save()
0373   )
0374 )
0375 
0376 SiPixelPhase1ClustersSizeVsEtaOnTrackOuter = DefaultHistoTrack.clone(
0377   name = "sizeyvseta_on_track_outer",
0378   title = "Cluster Size along Beamline vs. Track #eta (OnTrack) outer ladders",
0379   xlabel = "Track #eta",
0380   ylabel = "length [pixels]",
0381   range_min = -3.2, range_max  = 3.2, range_nbins   = 64,
0382   range_y_min =  0, range_y_max = 30, range_y_nbins = 30,
0383   dimensions = 2,
0384   specs = VPSet(
0385     Specification().groupBy("PXBarrel/PXLayer").save()
0386   )
0387 )
0388 
0389 SiPixelPhase1ClustersSizeVsEtaOnTrackInner = SiPixelPhase1ClustersSizeVsEtaOnTrackOuter.clone(
0390   name = "sizeyvseta_on_track_inner",
0391   title = "Cluster Size along Beamline vs. Track #eta (OnTrack) inner ladders",
0392 )
0393 
0394 
0395 SiPixelPhase1TrackClustersOnTrackSizeYOuter = SiPixelPhase1ClustersSizeVsEtaOnTrackOuter.clone(
0396   topFolderName = "PixelPhase1/ClusterShape",
0397   name = "sizey_on_track_outer",
0398   title = "Cluster Size along Beamline vs. prediction (OnTrack) outer ladders",
0399   xlabel = "prediction",
0400   ylabel = "length [pixels]",
0401   range_min = 0, range_max  = 30, range_nbins   = 60
0402 )
0403 
0404 SiPixelPhase1TrackClustersOnTrackSizeYInner = SiPixelPhase1TrackClustersOnTrackSizeYOuter.clone(
0405   name = "sizey_on_track_inner",
0406   title = "Cluster Size along Beamline vs. prediction (OnTrack) inner ladders",
0407 )
0408 
0409 SiPixelPhase1TrackClustersOnTrackSizeYF = SiPixelPhase1TrackClustersOnTrackSizeYOuter.clone(
0410   name = "sizey_on_track_forward",
0411   title = "Cluster Size ortogonal to Beamline vs. prediction (OnTrack) forward",
0412   range_y_min =  0, range_y_max = 10, range_y_nbins = 10,
0413   range_min = 0, range_max  = 10, range_nbins   = 20,
0414   specs = VPSet(
0415     Specification().groupBy("PXForward/PXDisk").save(),
0416   )
0417 )
0418 
0419 
0420 SiPixelPhase1TrackClustersOnTrackSizeXOuter = SiPixelPhase1TrackClustersOnTrackSizeYOuter.clone(
0421   name = "sizex_on_track_outer",
0422   title = "Cluster Size along radial vs. prediction (OnTrack) outer ladders",
0423   range_min = 0, range_max  = 8, range_nbins   = 16,
0424   range_y_min =  0, range_y_max = 8, range_y_nbins = 8
0425 
0426 )
0427 
0428 SiPixelPhase1TrackClustersOnTrackSizeXInner = SiPixelPhase1TrackClustersOnTrackSizeXOuter.clone(
0429   name = "sizex_on_track_inner",
0430   title = "Cluster Size along radial vs. prediction (OnTrack) inner ladders",
0431 )
0432 
0433 SiPixelPhase1TrackClustersOnTrackSizeXF = SiPixelPhase1TrackClustersOnTrackSizeYF.clone(
0434   name = "sizex_on_track_forward",
0435   title = "Cluster Size radial vs. prediction (OnTrack) forward",
0436 )
0437 
0438 
0439 
0440 SiPixelPhase1TrackClustersOnTrackSizeXYOuter = SiPixelPhase1TrackClustersOnTrackSizeYOuter.clone(
0441   name = "sizexy_on_track_outer",
0442   title = "Cluster Size x vs y (OnTrack) outer ladders",
0443   xlabel = "y size",
0444   ylabel = "x size",
0445   range_min = 0, range_max  = 20, range_nbins   = 20,
0446   range_y_min = 0, range_y_max = 10, range_y_nbins = 10
0447 )
0448 
0449 SiPixelPhase1TrackClustersOnTrackSizeXYInner = SiPixelPhase1TrackClustersOnTrackSizeXYOuter.clone(
0450  name = "sizexy_on_track_inner",
0451  title = "Cluster Size x vs y (OnTrack) inner ladders"
0452 )
0453 
0454 SiPixelPhase1TrackClustersOnTrackSizeXYF = SiPixelPhase1TrackClustersOnTrackSizeYF.clone(
0455   name = "sizexy_on_track_forward",
0456   title = "Cluster Size x vs y (OnTrack) forward",
0457   xlabel = "y size",
0458   ylabel = "x size",
0459   range_min = 0, range_max  = 10, range_nbins   = 10,
0460   range_y_min = 0, range_y_max = 10, range_y_nbins = 10
0461 
0462 )
0463 
0464 SiPixelPhase1ClustersChargeVsSizeOnTrack = DefaultHistoTrack.clone(
0465   name = "chargevssize_on_track",
0466   title = "Cluster Charge vs. Cluster Size (OnTrack)",
0467   xlabel = "size[pixels]",
0468   ylabel = "Cluster charge",
0469   range_min =  0, range_max = 30, range_nbins = 15,
0470   range_y_min = 0, range_y_max = 80e3, range_y_nbins = 100,
0471   dimensions = 2,
0472   specs = VPSet(
0473     Specification().groupBy("PXBarrel/PXLayer").save(),
0474     Specification().groupBy("PXForward/PXDisk").save()
0475   )
0476 )
0477 
0478 SiPixelPhase1TrackClustersOnTrackChargeOuter = DefaultHistoTrack.clone(
0479   name = "chargeOuter",
0480   title = "Corrected Cluster Charge (OnTrack) outer ladders",
0481   range_min = 0, range_max = 80e3, range_nbins = 100,
0482   xlabel = "Charge (electrons)",
0483 
0484   specs = VPSet(
0485     Specification().groupBy("PXBarrel/PXLayer").save()
0486   )
0487 )
0488 
0489 SiPixelPhase1TrackClustersOnTrackChargeInner = SiPixelPhase1TrackClustersOnTrackChargeOuter.clone(
0490   name = "chargeInner",
0491   title = "Corrected Cluster Charge (OnTrack) inner ladders"
0492 )
0493 
0494 SiPixelPhase1TrackClustersOnTrackCorrChargeOuter = DefaultHistoTrack.clone(
0495   name = "chargeOuter_corr",
0496   title = "Template Corrected Cluster Charge (OnTrack) outer ladders",
0497   range_min = 0, range_max = 80e3, range_nbins = 100,
0498   xlabel = "Charge (electrons)",
0499 
0500   specs = VPSet(
0501     Specification().groupBy("PXBarrel/PXLayer").save()
0502   )
0503 )
0504 
0505 SiPixelPhase1TrackClustersOnTrackCorrChargeInner = SiPixelPhase1TrackClustersOnTrackCorrChargeOuter.clone(
0506   name = "chargeInner_corr",
0507   title = "Template Corrected Cluster Charge (OnTrack) inner ladders"
0508 )
0509 
0510 SiPixelPhase1TrackTemplateCorrOuter = SiPixelPhase1TrackClustersOnTrackCorrChargeOuter.clone(
0511   name = "templateOuter_corr",
0512   title = "Template Correction outer ladders",
0513   range_min = 0, range_max = 3, range_nbins = 150,
0514   xlabel = "A.U."
0515 )
0516 
0517 SiPixelPhase1TrackTemplateCorrInner = SiPixelPhase1TrackTemplateCorrOuter.clone(
0518   name = "templateInner_corr",
0519   title = "Template Correction inner ladders"
0520 )
0521 
0522 
0523 SiPixelPhase1TrackClustersOnTrackShapeOuter = DefaultHistoTrack.clone(
0524   topFolderName = "PixelPhase1/ClusterShape",
0525   name = "shapeFilterOuter",
0526   title = "Shape filter (OnTrack) Outer Ladders",
0527   range_min = 0, range_max = 2, range_nbins = 2,
0528   xlabel = "shapeFilter",
0529   specs = VPSet(
0530     Specification().groupBy("PXBarrel/PXLayer").save()
0531   )
0532 )
0533 
0534 SiPixelPhase1TrackClustersOnTrackShapeInner = SiPixelPhase1TrackClustersOnTrackShapeOuter.clone(
0535   name = "shapeFilterInner",
0536   title = "Shape filter (OnTrack) Inner Ladders",
0537 )
0538 
0539 # copy this in the enum
0540 SiPixelPhase1TrackClustersConf = cms.VPSet(
0541   SiPixelPhase1TrackClustersOnTrackCharge,
0542   SiPixelPhase1TrackClustersOnTrackCorrCharge,
0543   SiPixelPhase1TrackTemplateCorr,
0544   SiPixelPhase1TrackClustersOnTrackBigPixelCharge,
0545   SiPixelPhase1TrackClustersOnTrackNotBigPixelCharge,
0546   SiPixelPhase1TrackClustersOnTrackSize,
0547   SiPixelPhase1TrackClustersOnTrackShape,
0548   SiPixelPhase1TrackClustersOnTrackNClusters,
0549   SiPixelPhase1TrackClustersOnTrackPositionB,
0550   SiPixelPhase1TrackClustersOnTrackPositionF,
0551   SiPixelPhase1DigisHitmapOnTrack,
0552   SiPixelPhase1DigisNdigisOnTrack,
0553 
0554   SiPixelPhase1TrackClustersNTracks,
0555   SiPixelPhase1TrackClustersNTracksInVolume,
0556 
0557   SiPixelPhase1ClustersSizeVsEtaOnTrackOuter,
0558   SiPixelPhase1ClustersSizeVsEtaOnTrackInner,
0559   SiPixelPhase1TrackClustersOnTrackChargeOuter,
0560   SiPixelPhase1TrackClustersOnTrackChargeInner,
0561   SiPixelPhase1TrackClustersOnTrackCorrChargeOuter,
0562   SiPixelPhase1TrackClustersOnTrackCorrChargeInner,
0563   SiPixelPhase1TrackTemplateCorrOuter,
0564   SiPixelPhase1TrackTemplateCorrInner,
0565 
0566   SiPixelPhase1TrackClustersOnTrackShapeOuter,
0567   SiPixelPhase1TrackClustersOnTrackShapeInner,
0568 
0569   SiPixelPhase1TrackClustersOnTrackSizeXOuter,
0570   SiPixelPhase1TrackClustersOnTrackSizeXInner,
0571   SiPixelPhase1TrackClustersOnTrackSizeXF,
0572   SiPixelPhase1TrackClustersOnTrackSizeYOuter,
0573   SiPixelPhase1TrackClustersOnTrackSizeYInner,
0574   SiPixelPhase1TrackClustersOnTrackSizeYF,
0575 
0576   SiPixelPhase1TrackClustersOnTrackSizeXYOuter,
0577   SiPixelPhase1TrackClustersOnTrackSizeXYInner,
0578   SiPixelPhase1TrackClustersOnTrackSizeXYF,
0579   SiPixelPhase1ClustersChargeVsSizeOnTrack
0580 )
0581 
0582 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0583 SiPixelPhase1TrackClustersAnalyzer = DQMEDAnalyzer('SiPixelPhase1TrackClusters',
0584         clusters = cms.InputTag("siPixelClusters"),
0585         clusterShapeCache = cms.InputTag("siPixelClusterShapeCache"),
0586         tracks = cms.InputTag("generalTracks"),
0587         vertices = cms.InputTag("offlinePrimaryVertices"),
0588         histograms = SiPixelPhase1TrackClustersConf,
0589         geometry = SiPixelPhase1Geometry,
0590         triggerflags = trigger.SiPixelPhase1Triggers,
0591         VertexCut = cms.untracked.bool(True)
0592 )
0593 
0594 SiPixelPhase1TrackClustersHarvester = DQMEDHarvester("SiPixelPhase1Harvester",
0595         histograms = SiPixelPhase1TrackClustersConf,
0596         geometry = SiPixelPhase1Geometry
0597 )