1 #ifndef __KVFAZIATRIGGER_H
2 #define __KVFAZIATRIGGER_H
6 #include <unordered_map>
#define ClassDef(name, id)
Base class for KaliVeda framework.
The trigger pattern for each FAZIA event.
bool IsTrigger(const std::string &tp) const
void AddTriggerPattern(const TString &name, uint16_t value)
bool IsTrigger(TriggerPattern tp) const
std::unordered_map< std::string, TriggerPattern > fTriggerPatterns
@ Mult2
M>=2 multiplicity trigger.
@ Mult1
Minimum bias M>=1 multiplicity trigger.
@ Mult1Downscale100
Downscaled (1/100) minimum bias M>=1 multiplicity trigger.
std::vector< std::string > GetTriggerPatterns() const
Returns the names of all trigger patterns which are known and set for the trigger.
std::map< TriggerPattern, uint16_t > fTriggerEnumToBitPattern
std::unordered_map< std::string, uint16_t > fTriggerNameToBitPattern
void Print(Option_t *="") const
Print defined trigger bit patterns with their meanings.
void SetTriggerPattern(uint16_t tp)
const char * Data() const