ComPWA
Common Partial-Wave-Analysis Framework
RootDataIO.cpp File Reference
#include "RootDataIO.hpp"
#include "TChain.h"
#include "TClonesArray.h"
#include "TError.h"
#include "TFile.h"
#include "TLorentzVector.h"
#include "TParticle.h"
#include "Core/Exceptions.hpp"
#include "Core/Generator.hpp"
#include "Core/Kinematics.hpp"
#include "Core/Logging.hpp"
#include "Core/Properties.hpp"
+ Include dependency graph for RootDataIO.cpp:

Go to the source code of this file.

Namespaces

 ComPWA
 
 ComPWA::Data
 
 ComPWA::Data::Root
 Namespace with read/write functions for ROOT files.
 

Functions

std::vector< std::string > ComPWA::Data::Root::pidsToUniqueStrings (std::vector< pid > Pids)
 
std::vector< pid > ComPWA::Data::Root::uniqueStringsToPids (std::vector< std::string > UniqueStrings)
 
ComPWA::EventCollection ComPWA::Data::Root::readData (const std::string &InputFileName, const std::string &TreeName, long long NumberEventsToRead=-1)
 Create a vector of Events from a ROOT file. More...
 
void ComPWA::Data::Root::writeData (const EventCollection &OutputSample, const std::string &OutputFilePath, const std::string &TreeName, bool OverwriteFile=true)
 Write a vector of Events to a ROOT file. More...