ComPWA
Common Partial-Wave-Analysis Framework
|
Allows output of a data sample and an Intensity (and optionally its components) into a ROOT file via TTrees. More...
#include <RootPlotData.hpp>
Public Member Functions | |
RootPlotData (const Physics::ParticleStateTransitionKinematicsInfo &KinematicsInfo, const std::string &filename, const std::string &option="RECREATE") | |
void | createDirectory (std::string Name) |
void | writeData (const Data::DataSet &DataSample, std::string TreeName="data") |
void | writeIntensityWeightedPhspSample (const Data::DataSet &PhspSample, ComPWA::Intensity &Intensity, std::string TreeName="intensity_weighted_phspdata", std::map< std::string, std::shared_ptr< ComPWA::Intensity >> IntensityComponents={}) |
void | writeHitMissSample (const Data::DataSet &HitMissSample, std::string TreeName="hitmiss_data") |
Private Attributes | |
TFile | RootFile |
Allows output of a data sample and an Intensity (and optionally its components) into a ROOT file via TTrees.
See the appropriate write functions. The Intensity is evaluated using a phase space sample, which is re-weighted accordingly.
Definition at line 32 of file RootPlotData.hpp.
ComPWA::Tools::Plotting::RootPlotData::RootPlotData | ( | const Physics::ParticleStateTransitionKinematicsInfo & | KinematicsInfo, |
const std::string & | filename, | ||
const std::string & | option = "RECREATE" |
||
) |
Definition at line 20 of file RootPlotData.cpp.
void ComPWA::Tools::Plotting::RootPlotData::createDirectory | ( | std::string | Name | ) |
Definition at line 36 of file RootPlotData.cpp.
void ComPWA::Tools::Plotting::RootPlotData::writeData | ( | const Data::DataSet & | DataSample, |
std::string | TreeName = "data" |
||
) |
Definition at line 74 of file RootPlotData.cpp.
void ComPWA::Tools::Plotting::RootPlotData::writeHitMissSample | ( | const Data::DataSet & | HitMissSample, |
std::string | TreeName = "hitmiss_data" |
||
) |
Definition at line 145 of file RootPlotData.cpp.
void ComPWA::Tools::Plotting::RootPlotData::writeIntensityWeightedPhspSample | ( | const Data::DataSet & | PhspSample, |
ComPWA::Intensity & | Intensity, | ||
std::string | TreeName = "intensity_weighted_phspdata" , |
||
std::map< std::string, std::shared_ptr< ComPWA::Intensity >> | IntensityComponents = {} |
||
) |
Definition at line 79 of file RootPlotData.cpp.
|
private |
Definition at line 34 of file RootPlotData.hpp.