ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
AllJetsGrouper Class Reference

#include <AllJetsGrouper.h>

Inheritance diagram for AllJetsGrouper:
Collaboration diagram for AllJetsGrouper:

Public Member Functions

 AllJetsGrouper ()
 
 AllJetsGrouper (const HypoJetCIter &b, const HypoJetCIter &e)
 
 AllJetsGrouper (const HypoJetVector &)
 
virtual HypoJetVector next () override
 
virtual std::string getName () const override
 
virtual std::string toString () const override
 

Private Attributes

HypoJetVector m_jets {}
 
bool m_done {false}
 

Detailed Description

Definition at line 10 of file AllJetsGrouper.h.

Constructor & Destructor Documentation

◆ AllJetsGrouper() [1/3]

AllJetsGrouper::AllJetsGrouper ( )

Definition at line 7 of file AllJetsGrouper.cxx.

7 {}

◆ AllJetsGrouper() [2/3]

AllJetsGrouper::AllJetsGrouper ( const HypoJetCIter b,
const HypoJetCIter e 
)

Definition at line 9 of file AllJetsGrouper.cxx.

10  : m_jets(b, e){
11 }

◆ AllJetsGrouper() [3/3]

AllJetsGrouper::AllJetsGrouper ( const HypoJetVector jets)

Definition at line 13 of file AllJetsGrouper.cxx.

13  : m_jets{jets}{
14 }

Member Function Documentation

◆ getName()

std::string AllJetsGrouper::getName ( ) const
overridevirtual

Implements IJetGrouper.

Definition at line 25 of file AllJetsGrouper.cxx.

25  {
26  return "AllJetsGrouper";
27 }

◆ next()

HypoJetVector AllJetsGrouper::next ( )
overridevirtual

Implements IJetGrouper.

Definition at line 18 of file AllJetsGrouper.cxx.

18  {
19  if (m_done) {return HypoJetVector{};}
20 
21  m_done = true;
22  return HypoJetVector{m_jets};
23 }

◆ toString()

std::string AllJetsGrouper::toString ( ) const
overridevirtual

Implements IJetGrouper.

Definition at line 29 of file AllJetsGrouper.cxx.

29  {
30  return "AllJetsGrouper - repack all input jets into vector of vectors, sole element is vector of all jets";
31 }

Member Data Documentation

◆ m_done

bool AllJetsGrouper::m_done {false}
private

Definition at line 22 of file AllJetsGrouper.h.

◆ m_jets

HypoJetVector AllJetsGrouper::m_jets {}
private

Definition at line 21 of file AllJetsGrouper.h.


The documentation for this class was generated from the following files:
AllJetsGrouper::m_done
bool m_done
Definition: AllJetsGrouper.h:22
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
AllJetsGrouper::m_jets
HypoJetVector m_jets
Definition: AllJetsGrouper.h:21
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24