BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnTrigChannelConfig.h
Go to the documentation of this file.
1/**
2 * Class BmnTrigChannelConfig
3 * Trigger channel configuration (count reduction, time protection)
4 */
5
6#ifndef TRIGCHANNELCONFIG_H
7#define TRIGCHANNELCONFIG_H
8
9#include "TObject.h"
10
11struct BmnTrigChannelConfig : public TObject
12{
22
24 uint32_t after_protect_time;
26 uint32_t before_protect_time;
27 uint32_t delay;
28 bool reduction_en;
29 uint32_t reduction_factor;
30
31 void print()
32 {
33 printf(" after_prot en %4u\n", after_protect_en);
34 printf(" after_prot t %4u\n", after_protect_time);
35 printf("before_prot en %4u\n", before_protect_en);
36 printf("before_prot t %4u\n", before_protect_time);
37 printf(" delay %4u\n", delay);
38 printf(" reduction en %4u\n", reduction_en);
39 printf("reduct factor %4u\n", reduction_factor);
40 }
41
43};
44
45#endif /* TRIGCHANNELCONFIG_H */
#define ClassDef(name, id)
Class BmnTrigChannelConfig Trigger channel configuration (count reduction, time protection).