KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVFAZIATrigger.cpp
1#include "KVFAZIATrigger.h"
2#include <bitset>
3
5
6
7
9
10std::vector<std::string> KVFAZIATrigger::GetTriggerPatterns() const
11{
12 // Returns the names of all trigger patterns which are known and set for the trigger
13 std::vector<std::string> pats;
14 for (auto& p : fTriggerNameToBitPattern) {
15 pats.push_back(p.first);
16 }
17 return pats;
18}
19
20
21
24
26{
27 // Print defined trigger bit patterns with their meanings
28
29 std::cout << "Defined trigger patterns are:\n\n";
30 for (auto& p : fTriggerNameToBitPattern) {
31 std::cout << "\t" << p.first << " = 0b" << std::bitset<16>(p.second) << std::endl;
32 }
33}
34
35
36
const char Option_t
winID h TVirtualViewer3D TVirtualGLPainter p
The trigger pattern for each FAZIA event.
std::unordered_map< std::string, uint16_t > fTriggerNameToBitPattern
void Print(Option_t *="") const
Print defined trigger bit patterns with their meanings.
ClassImp(TPyArg)