Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce SiPixelDynamicInefficiency payload inspector #34457

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ class SiPixelDetInfoFileReader {
const std::vector<uint32_t>& getAllDetIds() const;
const std::pair<int, int>& getDetUnitDimensions(uint32_t detId) const;

constexpr static char const* const kPh0DefaultFile = "CalibTracker/SiPixelESProducers/data/PixelSkimmedGeometry.txt";
constexpr static char const* const kPh1DefaultFile =
"SLHCUpgradeSimulations/Geometry/data/PhaseI/PixelSkimmedGeometry_phase1.txt";

private:
std::ifstream inputFile_;
// std::string filePath_;
Expand Down
1 change: 1 addition & 0 deletions CondCore/SiPixelPlugins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The available inspectors are:
| `SiPixelQualityFromDbRcd` | `SiPixelQuality` | [SiPixelQuality_PayloadInspector.cc](https://github.com/cms-sw/cmssw/blob/master/CondCore/SiPixelPlugins/plugins/SiPixelQuality_PayloadInspector.cc) |
| `SiPixelStatusScenarioProbabilityRcd` | `SiPixelQualityProbabilities` | [SiPixelQualityProbabilities_PayloadInspector.cc](https://github.com/cms-sw/cmssw/blob/master/CondCore/SiPixelPlugins/plugins/SiPixelQualityProbabilities_PayloadInspector.cc) |
| `SiPixelStatusScenariosRcd` | `SiPixelFEDChannelContainer` | [SiPixelFEDChannelContainer_PayloadInspector.cc](https://github.com/cms-sw/cmssw/blob/master/CondCore/SiPixelPlugins/plugins/SiPixelFEDChannelContainer_PayloadInspector.cc) |
| `SiPixelDynamicInefficiencyRcd` | `SiPixelDynamicInefficiency` | [SiPixelDynamicInefficiency_PayloadInspector.cc](https://github.com/cms-sw/cmssw/blob/master/CondCore/SiPixelPlugins/plugins/SiPixelDynamicInefficiency_PayloadInspector.cc) |

Plots will be shown within the **cmsDbBrowser** [payload inspector](https://cms-conddb.cern.ch/cmsDbBrowser/payload_inspector/Prod) application.
In the `CondCore/SiPixelPlugins/test` directory a few bash scripts to inspect conditions from command line are available.
8 changes: 8 additions & 0 deletions CondCore/SiPixelPlugins/plugins/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@
<use name="DQM/TrackerRemapper"/>
</library>

<library file="SiPixelDynamicInefficiency_PayloadInspector.cc" name="SiPixelDynamicInefficiency_PayloadInspector">
<use name="CondCore/SiPixelPlugins"/>
<use name="CondCore/Utilities"/>
<use name="CondCore/CondDB"/>
<use name="DQM/TrackerRemapper"/>
<use name="CalibTracker/StandaloneTrackerTopology"/>
</library>

<library file="plugin.cc" name="CondCoreSiPixelPluginsPlugin">
<flags EDM_PLUGIN="1"/>
<use name="CondCore/ESSources"/>
Expand Down
Loading