ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
EnhancedBiasWeightCompAlg::EBChainInfo Class Reference

Store necessary information for weight computing for Enhanced Bias chain. More...

Collaboration diagram for EnhancedBiasWeightCompAlg::EBChainInfo:

Public Member Functions

 EBChainInfo (const HLT::Identifier &id)
 
std::string getName () const
 
TrigCompositeUtils::DecisionID getId () const
 
double getTotalPrescale () const
 
bool getIsRandom () const
 
bool getIsNoPS () const
 
bool getIsDisabled () const
 
void setTotalPrescale (const double &prescale)
 

Private Attributes

HLT::Identifier m_id
 HLTID of the chain. More...
 
double m_totalPrescale
 Value of total prescale L1 * HLT. More...
 

Detailed Description

Store necessary information for weight computing for Enhanced Bias chain.

Definition at line 44 of file EnhancedBiasWeightCompAlg.h.

Constructor & Destructor Documentation

◆ EBChainInfo()

EnhancedBiasWeightCompAlg::EBChainInfo::EBChainInfo ( const HLT::Identifier id)
inline

Definition at line 46 of file EnhancedBiasWeightCompAlg.h.

46 : m_id(id), m_totalPrescale(1.0) {}

Member Function Documentation

◆ getId()

TrigCompositeUtils::DecisionID EnhancedBiasWeightCompAlg::EBChainInfo::getId ( ) const
inline

Definition at line 49 of file EnhancedBiasWeightCompAlg.h.

49 {return m_id;}

◆ getIsDisabled()

bool EnhancedBiasWeightCompAlg::EBChainInfo::getIsDisabled ( ) const
inline

Definition at line 53 of file EnhancedBiasWeightCompAlg.h.

53 {return (m_totalPrescale <= 0);}

◆ getIsNoPS()

bool EnhancedBiasWeightCompAlg::EBChainInfo::getIsNoPS ( ) const
inline

Definition at line 52 of file EnhancedBiasWeightCompAlg.h.

52 {return (getName().find("noPS") != std::string::npos);}

◆ getIsRandom()

bool EnhancedBiasWeightCompAlg::EBChainInfo::getIsRandom ( ) const
inline

Definition at line 51 of file EnhancedBiasWeightCompAlg.h.

51 {return (getName().find("HLT_noalg_L1RD") != std::string::npos);}

◆ getName()

std::string EnhancedBiasWeightCompAlg::EBChainInfo::getName ( ) const
inline

Definition at line 48 of file EnhancedBiasWeightCompAlg.h.

48 {return m_id.name();}

◆ getTotalPrescale()

double EnhancedBiasWeightCompAlg::EBChainInfo::getTotalPrescale ( ) const
inline

Definition at line 50 of file EnhancedBiasWeightCompAlg.h.

50 {return m_totalPrescale;}

◆ setTotalPrescale()

void EnhancedBiasWeightCompAlg::EBChainInfo::setTotalPrescale ( const double &  prescale)
inline

Definition at line 55 of file EnhancedBiasWeightCompAlg.h.

55 {m_totalPrescale = prescale;}

Member Data Documentation

◆ m_id

HLT::Identifier EnhancedBiasWeightCompAlg::EBChainInfo::m_id
private

HLTID of the chain.

Definition at line 59 of file EnhancedBiasWeightCompAlg.h.

◆ m_totalPrescale

double EnhancedBiasWeightCompAlg::EBChainInfo::m_totalPrescale
private

Value of total prescale L1 * HLT.

Definition at line 62 of file EnhancedBiasWeightCompAlg.h.


The documentation for this class was generated from the following file:
EnhancedBiasWeightCompAlg::EBChainInfo::getName
std::string getName() const
Definition: EnhancedBiasWeightCompAlg.h:48
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
EnhancedBiasWeightCompAlg::EBChainInfo::m_id
HLT::Identifier m_id
HLTID of the chain.
Definition: EnhancedBiasWeightCompAlg.h:59
EnhancedBiasWeightCompAlg::EBChainInfo::m_totalPrescale
double m_totalPrescale
Value of total prescale L1 * HLT.
Definition: EnhancedBiasWeightCompAlg.h:62
HLT::Identifier::name
std::string name() const
reports human redable name if it is enabled or, empty string
Definition: HLTIdentifier.cxx:14