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

#include <ParticleStateTransitionKinematicsInfo.hpp>

Public Member Functions

 ParticleStateTransitionKinematicsInfo (std::vector< pid > InitialState_, std::vector< pid > FinalState_, ComPWA::ParticleList ParticleList_, ComPWA::FourMomentum InitialStateP4_, std::vector< unsigned int > FinalStateEventPositionMapping_)
 
 ParticleStateTransitionKinematicsInfo (std::vector< pid > InitialState_, std::vector< pid > FinalState_, ComPWA::ParticleList ParticleList_, std::vector< unsigned int > FinalStateEventPositionMapping_)
 
unsigned int convertFinalStateIDToPositionIndex (unsigned int fs_id) const
 
std::vector< unsigned int > convertFinalStateIDToPositionIndex (const std::vector< unsigned int > &fs_ids) const
 
unsigned int convertPositionIndexToFinalStateID (unsigned int pos) const
 
std::vector< unsigned int > convertPositionIndexToFinalStateID (const std::vector< unsigned int > &pos) const
 
double calculateFinalStateIDMassSum (const std::vector< unsigned int > ids) const
 
std::vector< double > getFinalStateMasses () const
 
double getInitialStateInvariantMassSquared () const
 
ComPWA::FourMomentum getInitialStateFourMomentum () const
 
unsigned int getFinalStateParticleCount () const
 
std::map< unsigned int, std::string > getFinalStateIDToNameMapping () const
 
const std::vector< pid > & getFinalStatePIDs () const
 

Private Attributes

std::vector< pidInitialState
 
std::vector< pidFinalState
 
ComPWA::ParticleList ParticleList
 
ComPWA::FourMomentum InitialStateP4
 Four momentum of the initial particle reaction. More...
 
std::vector< unsigned int > FinalStateEventPositionMapping
 

Friends

std::ostream & operator<< (std::ostream &outstream, const ParticleStateTransitionKinematicsInfo &kininfo)
 

Detailed Description

Definition at line 18 of file ParticleStateTransitionKinematicsInfo.hpp.

+ Collaboration diagram for ComPWA::Physics::ParticleStateTransitionKinematicsInfo:

Constructor & Destructor Documentation

◆ ParticleStateTransitionKinematicsInfo() [1/2]

ComPWA::Physics::ParticleStateTransitionKinematicsInfo::ParticleStateTransitionKinematicsInfo ( std::vector< pid InitialState_,
std::vector< pid FinalState_,
ComPWA::ParticleList  ParticleList_,
ComPWA::FourMomentum  InitialStateP4_,
std::vector< unsigned int >  FinalStateEventPositionMapping_ 
)

Definition at line 10 of file ParticleStateTransitionKinematicsInfo.cpp.

◆ ParticleStateTransitionKinematicsInfo() [2/2]

ComPWA::Physics::ParticleStateTransitionKinematicsInfo::ParticleStateTransitionKinematicsInfo ( std::vector< pid InitialState_,
std::vector< pid FinalState_,
ComPWA::ParticleList  ParticleList_,
std::vector< unsigned int >  FinalStateEventPositionMapping_ 
)

Definition at line 27 of file ParticleStateTransitionKinematicsInfo.cpp.

Member Function Documentation

◆ calculateFinalStateIDMassSum()

double ComPWA::Physics::ParticleStateTransitionKinematicsInfo::calculateFinalStateIDMassSum ( const std::vector< unsigned int >  ids) const

Definition at line 83 of file ParticleStateTransitionKinematicsInfo.cpp.

◆ convertFinalStateIDToPositionIndex() [1/2]

unsigned int ComPWA::Physics::ParticleStateTransitionKinematicsInfo::convertFinalStateIDToPositionIndex ( unsigned int  fs_id) const

Definition at line 50 of file ParticleStateTransitionKinematicsInfo.cpp.

◆ convertFinalStateIDToPositionIndex() [2/2]

std::vector< unsigned int > ComPWA::Physics::ParticleStateTransitionKinematicsInfo::convertFinalStateIDToPositionIndex ( const std::vector< unsigned int > &  fs_ids) const

Definition at line 58 of file ParticleStateTransitionKinematicsInfo.cpp.

◆ convertPositionIndexToFinalStateID() [1/2]

unsigned int ComPWA::Physics::ParticleStateTransitionKinematicsInfo::convertPositionIndexToFinalStateID ( unsigned int  pos) const

Definition at line 69 of file ParticleStateTransitionKinematicsInfo.cpp.

◆ convertPositionIndexToFinalStateID() [2/2]

std::vector< unsigned int > ComPWA::Physics::ParticleStateTransitionKinematicsInfo::convertPositionIndexToFinalStateID ( const std::vector< unsigned int > &  pos) const

Definition at line 75 of file ParticleStateTransitionKinematicsInfo.cpp.

◆ getFinalStateIDToNameMapping()

std::map< unsigned int, std::string > ComPWA::Physics::ParticleStateTransitionKinematicsInfo::getFinalStateIDToNameMapping ( ) const

Definition at line 120 of file ParticleStateTransitionKinematicsInfo.cpp.

◆ getFinalStateMasses()

std::vector< double > ComPWA::Physics::ParticleStateTransitionKinematicsInfo::getFinalStateMasses ( ) const

Definition at line 94 of file ParticleStateTransitionKinematicsInfo.cpp.

◆ getFinalStateParticleCount()

unsigned int ComPWA::Physics::ParticleStateTransitionKinematicsInfo::getFinalStateParticleCount ( ) const

Definition at line 115 of file ParticleStateTransitionKinematicsInfo.cpp.

◆ getFinalStatePIDs()

const std::vector<pid>& ComPWA::Physics::ParticleStateTransitionKinematicsInfo::getFinalStatePIDs ( ) const
inline

Definition at line 54 of file ParticleStateTransitionKinematicsInfo.hpp.

◆ getInitialStateFourMomentum()

ComPWA::FourMomentum ComPWA::Physics::ParticleStateTransitionKinematicsInfo::getInitialStateFourMomentum ( ) const

Definition at line 110 of file ParticleStateTransitionKinematicsInfo.cpp.

◆ getInitialStateInvariantMassSquared()

double ComPWA::Physics::ParticleStateTransitionKinematicsInfo::getInitialStateInvariantMassSquared ( ) const

Definition at line 104 of file ParticleStateTransitionKinematicsInfo.cpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  outstream,
const ParticleStateTransitionKinematicsInfo kininfo 
)
friend

Definition at line 129 of file ParticleStateTransitionKinematicsInfo.cpp.

Member Data Documentation

◆ FinalState

std::vector<pid> ComPWA::Physics::ParticleStateTransitionKinematicsInfo::FinalState
private

Definition at line 20 of file ParticleStateTransitionKinematicsInfo.hpp.

◆ FinalStateEventPositionMapping

std::vector<unsigned int> ComPWA::Physics::ParticleStateTransitionKinematicsInfo::FinalStateEventPositionMapping
private

Definition at line 25 of file ParticleStateTransitionKinematicsInfo.hpp.

◆ InitialState

std::vector<pid> ComPWA::Physics::ParticleStateTransitionKinematicsInfo::InitialState
private

Definition at line 19 of file ParticleStateTransitionKinematicsInfo.hpp.

◆ InitialStateP4

ComPWA::FourMomentum ComPWA::Physics::ParticleStateTransitionKinematicsInfo::InitialStateP4
private

Four momentum of the initial particle reaction.

Definition at line 23 of file ParticleStateTransitionKinematicsInfo.hpp.

◆ ParticleList

ComPWA::ParticleList ComPWA::Physics::ParticleStateTransitionKinematicsInfo::ParticleList
private

Definition at line 21 of file ParticleStateTransitionKinematicsInfo.hpp.


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