Belle II Software development
SVDHitRateCounter::TreeStruct Struct Reference

tree structure More...

#include <SVDHitRateCounter.h>

Public Member Functions

void normalize ()
 normalize accumulated hits to single event
 

Public Attributes

float layerAverageRates [4] = {0}
 layer average occupancy
 
float layerLadderAverageRates [4][16] = {{0}}
 [#layer][#ladder]
 
float layerSensorAverageRates [4][5] = {{0}}
 [#layer][#sensor]
 
float averageRate = 0
 total SVD average occupancy
 
float l3LadderSensorAverageRates [7][2] = {{0}}
 Layer 3 sensors [#ladder][#sensor].
 
int numEvents = 0
 number of events accumulated
 
bool valid = false
 status: true = rates valid
 

Detailed Description

tree structure

Definition at line 43 of file SVDHitRateCounter.h.

Member Function Documentation

◆ normalize()

void normalize ( )
inline

normalize accumulated hits to single event

Definition at line 55 of file SVDHitRateCounter.h.

56 {
57 if (numEvents == 0) return;
59 for (auto& rate : layerAverageRates) rate /= numEvents;
60 for (auto& row : layerLadderAverageRates) {
61 for (auto& rate : row) {
62 rate /= numEvents;
63 }
64 }
65 for (auto& row : layerSensorAverageRates) {
66 for (auto& rate : row) {
67 rate /= numEvents;
68 }
69 }
70 for (auto& row : l3LadderSensorAverageRates) {
71 for (auto& rate : row) {
72 rate /= numEvents;
73 }
74 }
75 }
float layerAverageRates[4]
layer average occupancy
float layerLadderAverageRates[4][16]
[#layer][#ladder]
float layerSensorAverageRates[4][5]
[#layer][#sensor]
float averageRate
total SVD average occupancy
float l3LadderSensorAverageRates[7][2]
Layer 3 sensors [#ladder][#sensor].

Member Data Documentation

◆ averageRate

float averageRate = 0

total SVD average occupancy

Definition at line 47 of file SVDHitRateCounter.h.

◆ l3LadderSensorAverageRates

float l3LadderSensorAverageRates[7][2] = {{0}}

Layer 3 sensors [#ladder][#sensor].

Definition at line 48 of file SVDHitRateCounter.h.

◆ layerAverageRates

float layerAverageRates[4] = {0}

layer average occupancy

Definition at line 44 of file SVDHitRateCounter.h.

◆ layerLadderAverageRates

float layerLadderAverageRates[4][16] = {{0}}

[#layer][#ladder]

Definition at line 45 of file SVDHitRateCounter.h.

◆ layerSensorAverageRates

float layerSensorAverageRates[4][5] = {{0}}

[#layer][#sensor]

Definition at line 46 of file SVDHitRateCounter.h.

◆ numEvents

int numEvents = 0

number of events accumulated

Definition at line 49 of file SVDHitRateCounter.h.

◆ valid

bool valid = false

status: true = rates valid

Definition at line 50 of file SVDHitRateCounter.h.


The documentation for this struct was generated from the following file: