Skip to content

Commit

Permalink
Merge pull request #34457 from mmusich/introduce_SiPixelDynamicIneffi…
Browse files Browse the repository at this point in the history
…ciency_Payload_Inspector

Introduce `SiPixelDynamicInefficiency` payload inspector
  • Loading branch information
cmsbuild authored Jul 15, 2021
2 parents 01d487d + fbece95 commit fce3630
Show file tree
Hide file tree
Showing 7 changed files with 494 additions and 8 deletions.
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

0 comments on commit fce3630

Please sign in to comment.