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 115 of file TrigGlobalEfficiencyCorrectionTool.h.

Constructor & Destructor Documentation

◆ ToolKey() [1/3]

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

Definition at line 128 of file TrigGlobalEfficiencyCorrectionTool.h.

◆ ToolKey() [2/3]

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

Definition at line 132 of file TrigGlobalEfficiencyCorrectionTool.h.

134  : 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 137 of file TrigGlobalEfficiencyCorrectionTool.h.

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

Member Function Documentation

◆ operator<()

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

Definition at line 118 of file TrigGlobalEfficiencyCorrectionTool.h.

118  {
119  return hash < rhs.hash ||
120  (hash == rhs.hash && boundaries.second < rhs.boundaries.first);
121  }

◆ operator==()

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

Definition at line 122 of file TrigGlobalEfficiencyCorrectionTool.h.

122  {
123  return hash == rhs.hash && boundaries.second >= rhs.boundaries.first &&
124  rhs.boundaries.second >= boundaries.first;
125  }

Member Data Documentation

◆ boundaries

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

Definition at line 117 of file TrigGlobalEfficiencyCorrectionTool.h.

◆ hash

std::size_t TrigGlobalEfficiencyCorrectionTool::ToolKey::hash

Definition at line 116 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:116
compute_lumi.leg
leg
Definition: compute_lumi.py:95
DeMoAtlasDataLoss.runNumber
string runNumber
Definition: DeMoAtlasDataLoss.py:64
TrigGlobalEfficiencyCorrectionTool::ToolKey::boundaries
std::pair< unsigned, unsigned > boundaries
Definition: TrigGlobalEfficiencyCorrectionTool.h:117
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:23