Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13404 from schneiml/dqm-tracker-residuals-improve…
…ments DQM TrackerMonitorTrack improvements (80X version)
- Loading branch information
Showing
11 changed files
with
203 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,94 +1,63 @@ | ||
### Purpose | ||
|
||
This code generates the `HitResiduals` and `NormalizedHitResiduals` histograms. | ||
This code generates the `HitResiduals` and `NormalizedHitResiduals` histograms for SiStip and SiPixel. The source file `MonitorTrackResiduals.cc` actually implements two modules (using a template parameter) from the same code, such that the SiStrip and SiPixel configurations can be handled independently. The disadvantage of this is that every track has to be handled twice (which might hurt performance). | ||
|
||
### Data displayed | ||
|
||
The data shown in the histograms is computed by the Alignment/OfflineValidation code. It is computed for SiPixel and SiStrip in x- and y-direction (resXprime, resYprime values), however for the strips only the x-residual is relevant. | ||
The data shown in the histograms is computed by the Alignment/OfflineValidation code. It is computed for SiPixel and SiStrip in x- and y-direction (resXprime, resYprime values), however for the strips only the x-residual is relevant. Simple cuts on pT and the significance of dxy are applied to only select good tracks. Additionally, a trigger can be applied. | ||
|
||
### Options | ||
|
||
* `MonitorTrackResiduals.Mod_On` setting this to `True` will generate plots for every module. By default, only one plot per layer and wheel/disk is generated. | ||
`MonitorTrackResiduals` (for SiStrip) and `SiPixelMonitorTrackResiduals` (for SiPixel) accept the same options. | ||
|
||
### Bugs | ||
|
||
* The plots for pixel disks appear hidden in the shell and half cylinder folders, even though they cover the full layer/disk. | ||
* `Mod_On` setting this to `True` will generate plots for every module. By default, only one plot per layer and wheel/disk is generated. | ||
* `Tracks` the sort of tracks to be used. (Note that `TrackerValidationVariables.cc` uses `trajcetoryInput` as well, but this should not affect this module.) | ||
* The usual parameters of `GenericTriggerEventFlag`. | ||
|
||
### Currently generated histograms | ||
|
||
* `Pixel/Barrel/Shell_mI/Layer_1/HitResiduals_BPIX__Layer__1` | ||
* `Pixel/Barrel/Shell_mI/Layer_1/HitResiduals_BPIX__Layer__1_Y` | ||
* `Pixel/Barrel/Shell_mI/Layer_2/HitResiduals_BPIX__Layer__2` | ||
* `Pixel/Barrel/Shell_mI/Layer_2/HitResiduals_BPIX__Layer__2_Y` | ||
* `Pixel/Barrel/Shell_mI/Layer_3/HitResiduals_BPIX__Layer__3` | ||
* `Pixel/Barrel/Shell_mI/Layer_3/HitResiduals_BPIX__Layer__3_Y` | ||
* `Pixel/Endcap/HalfCylinder_pI/Disk_1/HitResiduals_FPIX__wheel__1` | ||
* `Pixel/Endcap/HalfCylinder_pI/Disk_1/HitResiduals_FPIX__wheel__1_Y` | ||
* `Pixel/Endcap/HalfCylinder_pI/Disk_2/HitResiduals_FPIX__wheel__2` | ||
* `Pixel/Endcap/HalfCylinder_pI/Disk_2/HitResiduals_FPIX__wheel__2_Y` | ||
* `Pixel/Endcap/HalfCylinder_mI/Disk_1/HitResiduals_FPIX__wheel__1` | ||
* `Pixel/Endcap/HalfCylinder_mI/Disk_1/HitResiduals_FPIX__wheel__1_Y` | ||
* `Pixel/Endcap/HalfCylinder_mI/Disk_2/HitResiduals_FPIX__wheel__2` | ||
* `Pixel/Endcap/HalfCylinder_mI/Disk_2/HitResiduals_FPIX__wheel__2_Y` | ||
* `Pixel/Barrel/HitResidualsX_L1` | ||
* `Pixel/Barrel/HitResidualsX_L2` | ||
* `Pixel/Barrel/HitResidualsX_L3` | ||
* `Pixel/Barrel/HitResidualsY_L1` | ||
* `Pixel/Barrel/HitResidualsY_L2` | ||
* `Pixel/Barrel/HitResidualsY_L3` | ||
* `Pixel/Endcap/HitResidualsX_Dm1` | ||
* `Pixel/Endcap/HitResidualsX_Dm2` | ||
* `Pixel/Endcap/HitResidualsX_Dp1` | ||
* `Pixel/Endcap/HitResidualsX_Dp2` | ||
* `Pixel/Endcap/HitResidualsY_Dm1` | ||
* `Pixel/Endcap/HitResidualsY_Dm2` | ||
* `Pixel/Endcap/HitResidualsY_Dp1` | ||
* `Pixel/Endcap/HitResidualsY_Dp2` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_1/HitResiduals_TEC__wheel__1` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_2/HitResiduals_TEC__wheel__2` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_3/HitResiduals_TEC__wheel__3` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_4/HitResiduals_TEC__wheel__4` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_5/HitResiduals_TEC__wheel__5` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_6/HitResiduals_TEC__wheel__6` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_7/HitResiduals_TEC__wheel__7` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_8/HitResiduals_TEC__wheel__8` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_9/HitResiduals_TEC__wheel__9` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_1/HitResiduals_TEC__wheel__1` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_2/HitResiduals_TEC__wheel__2` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_3/HitResiduals_TEC__wheel__3` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_4/HitResiduals_TEC__wheel__4` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_5/HitResiduals_TEC__wheel__5` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_6/HitResiduals_TEC__wheel__6` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_7/HitResiduals_TEC__wheel__7` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_8/HitResiduals_TEC__wheel__8` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_9/HitResiduals_TEC__wheel__9` | ||
* `SiStrip/MechanicalView/TIB/layer_1/HitResiduals_TIB__Layer__1` | ||
* `SiStrip/MechanicalView/TIB/layer_1/HitResiduals_TIB__Layer__1_Y` | ||
* `SiStrip/MechanicalView/TIB/layer_2/HitResiduals_TIB__Layer__2` | ||
* `SiStrip/MechanicalView/TIB/layer_2/HitResiduals_TIB__Layer__2_Y` | ||
* `SiStrip/MechanicalView/TIB/layer_3/HitResiduals_TIB__Layer__3` | ||
* `SiStrip/MechanicalView/TIB/layer_3/HitResiduals_TIB__Layer__3_Y` | ||
* `SiStrip/MechanicalView/TIB/layer_4/HitResiduals_TIB__Layer__4` | ||
* `SiStrip/MechanicalView/TIB/layer_4/HitResiduals_TIB__Layer__4_Y` | ||
* `SiStrip/MechanicalView/TID/PLUS/wheel_1/HitResiduals_TID__wheel__1` | ||
* `SiStrip/MechanicalView/TID/PLUS/wheel_1/HitResiduals_TID__wheel__1_Y` | ||
* `SiStrip/MechanicalView/TID/PLUS/wheel_2/HitResiduals_TID__wheel__2` | ||
* `SiStrip/MechanicalView/TID/PLUS/wheel_2/HitResiduals_TID__wheel__2_Y` | ||
* `SiStrip/MechanicalView/TID/PLUS/wheel_3/HitResiduals_TID__wheel__3` | ||
* `SiStrip/MechanicalView/TID/PLUS/wheel_3/HitResiduals_TID__wheel__3_Y` | ||
* `SiStrip/MechanicalView/TOB/layer_1/HitResiduals_TOB__Layer__1` | ||
* `SiStrip/MechanicalView/TOB/layer_1/HitResiduals_TOB__Layer__1_Y` | ||
* `SiStrip/MechanicalView/TOB/layer_2/HitResiduals_TOB__Layer__2` | ||
* `SiStrip/MechanicalView/TOB/layer_2/HitResiduals_TOB__Layer__2_Y` | ||
* `SiStrip/MechanicalView/TOB/layer_3/HitResiduals_TOB__Layer__3` | ||
* `SiStrip/MechanicalView/TOB/layer_3/HitResiduals_TOB__Layer__3_Y` | ||
* `SiStrip/MechanicalView/TOB/layer_4/HitResiduals_TOB__Layer__4` | ||
* `SiStrip/MechanicalView/TOB/layer_4/HitResiduals_TOB__Layer__4_Y` | ||
* `SiStrip/MechanicalView/TOB/layer_5/HitResiduals_TOB__Layer__5` | ||
* `SiStrip/MechanicalView/TOB/layer_5/HitResiduals_TOB__Layer__5_Y` | ||
* `SiStrip/MechanicalView/TOB/layer_6/HitResiduals_TOB__Layer__6` | ||
* `SiStrip/MechanicalView/TOB/layer_6/HitResiduals_TOB__Layer__6_Y` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_1/HitResiduals_TEC__wheel__1` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_1/HitResiduals_TEC__wheel__1_Y` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_2/HitResiduals_TEC__wheel__2` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_2/HitResiduals_TEC__wheel__2_Y` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_3/HitResiduals_TEC__wheel__3` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_3/HitResiduals_TEC__wheel__3_Y` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_4/HitResiduals_TEC__wheel__4` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_4/HitResiduals_TEC__wheel__4_Y` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_5/HitResiduals_TEC__wheel__5` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_5/HitResiduals_TEC__wheel__5_Y` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_6/HitResiduals_TEC__wheel__6` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_6/HitResiduals_TEC__wheel__6_Y` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_7/HitResiduals_TEC__wheel__7` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_7/HitResiduals_TEC__wheel__7_Y` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_8/HitResiduals_TEC__wheel__8` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_8/HitResiduals_TEC__wheel__8_Y` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_9/HitResiduals_TEC__wheel__9` | ||
* `SiStrip/MechanicalView/TEC/PLUS/wheel_9/HitResiduals_TEC__wheel__9_Y` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_1/HitResiduals_TEC__wheel__1` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_1/HitResiduals_TEC__wheel__1_Y` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_2/HitResiduals_TEC__wheel__2` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_2/HitResiduals_TEC__wheel__2_Y` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_3/HitResiduals_TEC__wheel__3` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_3/HitResiduals_TEC__wheel__3_Y` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_4/HitResiduals_TEC__wheel__4` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_4/HitResiduals_TEC__wheel__4_Y` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_5/HitResiduals_TEC__wheel__5` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_5/HitResiduals_TEC__wheel__5_Y` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_6/HitResiduals_TEC__wheel__6` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_6/HitResiduals_TEC__wheel__6_Y` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_7/HitResiduals_TEC__wheel__7` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_7/HitResiduals_TEC__wheel__7_Y` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_8/HitResiduals_TEC__wheel__8` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_8/HitResiduals_TEC__wheel__8_Y` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_9/HitResiduals_TEC__wheel__9` | ||
* `SiStrip/MechanicalView/TEC/MINUS/wheel_9/HitResiduals_TEC__wheel__9_Y` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
DQM/TrackerMonitorTrack/python/SiPixelMonitorTrackResiduals_cfi.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# SiPixelMonitorTrackResiduals | ||
SiPixelMonitorTrackResiduals = cms.EDAnalyzer("SiPixelMonitorTrackResiduals", | ||
OutputMEsInRootFile = cms.bool(False), | ||
# should histogramms on module level be booked and filled? | ||
Mod_On = cms.bool(False), | ||
OutputFileName = cms.string('test_monitortracks.root'), | ||
# bining and range for absolute and normalized residual histogramms | ||
TH1ResModules = cms.PSet( | ||
xmin = cms.double(-0.05), # native unit in CMS is [cm], so these are 500um | ||
Nbinx = cms.int32(100), | ||
xmax = cms.double(0.05) | ||
), | ||
TH1NormResModules = cms.PSet( | ||
xmin = cms.double(-5.0), | ||
Nbinx = cms.int32(100), | ||
xmax = cms.double(5.0) | ||
), | ||
# input for Tracks and Trajectories, should be TrackRefitter | ||
# or similar | ||
Tracks = cms.InputTag("generalTracks"), | ||
trajectoryInput = cms.string("generalTracks"), | ||
# should all MEs be reset after each run? | ||
ResetAfterRun = cms.bool(True) | ||
) | ||
|
||
|
Oops, something went wrong.