ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::Physics::SubSystem Class Reference

Definition of a two-body decay node within a sequential decay tree. More...

#include <SubSystem.hpp>

Public Member Functions

 SubSystem (const std::vector< std::vector< unsigned int >> &FinalStates, const std::vector< unsigned int > &Recoil, const std::vector< unsigned int > &ParentRecoil)
 
virtual ~SubSystem ()=default
 
bool operator== (const SubSystem &b) const
 
virtual const std::vector< std::vector< unsigned int > > & getFinalStates () const
 
virtual const std::vector< unsigned int > & getRecoilState () const
 
virtual const std::vector< unsigned int > & getParentRecoilState () const
 

Private Attributes

std::vector< std::vector< unsigned int > > DecayProductFinalStates
 
std::vector< unsigned int > RecoilFinalState
 
std::vector< unsigned int > ParentRecoilFinalState
 

Friends

std::ostream & operator<< (std::ostream &stream, const SubSystem &s)
 

Detailed Description

Definition of a two-body decay node within a sequential decay tree.

Class contains lists for both final states of the two-body decay and a list for all recoiling particles. This information is needed to calculate invariant mass and angles at a two-body decay node.

Definition at line 31 of file SubSystem.hpp.

+ Collaboration diagram for ComPWA::Physics::SubSystem:

Constructor & Destructor Documentation

◆ SubSystem()

ComPWA::Physics::SubSystem::SubSystem ( const std::vector< std::vector< unsigned int >> &  FinalStates,
const std::vector< unsigned int > &  Recoil,
const std::vector< unsigned int > &  ParentRecoil 
)

Definition at line 10 of file SubSystem.cpp.

◆ ~SubSystem()

virtual ComPWA::Physics::SubSystem::~SubSystem ( )
virtualdefault

Member Function Documentation

◆ getFinalStates()

const std::vector< std::vector< unsigned int > > & ComPWA::Physics::SubSystem::getFinalStates ( ) const
virtual

Definition at line 48 of file SubSystem.cpp.

◆ getParentRecoilState()

const std::vector< unsigned int > & ComPWA::Physics::SubSystem::getParentRecoilState ( ) const
virtual

Definition at line 56 of file SubSystem.cpp.

◆ getRecoilState()

const std::vector< unsigned int > & ComPWA::Physics::SubSystem::getRecoilState ( ) const
virtual

Definition at line 52 of file SubSystem.cpp.

◆ operator==()

bool ComPWA::Physics::SubSystem::operator== ( const SubSystem b) const

Definition at line 38 of file SubSystem.cpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const SubSystem s 
)
friend

Definition at line 23 of file SubSystem.cpp.

Member Data Documentation

◆ DecayProductFinalStates

std::vector<std::vector<unsigned int> > ComPWA::Physics::SubSystem::DecayProductFinalStates
private

Definition at line 47 of file SubSystem.hpp.

◆ ParentRecoilFinalState

std::vector<unsigned int> ComPWA::Physics::SubSystem::ParentRecoilFinalState
private

Definition at line 49 of file SubSystem.hpp.

◆ RecoilFinalState

std::vector<unsigned int> ComPWA::Physics::SubSystem::RecoilFinalState
private

Definition at line 48 of file SubSystem.hpp.


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