![]() |
AliPhysics
4a7363b (4a7363b)
|
Decoded structure of a trigger string. More...
#include <AliEmcalTriggerStringDecoder.h>
Public Member Functions | |
Triggerinfo () | |
Triggerinfo (const std::string &triggerclass, const std::string &bc, const std::string &pf, const std::string &clust) | |
virtual | ~Triggerinfo () |
std::string | ExpandClassName () const |
Reconstruct trigger string from information in the Triggerinfo object. More... | |
bool | IsTriggerClass (const std::string &triggerclass) const |
Check if the trigger info corresponds to a certain trigger input class. More... | |
const std::string & | Triggerclass () const |
const std::string & | BunchCrossing () const |
const std::string & | PastFutureProtection () const |
const std::string & | Triggercluster () const |
Static Public Member Functions | |
static std::vector< PWG::EMCAL::Triggerinfo > | DecodeTriggerString (const std::string &triggerstring) |
Decoding trigger string. More... | |
Private Attributes | |
std::string | fTriggerClass |
Trigger class. More... | |
std::string | fBunchCrossing |
Bunch crossing type. More... | |
std::string | fPastFutureProtection |
Type of the past-future protection. More... | |
std::string | fTriggerCluster |
Trigger cluster. More... | |
Decoded structure of a trigger string.
A trigger class string consists of 4 characteristic information
For easy determinaton of the various information within a trigger string the struct provides access to the different information within the trigger string.
Definition at line 51 of file AliEmcalTriggerStringDecoder.h.
|
inline |
Definition at line 53 of file AliEmcalTriggerStringDecoder.h.
|
inline |
Definition at line 54 of file AliEmcalTriggerStringDecoder.h.
|
inlinevirtual |
Definition at line 57 of file AliEmcalTriggerStringDecoder.h.
|
inline |
Definition at line 75 of file AliEmcalTriggerStringDecoder.h.
|
static |
Decoding trigger string.
For easy access of the various components of a trigger string the trigger string is decoded into Tiggerinfo structs. Each entry in the struct corresponds to one trigger class present in the trigger string
triggerstring | Valid trigger class string |
Definition at line 43 of file AliEmcalTriggerStringDecoder.cxx.
Referenced by EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::FillLuminosity(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalRecalcPatchesRef::GetAcceptedTriggerClusters(), EmcalTriggerJets::AliAnalysisTaskEmcalJetEnergySpectrum::GetTriggerClusterIndices(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::IsUserEventSelected(), EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::Run(), Triggercluster(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerBase::TriggerSelection(), and EmcalTriggerJets::AliAnalysisTaskEmcalEG1Correlation::UserExec().
std::string Triggerinfo::ExpandClassName | ( | ) | const |
Reconstruct trigger string from information in the Triggerinfo object.
Definition at line 34 of file AliEmcalTriggerStringDecoder.cxx.
Referenced by ~Triggerinfo().
bool Triggerinfo::IsTriggerClass | ( | const std::string & | triggerclass | ) | const |
Check if the trigger info corresponds to a certain trigger input class.
triggerclass | Name of the trigger class without C |
Definition at line 39 of file AliEmcalTriggerStringDecoder.cxx.
Referenced by ~Triggerinfo().
|
inline |
Definition at line 76 of file AliEmcalTriggerStringDecoder.h.
|
inline |
Definition at line 74 of file AliEmcalTriggerStringDecoder.h.
|
inline |
Definition at line 77 of file AliEmcalTriggerStringDecoder.h.
|
private |
Bunch crossing type.
Definition at line 93 of file AliEmcalTriggerStringDecoder.h.
Referenced by BunchCrossing(), and ExpandClassName().
|
private |
Type of the past-future protection.
Definition at line 94 of file AliEmcalTriggerStringDecoder.h.
Referenced by ExpandClassName(), and PastFutureProtection().
|
private |
Trigger class.
Definition at line 92 of file AliEmcalTriggerStringDecoder.h.
Referenced by ExpandClassName(), IsTriggerClass(), and Triggerclass().
|
private |
Trigger cluster.
Definition at line 95 of file AliEmcalTriggerStringDecoder.h.
Referenced by ExpandClassName(), and Triggercluster().