41 #include "TPaveStats.h" 53 class SiStripThresholdTest :
public Histogram1D<SiStripThreshold, SINGLE_IOV> {
55 SiStripThresholdTest()
60 bool fill()
override {
61 auto tag = PlotBase::getTag<0>();
62 for (
auto const& iov :
tag.iovs) {
63 std::shared_ptr<SiStripThreshold>
payload = Base::fetchPayload(std::get<1>(iov));
68 ss <<
"Summary of strips threshold:" << std::endl;
70 payload->printSummary(
ss, &m_trackerTopo);
72 std::vector<uint32_t> detid;
88 class SiStripThresholdValueHigh :
public Histogram1D<SiStripThreshold, SINGLE_IOV> {
90 SiStripThresholdValueHigh()
92 "SiStrip High threshold values (cheched per APV)",
96 bool fill()
override {
97 auto tag = PlotBase::getTag<0>();
100 for (
auto const& iov :
tag.iovs) {
101 std::shared_ptr<SiStripThreshold>
payload = Base::fetchPayload(std::get<1>(iov));
103 std::vector<uint32_t> detid;
106 for (
const auto&
d : detid) {
110 int nAPVs = detInfo.getNumberOfApvsAndStripLength(
d).first;
112 for (
int it = 0; it < nAPVs; ++it) {
129 class SiStripThresholdValueLow :
public Histogram1D<SiStripThreshold, SINGLE_IOV> {
131 SiStripThresholdValueLow()
133 "SiStrip Low threshold values (cheched per APV)",
137 bool fill()
override {
138 auto tag = PlotBase::getTag<0>();
141 for (
auto const& iov :
tag.iovs) {
142 std::shared_ptr<SiStripThreshold>
payload = Base::fetchPayload(std::get<1>(iov));
144 std::vector<uint32_t> detid;
147 for (
const auto&
d : detid) {
151 int nAPVs = detInfo.getNumberOfApvsAndStripLength(
d).first;
153 for (
int it = 0; it < nAPVs; ++it) {
#define PAYLOAD_INSPECTOR_CLASS(CLASS_NAME)
SiStripDetInfo read(std::string filePath)
#define PAYLOAD_INSPECTOR_MODULE(PAYLOAD_TYPENAME)
std::pair< ContainerIterator, ContainerIterator > Range
TrackerTopology fromTrackerParametersXMLFile(const std::string &xmlFileName)
static constexpr char const *const kDefaultFile