Belle II Software development
ARICHHitRateCounter::TreeStruct Struct Reference

tree structure More...

#include <ARICHHitRateCounter.h>

Public Member Functions

void normalize ()
 normalize accumulated hits to single event
 

Public Attributes

float segmentRates [18] = {0}
 hit rates per HAPD [Hz] for 18 segments of arich
 
float averageRate = 0
 total detector average hit rate per HAPD [Hz]
 
int numEvents = 0
 number of events accumulated
 
bool valid = false
 status: true = rates valid
 

Detailed Description

tree structure

Definition at line 38 of file ARICHHitRateCounter.h.

Member Function Documentation

◆ normalize()

void normalize ( )
inline

normalize accumulated hits to single event

Definition at line 48 of file ARICHHitRateCounter.h.

49 {
50 if (numEvents == 0) return;
51 for (auto& segmentRate : segmentRates) segmentRate /= numEvents;
53 }
float segmentRates[18]
hit rates per HAPD [Hz] for 18 segments of arich
float averageRate
total detector average hit rate per HAPD [Hz]

Member Data Documentation

◆ averageRate

float averageRate = 0

total detector average hit rate per HAPD [Hz]

Definition at line 41 of file ARICHHitRateCounter.h.

◆ numEvents

int numEvents = 0

number of events accumulated

Definition at line 42 of file ARICHHitRateCounter.h.

◆ segmentRates

float segmentRates[18] = {0}

hit rates per HAPD [Hz] for 18 segments of arich

Definition at line 40 of file ARICHHitRateCounter.h.

◆ valid

bool valid = false

status: true = rates valid

Definition at line 43 of file ARICHHitRateCounter.h.


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