ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::Data Namespace Reference

Namespaces

 Ascii
 
 EvtGen
 
 Root
 Namespace with read/write functions for ROOT files.
 

Classes

struct  DataSet
 

Functions

ComPWA::EventCollection addIntensityWeights (std::shared_ptr< ComPWA::Intensity > Intensity, const EventCollection &DataSample, const ComPWA::Kinematics &Kinematics)
 
void resize (DataSet &set, size_t size)
 
double uniform (double random, double min, double max)
 
std::tuple< EventCollection, double > generateBunch (unsigned int EventBunchSize, const ComPWA::Kinematics &Kinematics, ComPWA::Intensity &Intensity, ComPWA::UniformRealNumberGenerator &RandomGenerator, double generationMaxValue, std::vector< ComPWA::Event >::const_iterator PhspStartIterator, std::vector< ComPWA::Event >::const_iterator PhspTrueStartIterator, bool InverseIntensityWeighting=false)
 
EventCollection generate (unsigned int NumberOfEvents, const ComPWA::Kinematics &Kinematics, const ComPWA::PhaseSpaceEventGenerator &Generator, ComPWA::Intensity &Intensity, ComPWA::UniformRealNumberGenerator &RandomGenerator)
 
EventCollection generate (unsigned int NumberOfEvents, const ComPWA::Kinematics &Kinematics, ComPWA::UniformRealNumberGenerator &RandomGenerator, ComPWA::Intensity &Intensity, const EventCollection &PhspSample, const EventCollection &PhspSampleTrue)
 
EventCollection generatePhsp (unsigned int NumberOfEvents, const ComPWA::PhaseSpaceEventGenerator &Generator, ComPWA::UniformRealNumberGenerator &RandomGenerator)
 
EventCollection generateImportanceSampledPhsp (unsigned int NumberOfEvents, const ComPWA::Kinematics &Kinematics, const ComPWA::PhaseSpaceEventGenerator &Generator, ComPWA::Intensity &Intensity, ComPWA::UniformRealNumberGenerator &RandomGenerator)
 
ComPWA::EventCollection generate (unsigned int NumberOfEvents, const ComPWA::Kinematics &Kinematics, ComPWA::UniformRealNumberGenerator &RandomGenerator, ComPWA::Intensity &Intensity, const EventCollection &PhspSample)
 

Function Documentation

◆ addIntensityWeights()

ComPWA::EventCollection ComPWA::Data::addIntensityWeights ( std::shared_ptr< ComPWA::Intensity Intensity,
const EventCollection DataSample,
const ComPWA::Kinematics Kinematics 
)

Definition at line 13 of file DataSet.cpp.

◆ generate() [1/3]

ComPWA::EventCollection ComPWA::Data::generate ( unsigned int  NumberOfEvents,
const ComPWA::Kinematics Kinematics,
ComPWA::UniformRealNumberGenerator RandomGenerator,
ComPWA::Intensity Intensity,
const EventCollection PhspSample 
)
inline

Definition at line 38 of file Generate.hpp.

◆ generate() [2/3]

ComPWA::EventCollection ComPWA::Data::generate ( unsigned int  NumberOfEvents,
const ComPWA::Kinematics Kinematics,
const ComPWA::PhaseSpaceEventGenerator Generator,
ComPWA::Intensity Intensity,
ComPWA::UniformRealNumberGenerator RandomGenerator 
)

Definition at line 95 of file Generate.cpp.

◆ generate() [3/3]

ComPWA::EventCollection ComPWA::Data::generate ( unsigned int  NumberOfEvents,
const ComPWA::Kinematics Kinematics,
ComPWA::UniformRealNumberGenerator RandomGenerator,
ComPWA::Intensity Intensity,
const EventCollection PhspSample,
const EventCollection PhspSampleTrue 
)

Definition at line 169 of file Generate.cpp.

◆ generateBunch()

std::tuple<EventCollection, double> ComPWA::Data::generateBunch ( unsigned int  EventBunchSize,
const ComPWA::Kinematics Kinematics,
ComPWA::Intensity Intensity,
ComPWA::UniformRealNumberGenerator RandomGenerator,
double  generationMaxValue,
std::vector< ComPWA::Event >::const_iterator  PhspStartIterator,
std::vector< ComPWA::Event >::const_iterator  PhspTrueStartIterator,
bool  InverseIntensityWeighting = false 
)

Definition at line 23 of file Generate.cpp.

◆ generateImportanceSampledPhsp()

ComPWA::EventCollection ComPWA::Data::generateImportanceSampledPhsp ( unsigned int  NumberOfEvents,
const ComPWA::Kinematics Kinematics,
const ComPWA::PhaseSpaceEventGenerator Generator,
ComPWA::Intensity Intensity,
ComPWA::UniformRealNumberGenerator RandomGenerator 
)

Definition at line 320 of file Generate.cpp.

◆ generatePhsp()

ComPWA::EventCollection ComPWA::Data::generatePhsp ( unsigned int  NumberOfEvents,
const ComPWA::PhaseSpaceEventGenerator Generator,
ComPWA::UniformRealNumberGenerator RandomGenerator 
)

Definition at line 285 of file Generate.cpp.

◆ resize()

void ComPWA::Data::resize ( DataSet set,
size_t  size 
)
inline

Definition at line 22 of file DataSet.hpp.

◆ uniform()

double ComPWA::Data::uniform ( double  random,
double  min,
double  max 
)
inline

Definition at line 18 of file Generate.cpp.