AliPhysics  master (3d17d9d)
PWG::EMCAL::Triggerinfo Class Reference

Decoded structure of a trigger string. More...

#include <AliEmcalTriggerStringDecoder.h>

Inheritance diagram for PWG::EMCAL::Triggerinfo:

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 (EMCAL_STRINGVIEW 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::TriggerinfoDecodeTriggerString (EMCAL_STRINGVIEW 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...
 

Detailed Description

Decoded structure of a trigger string.

A trigger class string consists of 4 characteristic information

  • Name of the trigger input
  • Bunch crossing type
  • Type of the past-future protection algorithm
  • Name of the trigger cluster

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 52 of file AliEmcalTriggerStringDecoder.h.

Constructor & Destructor Documentation

PWG::EMCAL::Triggerinfo::Triggerinfo ( )
inline

Definition at line 54 of file AliEmcalTriggerStringDecoder.h.

PWG::EMCAL::Triggerinfo::Triggerinfo ( const std::string &  triggerclass,
const std::string &  bc,
const std::string &  pf,
const std::string &  clust 
)
inline

Definition at line 55 of file AliEmcalTriggerStringDecoder.h.

virtual PWG::EMCAL::Triggerinfo::~Triggerinfo ( )
inlinevirtual

Definition at line 58 of file AliEmcalTriggerStringDecoder.h.

Member Function Documentation

const std::string& PWG::EMCAL::Triggerinfo::BunchCrossing ( ) const
inline

Definition at line 76 of file AliEmcalTriggerStringDecoder.h.

std::vector< Triggerinfo > Triggerinfo::DecodeTriggerString ( EMCAL_STRINGVIEW  triggerstring)
static
std::string Triggerinfo::ExpandClassName ( ) const

Reconstruct trigger string from information in the Triggerinfo object.

Returns
std::string Trigger class representation of the trigger info

Definition at line 34 of file AliEmcalTriggerStringDecoder.cxx.

Referenced by ~Triggerinfo().

bool Triggerinfo::IsTriggerClass ( EMCAL_STRINGVIEW  triggerclass) const

Check if the trigger info corresponds to a certain trigger input class.

Parameters
triggerclassName of the trigger class without C
Returns
true Trigger class matches
false Trigger class does not match

Definition at line 39 of file AliEmcalTriggerStringDecoder.cxx.

Referenced by ~Triggerinfo().

const std::string& PWG::EMCAL::Triggerinfo::PastFutureProtection ( ) const
inline

Definition at line 77 of file AliEmcalTriggerStringDecoder.h.

const std::string& PWG::EMCAL::Triggerinfo::Triggerclass ( ) const
inline

Definition at line 75 of file AliEmcalTriggerStringDecoder.h.

const std::string& PWG::EMCAL::Triggerinfo::Triggercluster ( ) const
inline

Definition at line 78 of file AliEmcalTriggerStringDecoder.h.

Member Data Documentation

std::string PWG::EMCAL::Triggerinfo::fBunchCrossing
private

Bunch crossing type.

Definition at line 94 of file AliEmcalTriggerStringDecoder.h.

Referenced by BunchCrossing(), and ExpandClassName().

std::string PWG::EMCAL::Triggerinfo::fPastFutureProtection
private

Type of the past-future protection.

Definition at line 95 of file AliEmcalTriggerStringDecoder.h.

Referenced by ExpandClassName(), and PastFutureProtection().

std::string PWG::EMCAL::Triggerinfo::fTriggerClass
private

Trigger class.

Definition at line 93 of file AliEmcalTriggerStringDecoder.h.

Referenced by ExpandClassName(), IsTriggerClass(), and Triggerclass().

std::string PWG::EMCAL::Triggerinfo::fTriggerCluster
private

Trigger cluster.

Definition at line 96 of file AliEmcalTriggerStringDecoder.h.

Referenced by ExpandClassName(), and Triggercluster().


The documentation for this class was generated from the following files: