ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
TrigGlobalEfficiencyCorrectionTool::ToolKey Struct Reference
Collaboration diagram for TrigGlobalEfficiencyCorrectionTool::ToolKey:

Public Member Functions

bool operator< (const ToolKey &rhs) const
 
bool operator== (const ToolKey &rhs) const
 
 ToolKey (std::size_t leg, std::size_t tag, unsigned runNumber)
 
 ToolKey (std::size_t leg, std::size_t tag, std::pair< unsigned, unsigned > bounds)
 
 ToolKey (std::size_t leg=0, std::size_t tag=0)
 

Public Attributes

std::size_t hash
 
std::pair< unsigned, unsigned > boundaries
 

Detailed Description

Definition at line 96 of file TrigGlobalEfficiencyCorrectionTool.h.

Constructor & Destructor Documentation

◆ ToolKey() [1/3]

TrigGlobalEfficiencyCorrectionTool::ToolKey::ToolKey ( std::size_t  leg,
std::size_t  tag,
unsigned  runNumber 
)
inline

◆ ToolKey() [2/3]

TrigGlobalEfficiencyCorrectionTool::ToolKey::ToolKey ( std::size_t  leg,
std::size_t  tag,
std::pair< unsigned, unsigned >  bounds 
)
inline

Definition at line 103 of file TrigGlobalEfficiencyCorrectionTool.h.

103 : hash(leg^tag), boundaries(bounds) {}

◆ ToolKey() [3/3]

TrigGlobalEfficiencyCorrectionTool::ToolKey::ToolKey ( std::size_t  leg = 0,
std::size_t  tag = 0 
)
inline

Definition at line 104 of file TrigGlobalEfficiencyCorrectionTool.h.

104 : hash(leg^tag), boundaries(0, 999999) {}

Member Function Documentation

◆ operator<()

bool TrigGlobalEfficiencyCorrectionTool::ToolKey::operator< ( const ToolKey rhs) const
inline

Definition at line 100 of file TrigGlobalEfficiencyCorrectionTool.h.

100 { return hash<rhs.hash || (hash==rhs.hash && boundaries.second<rhs.boundaries.first); }

◆ operator==()

bool TrigGlobalEfficiencyCorrectionTool::ToolKey::operator== ( const ToolKey rhs) const
inline

Definition at line 101 of file TrigGlobalEfficiencyCorrectionTool.h.

101 { return hash==rhs.hash && boundaries.second>=rhs.boundaries.first && rhs.boundaries.second>=boundaries.first; }

Member Data Documentation

◆ boundaries

std::pair<unsigned,unsigned> TrigGlobalEfficiencyCorrectionTool::ToolKey::boundaries

Definition at line 99 of file TrigGlobalEfficiencyCorrectionTool.h.

◆ hash

std::size_t TrigGlobalEfficiencyCorrectionTool::ToolKey::hash

Definition at line 98 of file TrigGlobalEfficiencyCorrectionTool.h.


The documentation for this struct was generated from the following file:
TrigGlobalEfficiencyCorrectionTool::ToolKey::hash
std::size_t hash
Definition: TrigGlobalEfficiencyCorrectionTool.h:98
TrigGlobalEfficiencyCorrectionTool::ToolKey::boundaries
std::pair< unsigned, unsigned > boundaries
Definition: TrigGlobalEfficiencyCorrectionTool.h:99
compute_lumi.leg
leg
Definition: compute_lumi.py:95
DeMoAtlasDataLoss.runNumber
string runNumber
Definition: DeMoAtlasDataLoss.py:64
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24