AliPhysics  master (3d17d9d)
PWGJE::EMCALJetTasks::SubstructureTree::Subjets Class Reference

#include <AliAnalysisTaskJetDynamicalGrooming.h>

Public Member Functions

 Subjets ()
 
 Subjets (const Subjets &other)
 
Subjetsoperator= (Subjets other)
 
friend void::swap (Subjets &first, Subjets &second)
 
virtual ~Subjets ()
 
bool Clear ()
 Reset the properties for the next filling of the tree. More...
 
void AddSubjet (const unsigned short splittingNodeIndex, const bool partOfIterativeSplitting, const std::vector< unsigned short > &constituentIndices)
 
std::tuple< unsigned short, bool, const std::vector< unsigned short > > GetSubjet (int i) const
 
std::string toString () const
 
void Print (Option_t *opt="") const
 
std::ostream & Print (std::ostream &in) const
 

Protected Attributes

std::vector< unsigned short > fSplittingNodeIndex
 Index of the parent splitting node. More...
 
std::vector< bool > fPartOfIterativeSplitting
 True if the splitting is follow an iterative splitting. More...
 
std::vector< std::vector< unsigned short > > fConstituentIndices
 Constituent jet indices (ie. index by the stored jet constituents, not the global index). More...
 

Friends

std::ostream & operator<< (std::ostream &in, const Subjets &myTask)
 

Detailed Description

Definition at line 68 of file AliAnalysisTaskJetDynamicalGrooming.h.

Constructor & Destructor Documentation

PWGJE::EMCALJetTasks::SubstructureTree::Subjets::Subjets ( )

Subjets Default constructor

Definition at line 81 of file AliAnalysisTaskJetDynamicalGrooming.cxx.

PWGJE::EMCALJetTasks::SubstructureTree::Subjets::Subjets ( const Subjets other)

Copy constructor

Definition at line 92 of file AliAnalysisTaskJetDynamicalGrooming.cxx.

virtual PWGJE::EMCALJetTasks::SubstructureTree::Subjets::~Subjets ( )
inlinevirtual

Definition at line 77 of file AliAnalysisTaskJetDynamicalGrooming.h.

Member Function Documentation

void PWGJE::EMCALJetTasks::SubstructureTree::Subjets::AddSubjet ( const unsigned short  splittingNodeIndex,
const bool  partOfIterativeSplitting,
const std::vector< unsigned short > &  constituentIndices 
)
bool PWGJE::EMCALJetTasks::SubstructureTree::Subjets::Clear ( )

Reset the properties for the next filling of the tree.

Definition at line 110 of file AliAnalysisTaskJetDynamicalGrooming.cxx.

Referenced by PWGJE::EMCALJetTasks::SubstructureTree::JetSubstructureSplittings::Clear().

std::tuple< unsigned short, bool, const std::vector< unsigned short > > PWGJE::EMCALJetTasks::SubstructureTree::Subjets::GetSubjet ( int  i) const
Subjets & PWGJE::EMCALJetTasks::SubstructureTree::Subjets::operator= ( Subjets  other)

Assignment operator. Note that we pass by value, so a copy is created and it is fine to swap the values with the created object!

Definition at line 104 of file AliAnalysisTaskJetDynamicalGrooming.cxx.

void PWGJE::EMCALJetTasks::SubstructureTree::Subjets::Print ( Option_t opt = "") const

Print task information using the string representation provided by Subjets::toString

Parameters
[in]optUnused

Definition at line 172 of file AliAnalysisTaskJetDynamicalGrooming.cxx.

Referenced by operator<<().

std::ostream & PWGJE::EMCALJetTasks::SubstructureTree::Subjets::Print ( std::ostream &  in) const

Print task information on an output stream using the string representation provided by Subjets::toString. Used by operator<<

Parameters
inoutput stream stream
Returns
reference to the output stream

Definition at line 160 of file AliAnalysisTaskJetDynamicalGrooming.cxx.

std::string PWGJE::EMCALJetTasks::SubstructureTree::Subjets::toString ( ) const

Prints information about the task.

Returns
std::string containing information about the task.

Definition at line 140 of file AliAnalysisTaskJetDynamicalGrooming.cxx.

Referenced by Print().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  in,
const Subjets myTask 
)
friend

Subjets Implementation of the output stream operator for SubstructureTree::Subjets. Printing basic task information provided by function toString

Parameters
inoutput stream
myTaskTask which will be printed
Returns
Reference to the output stream

Definition at line 1677 of file AliAnalysisTaskJetDynamicalGrooming.cxx.

Member Data Documentation

std::vector<std::vector<unsigned short> > PWGJE::EMCALJetTasks::SubstructureTree::Subjets::fConstituentIndices
protected

Constituent jet indices (ie. index by the stored jet constituents, not the global index).

Definition at line 98 of file AliAnalysisTaskJetDynamicalGrooming.h.

Referenced by AddSubjet(), Clear(), GetSubjet(), Subjets(), swap(), and toString().

std::vector<bool> PWGJE::EMCALJetTasks::SubstructureTree::Subjets::fPartOfIterativeSplitting
protected

True if the splitting is follow an iterative splitting.

Definition at line 97 of file AliAnalysisTaskJetDynamicalGrooming.h.

Referenced by AddSubjet(), Clear(), GetSubjet(), Subjets(), swap(), and toString().

std::vector<unsigned short> PWGJE::EMCALJetTasks::SubstructureTree::Subjets::fSplittingNodeIndex
protected

Index of the parent splitting node.

Definition at line 96 of file AliAnalysisTaskJetDynamicalGrooming.h.

Referenced by AddSubjet(), Clear(), GetSubjet(), Subjets(), swap(), and toString().


The documentation for this class was generated from the following files: