ATLAS Offline Software
Public Member Functions | Public Attributes | Friends | List of all members
PseudoJetContainer::ExtractorRange Struct Reference
Collaboration diagram for PseudoJetContainer::ExtractorRange:

Public Member Functions

 ExtractorRange (unsigned int lo, unsigned int hi, std::unique_ptr< const IConstituentExtractor > e)
 
 ExtractorRange (const ExtractorRange &other)
 
ExtractorRangeoperator= (ExtractorRange other)
 
ExtractorRange bump (int step) const
 

Public Attributes

int m_lo
 
int m_hi
 
std::unique_ptr< const IConstituentExtractorm_e {}
 

Friends

void swap (ExtractorRange &first, ExtractorRange &second)
 

Detailed Description

Definition at line 105 of file PseudoJetContainer.h.

Constructor & Destructor Documentation

◆ ExtractorRange() [1/2]

PseudoJetContainer::ExtractorRange::ExtractorRange ( unsigned int  lo,
unsigned int  hi,
std::unique_ptr< const IConstituentExtractor e 
)
inline

Definition at line 106 of file PseudoJetContainer.h.

108  :
109  m_lo(lo), m_hi(hi), m_e(std::move(e)){
110  }

◆ ExtractorRange() [2/2]

PseudoJetContainer::ExtractorRange::ExtractorRange ( const ExtractorRange other)
inline

Definition at line 112 of file PseudoJetContainer.h.

113  : m_lo(other.m_lo),
114  m_hi(other.m_hi),
115  m_e(other.m_e->clone()){
116  }

Member Function Documentation

◆ bump()

ExtractorRange PseudoJetContainer::ExtractorRange::bump ( int  step) const
inline

Definition at line 131 of file PseudoJetContainer.h.

131  {
132  return ExtractorRange(m_lo + step, m_hi + step, std::unique_ptr<const IConstituentExtractor>(m_e->clone()));
133  }

◆ operator=()

ExtractorRange& PseudoJetContainer::ExtractorRange::operator= ( ExtractorRange  other)
inline

Definition at line 126 of file PseudoJetContainer.h.

126  {
127  swap(*this, other);
128  return *this;
129  }

Friends And Related Function Documentation

◆ swap

void swap ( ExtractorRange first,
ExtractorRange second 
)
friend

Definition at line 118 of file PseudoJetContainer.h.

118  {
119  using std::swap;
120 
121  swap(first.m_lo, second.m_lo);
122  swap(first.m_hi, second.m_hi);
123  swap(first.m_e, second.m_e);
124  }

Member Data Documentation

◆ m_e

std::unique_ptr<const IConstituentExtractor> PseudoJetContainer::ExtractorRange::m_e {}

Definition at line 137 of file PseudoJetContainer.h.

◆ m_hi

int PseudoJetContainer::ExtractorRange::m_hi

Definition at line 136 of file PseudoJetContainer.h.

◆ m_lo

int PseudoJetContainer::ExtractorRange::m_lo

Definition at line 135 of file PseudoJetContainer.h.


The documentation for this struct was generated from the following file:
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
python.SystemOfUnits.second
int second
Definition: SystemOfUnits.py:120
PseudoJetContainer::ExtractorRange::m_e
std::unique_ptr< const IConstituentExtractor > m_e
Definition: PseudoJetContainer.h:137
PseudoJetContainer::ExtractorRange::swap
friend void swap(ExtractorRange &first, ExtractorRange &second)
Definition: PseudoJetContainer.h:118
PseudoJetContainer::ExtractorRange::m_hi
int m_hi
Definition: PseudoJetContainer.h:136
WriteCalibToCool.swap
swap
Definition: WriteCalibToCool.py:94
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
PseudoJetContainer::ExtractorRange::m_lo
int m_lo
Definition: PseudoJetContainer.h:135
DeMoScan.first
bool first
Definition: DeMoScan.py:536
LArCellBinning.step
step
Definition: LArCellBinning.py:158
PseudoJetContainer::ExtractorRange::ExtractorRange
ExtractorRange(unsigned int lo, unsigned int hi, std::unique_ptr< const IConstituentExtractor > e)
Definition: PseudoJetContainer.h:106