39 #include "TPaveStats.h" 48 class SiStripLatencyTest :
public Histogram1D<SiStripLatency, SINGLE_IOV> {
53 bool fill()
override {
54 auto tag = PlotBase::getTag<0>();
55 for (
auto const& iov :
tag.iovs) {
56 std::shared_ptr<SiStripLatency>
payload = Base::fetchPayload(std::get<1>(iov));
58 std::vector<SiStripLatency::Latency>
lat =
payload->allLatencyAndModes();
59 fillWithValue(
lat.size());
69 class SiStripLatencyMode :
public Histogram1D<SiStripLatency, SINGLE_IOV> {
73 bool fill()
override {
74 auto tag = PlotBase::getTag<0>();
75 for (
auto const& iov :
tag.iovs) {
76 std::shared_ptr<SiStripLatency>
payload = Base::fetchPayload(std::get<1>(iov));
78 std::vector<uint16_t> modes;
81 for (
const auto&
mode : modes) {
96 class SiStripLatencyModeHistory :
public HistoryPlot<SiStripLatency, uint16_t> {
101 uint16_t singlemode =
payload.singleMode();
109 class SiStripIsPeakModeHistory :
public HistoryPlot<SiStripLatency, int16_t> {
121 class SiStripLatencyNumbOfModeHistory :
public HistoryPlot<SiStripLatency, int> {
123 SiStripLatencyNumbOfModeHistory()
127 std::vector<uint16_t> modes;
#define PAYLOAD_INSPECTOR_CLASS(CLASS_NAME)
#define PAYLOAD_INSPECTOR_MODULE(PAYLOAD_TYPENAME)